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!