Yakuake
Few years ago I felt in love with Yakuake terminal. It's probably because of two main things - at first it's the drop-down feature - you just hit a shortcut and terminal appears/hides. The second one is splitting the screen and seeing several terminals at once.Yakuake default Open/Retract shortcut is F12, but as I'm a web developer, I use F12 for browser developer toolbar. So for the terminal I started to use F9. (Yes I know that it interfere with debugger shortcut, but I got used to it ;)
Open/Retract shortcut stopped working
Recently I did a fresh install of Fedora 23 LXDE spin and after installation of Yakuake the default F12 wasn't working nor I wasn't able to assign my own global shortcut key (F9).When I opened the shortcuts settings, selected the global setting for the Open/Retract -> custom -> hit F9 it wasn't assigned. It just changed from "Input ..." to "None" always. I tried also another shortcut but no shortcut was assigned either.
Solution in Openbox window manager
After googling and finding nothing relevant I decided to try different approach.I had an idea that yakuake command could have a --drop-down parameter or something like that. I started with even more simple method - just tried to start yakuake command several times. And it worked just as I needed - first yakuake comand started Yakuake in the background, second run of the command opened the terminal and the third hid it, fourth opened it again .... awesome.
So the solution was easy as fedora lxde spin uses the openbox window manager.
Openbox uses simple xml file for configuring global shortcuts. I just added one keybinding for my need.
~.config/openbox/lxde-rc.xml:
Those settings are loaded during window manager startup therefore I logged out, logged in and tadaaa - problem solved ;)
<!-- Keybinding for yakuake dropdown -->
<keybind key="F9">
<action name="Execute">
<command>yakuake</command>
</action>
</keybind>
Those settings are loaded during window manager startup therefore I logged out, logged in and tadaaa - problem solved ;)
No comments:
Post a Comment