KDE4 and the Win (windows) key
This will be my first post about KDE (KDE4). I just switched from Gnome3. Not because I do not like the layout, but because it is way too buggy for me. Yak! Anyway, I am going to try to get used to KDE. I tried before, but I never managed. I do not like to have all those settings around… and all those ways to change the layout of a window… and that it changes by accident if you click somewhere. Heck… I will try for now. The first issue I am finding myself tackling is the mapping of the windows key (Win key) to the start menu. I simply want to press that key, start typing, and hit enter when the right program is found. However, KDE4 does not allow us to directly map something to the windows key.</p> First we create a text file: ~/.kde/Autostart/wf13.sh Then we fill that file with:
xmodmap -e ‘keycode 133=F13’ Finally we make the file executable: chmod +x ~/.kde/Autostart/wf13.sh What we did is the following; we mapped the windows key to the F13 key. The F13 key can be mapped like a normal key. So, now we can start mapping this key, the normal way in KDE4:
- Right click on Kickoff (the KDE icon in the bottom left of your screen)
- Click “Application Launcher Settings”
- Select “Keyboard Shortcuts”
- Click the button and press your desired shortcut key combo (the windows key)
And that would be it. It works!
Max (not verified)
. August 12th, 2012
thank you! worked fine for me. one note: please add that you have to restart KDE (or the computer) after genterating the file, so the file in autostart was executed and F13 is available
murz (not verified)
. August 23rd, 2012
Thanks for the solition! It works well for showing and hiding! But when I try to use Win+D or Win+R, Kickoff is show/hide too with this action. You have same problem? How we can fix this?