Use of the Windows Key (as in Windows XP) on Linux?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.