You are not logged in.

#1 2010-08-26 16:35:14

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Media Keys Recognized Correctly Using Xev but pressing has no effect.

On g15 keyboard Xev maps the multimedia keys correctly
(KeyPress event, serial 35, synthetic NO, window 0x5600001,
    root 0x10c, subw 0x0, time 5432517, (160,-5), root:(1123,826),
    state 0x0, keycode 172 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
    XKeysymToKeycode returns keycode: 162
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
)
but Clementine doesn't react when the key is pressed.
I don't know what changes but rebooting can fixes / creates the problem randomly.

Offline

#2 2010-08-26 17:05:50

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

Re: Media Keys Recognized Correctly Using Xev but pressing has no effect.

Probably something to do with your DE or WM. Since you didn't give that particular information, not much to comment.


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

#3 2010-08-26 17:14:48

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: Media Keys Recognized Correctly Using Xev but pressing has no effect.

ngoonee wrote:

Probably something to do with your DE or WM. Since you didn't give that particular information, not much to comment.

Yup.


Although if the OP has a G15 keyboard, I don't know why they are messing with Xev-as the G15 packages handle setting the keyboard fine, at least under KDE anyway.

Offline

#4 2010-08-26 17:29:56

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: Media Keys Recognized Correctly Using Xev but pressing has no effect.

I have kde 4.5.0 , and I am not messing with xev merely checking that the keys are detected correctly.
I have  g15daemon , g15composer, g15macro, g15stats, libg15, lib15render installed.
The media keys are detected when setting them in the global shortcut for clementine, but pressing them has no effects (works on some reboots as i mentioned).

Offline

#5 2010-08-26 17:47:41

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: Media Keys Recognized Correctly Using Xev but pressing has no effect.

*vitali* wrote:

I have kde 4.5.0 , and I am not messing with xev merely checking that the keys are detected correctly.
I have  g15daemon , g15composer, g15macro, g15stats, libg15, lib15render installed.
The media keys are detected when setting them in the global shortcut for clementine, but pressing them has no effects (works on some reboots as i mentioned).

Hmmm....G15 media keys works out-of-the-box for Amarok.  I can experiment on my box once I'm through with work in a few hours.

Looking at the Clementine bugtracker-there's an open bug regarding multimedia keys on Win7 and Clementine already.  I'll play later-but I'm thinking this is something to post on their bug tracker.

Offline

#6 2010-08-26 18:26:48

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: Media Keys Recognized Correctly Using Xev but pressing has no effect.

It doesn't seem to be Clementine specific on my system. Installed Amarok, the keys don't work either. If it was a clementine bug wouldn't it work / not work with each Clementine restart rather than each system restart?/

Offline

#7 2010-08-26 21:26:54

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: Media Keys Recognized Correctly Using Xev but pressing has no effect.

Media keys don't work in banshee either.
Also the Volume UP / DOWN media keys change the system volume. (PrintScreen also works) so I don't think its khotkeys fault.

Offline

#8 2010-08-27 02:39:49

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: Media Keys Recognized Correctly Using Xev but pressing has no effect.

*vitali* wrote:

It doesn't seem to be Clementine specific on my system. Installed Amarok, the keys don't work either. If it was a clementine bug wouldn't it work / not work with each Clementine restart rather than each system restart?/

If they don't work in Amarok then something ain't configured right.

In Settings>Input Devices>Keyboard in the "Keyboard Model" field, does it read "Logitech | Logitech G15 extra keys via G15 daemon"?

You say you have the G15 utils installed.  Do you have G15daemon in your Daemons Array in rc.conf?

Offline

#9 2010-08-27 03:50:51

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: Media Keys Recognized Correctly Using Xev but pressing has no effect.

Yes the model is correct. Yes g15daemon is running, and in system startup. I am not sure I have g15 utils installed, I mentioned all packages I have installed with the keyword g15 in them. Xev shows that they are detected as I mentioned.

Offline

Board footer

Powered by FluxBB