LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 12-08-2006, 01:41 PM   #1
Tralce
Member
 
Registered: Nov 2006
Location: Maine
Distribution: Debian, Ubuntu, Gentoo
Posts: 109

Rep: Reputation: 15
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?
 
Old 12-08-2006, 02:27 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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.
 
Old 12-08-2006, 02:27 PM   #3
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
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).
 
Old 12-08-2006, 02:41 PM   #4
Tralce
Member
 
Registered: Nov 2006
Location: Maine
Distribution: Debian, Ubuntu, Gentoo
Posts: 109

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox + Windows keyboard and menu/windows key ==> Any takers PGDubbin Linux - General 2 10-20-2014 09:10 PM
Cross Platform Key Logging on Linux & Windows WarlockofVirgo Linux - Security 3 08-31-2004 07:31 PM
How to bind Windows key combos and laptop Fn key MDesigner Linux - Newbie 12 08-15-2004 03:08 AM
How do I use my Windows button/key in Linux ... Fe98 Linux - Newbie 13 06-13-2004 05:32 PM
How to get Windows key working in Linux? Darin Linux - Newbie 5 02-28-2003 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration