Xfce Forum

Sub domains
 

You are not logged in.

#1 2007-04-04 21:54:46

flowerkick
Member
Registered: 2007-04-04
Posts: 5

Super key does not work

Hi,

I'm using xfce with beryl under Gentoo. It works great, but my super key (the windows key) does not work. I read in the FAQ, that I should update gtk+ to at least version 2.10.0. My installed gtk+ versions are 2.10.9 AND 1.2.10-r12 .  First I thought there could be some conflict between both versions, so I removed version 1.2.10-r12. But afterward the super key still does not work.

Does anyone here has some clues, what's the problem and how to solve it?

Thanks in advance
Marc

Offline

#2 2007-04-05 02:13:13

Wapush
Member
Registered: 2006-12-14
Posts: 140

Re: Super key does not work

Hi

You can use xev to see detail about your mouse and keyboard events.

To configure your "windows key" :
xmodmap -e 'keycode 115 = Super_L'  --> for the left "windows key"
xmodmap -e 'keycode 116 = Super_R'  --> for the rigth "windows key"

I hope that that will help you.  :oops:

Sorry for my english ! smile

Offline

#3 2007-04-05 06:48:40

flowerkick
Member
Registered: 2007-04-04
Posts: 5

Re: Super key does not work

Wapush wrote:

Hi

You can use xev to see detail about your mouse and keyboard events.

OK, I got this ...

KeyPress event, serial 29, synthetic NO, window 0x1800001,
    root 0x154, subw 0x0, time 3229196747, (555,429), root:(565,454),
    state 0x10, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1800001,
    root 0x154, subw 0x0, time 3229196859, (555,429), root:(565,454),
    state 0x10, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x1800001,
    root 0x154, subw 0x0, time 3229197526, (555,429), root:(565,454),
    state 0x10, keycode 116 (keysym 0xffec, Super_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1800001,
    root 0x154, subw 0x0, time 3229197663, (555,429), root:(565,454),
    state 0x10, keycode 116 (keysym 0xffec, Super_R), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Wapush wrote:

To configure your "windows key" :
xmodmap -e 'keycode 115 = Super_L'  --> for the left "windows key"
xmodmap -e 'keycode 116 = Super_R'  --> for the rigth "windows key"

... so I think, the keycodes are configured like they should.

But when I want use the super key for some beryl effects, the key is not recognized.

I want to check, if the problem is one of beryl, so I want to configure in xfce a short cut which uses the super key. How can I do it?

Thanks for any help.

Marc

Offline

#4 2007-04-05 06:55:43

flowerkick
Member
Registered: 2007-04-04
Posts: 5

Re: Super key does not work

flowerkick wrote:

I want to check, if the problem is one of beryl, so I want to configure in xfce a short cut which uses the super key. How can I do it?

OK, found out for myself. I tried to set the key code "super + f" to start firefox, but xfce did not recognize the super key, so I got only "f" for starting firefox. Therefore I think the problem is connected to xfce and not to beryl (I switched beryl of while I tested this).

Any ideas anyone?

Marc

Offline

#5 2007-04-05 16:20:09

Wapush
Member
Registered: 2006-12-14
Posts: 140

Re: Super key does not work

I tried to set the key code "super + f" to start firefox, but xfce did not recognize the super key, so I got only "f" for starting firefox.

I have the same behavior with the Super key in the xfce keyboard settings and beryl, but i have GTK 2.8.2 under Debian Etch.

You can manually edit the config file  ~/.config/xfce4/shortcuts/your-user-name.xml and add a line like this one(exemple for firefox):

<shortcut command="firefox" keys="Super+f"/>

With beryl, rather than grab the Super key, I also add it manually. For exemple:

<Super>F5
<Super>l

Offline

#6 2007-04-07 14:57:47

flowerkick
Member
Registered: 2007-04-04
Posts: 5

Re: Super key does not work

Wapush wrote:

With beryl, rather than grab the Super key, I also add it manually. For exemple:

<Super>F5
<Super>l

In which file should I place this? The shortcuts file? And what does it do? Switch the Super key to F5?

Thanks
Marc

Offline

#7 2007-04-09 20:12:02

Wapush
Member
Registered: 2006-12-14
Posts: 140

Re: Super key does not work

In Beryl Settings Menager :
1ad509543c78785fc7ae116cc340t.jpg

Offline

#8 2007-04-10 12:09:36

flowerkick
Member
Registered: 2007-04-04
Posts: 5

Re: Super key does not work

Hi,

OK, there went something wrong in the discussion. My problem is not to set shortcuts, but that I cannot use the super key. I set manually a shortcut to start firefox with "Super_L+f". But when I press both keys, nothing happens. The same is with other beryl specific shortcuts, e.g. the "The Water Effect" from http://www.beryl-project.org/userguide.php. It just does not work.

Any ideas?
Marc

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 546.12 KiB (Peak: 546.96 KiB) ]