LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Use of the Windows Key (as in Windows XP) on Linux? (https://www.linuxquestions.org/questions/linux-general-1/use-of-the-windows-key-as-in-windows-xp-on-linux-508634/)

Tralce 12-08-2006 01:41 PM

Use of the Windows Key (as in Windows XP) on Linux?
 
Is it possible to configure X to allow for the use of the Windows Key as it would be used in Windows XP? For example, I'd like to be able to press it alone and have KDE's K menu pop up, or WinKey+D to show the desktop. Possible?

David the H. 12-08-2006 02:27 PM

Just go to the KDE control panel > Regional and Accessability > Keyboard Shortcuts and set up whatever combos you want. The winkey should be recognized just like any other key. Many individual apps can also have personally shortcuts defined in the same way.

It's a little more complicated if you want to make sure the key can be used in other environments. You have to use xmodmap to set up new keyboard mappings or somesuch. I'm not sure how all that works though.

chadl 12-08-2006 02:27 PM

At least in Gnome, going to System->Preferences->Keyboard Shortcuts allows you to use the "Linux" key for anything. I have it configured to lock my computer when I press it, but it could be assigned to any of the other options. The key assignment appears as "Super_L". If you selected the open applications menu item, and pressed the key, then you could make it open the menu. By default I am not sure if it does anything.

I am almost certain that the KDE keyboard configuration tool would allow you to do the same thing; although I don't frequently use KDE.

The configuration is dependent on your window manager, X does not really care about stuff like what keys you are pressing (it just sends the key presses off to another program).

Tralce 12-08-2006 02:41 PM

Quote:

Originally Posted by David the H.
Just go to the KDE control panel > Regional and Accessability > Keyboard Shortcuts and set up whatever combos you want. The winkey should be recognized just like any other key. Many individual apps can also have personally shortcuts defined in the same way.

It's a little more complicated if you want to make sure the key can be used in other environments. You have to use xmodmap to set up new keyboard mappings or somesuch. I'm not sure how all that works though.

Thanks. That did the job wonderfully.


All times are GMT -5. The time now is 04:40 PM.