You are not logged in.

#1 2009-08-21 09:40:46

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

How can I use the MS Windows Key in Linux

Hello!

I'm using KDE 4.3 and want to use the MS Windows Key to open the KDE start menu.
I tried to add the Windows Key by pressing as a "KDE Application Launcher" hotkey, but the window key wasn't accepted as a hotkey.

Is it possible to add this key as a hotkey?

Thanks for help!

Best regards,

Flasher

Offline

#2 2009-08-21 09:43:27

AngryKoala
Member
Registered: 2009-01-22
Posts: 197

Re: How can I use the MS Windows Key in Linux

Isnt it called Meta?

Offline

#3 2009-08-21 09:49:07

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Re: How can I use the MS Windows Key in Linux

During pressing the button it's called "Meta + ..." but when I stop pressing the windows key, the "Meta + ..." will be deleted. (It's not permanent)

Offline

#4 2009-08-21 09:53:39

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: How can I use the MS Windows Key in Linux

Its a modifier key, so you can't use it alone. Just like Ctrl, Alt, and Shift.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2009-08-21 09:55:51

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: How can I use the MS Windows Key in Linux

How about xmodmap?


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#6 2009-08-21 10:18:57

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Re: How can I use the MS Windows Key in Linux

@ s3kt0r

I checked this. The keycode ist 125.
I created a file ~./Xmodmap with "keycode 125 = e". "e" for testing issues.

After creating:
xmodmap ~/.Xmodmap

But when I'm pressing the windows key, no "e" is printed.

Offline

#7 2009-08-21 10:29:21

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: How can I use the MS Windows Key in Linux

I have the following line in my .xinitrc:

/usr/bin/xmodmap -e "keycode 133 = F30" &

...where keycode 133 is my win key. I assign it to F30 (it can be any number besides 1-12, I guess), and then it's just a matter of configuring escape key (in your case, it'll be kde start menu) to F30.


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

#8 2009-08-21 10:35:09

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Re: How can I use the MS Windows Key in Linux

@ s3kt0r

It works! Thanks for your help smile

Offline

#9 2009-08-21 10:39:28

s3kt0r
Member
Registered: 2009-01-20
Posts: 208

Re: How can I use the MS Windows Key in Linux

No problem, glad I could help out.


box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle

Offline

Board footer

Powered by FluxBB