[opensuse-kde] problem with the media key
Hi, My base system is opensuse 11.2 but I've made a "few" updates : - KDE4.4 - X11 from /repositories/X11%3a/XOrg/openSUSE_11.2/ - and kernel 2.6.33 I have very few problems with this. However one really annoying one is the media keys to play/pause, stop, etc which do not cause any action. This was working before the update(s) above. I can assign the MediaPlay custom key in amarok in the global shortcuts (i.e. when I click on "None" option and then use the "MediaPlay" key it is accepted. However either the application never receives the key or it ignores it. I tried other apps and had the same results. Using "xev" I can see that the key being returned is XF86AudioPlay. I've attached a small pyqt4 script which runs and shows the comparrison with the QT "Media" key which runs successfully on my Dell laptop. But still the apps do not recognise the key. Can anyone give me any hint how I can figure this out ? Thanks, CPH
Mandag den 15. marts 2010 17:29:07 skrev CP Hennessy:
However either the application never receives the key or it ignores it. I tried other apps and had the same results.
Using "xev" I can see that the key being returned is XF86AudioPlay. I've attached a small pyqt4 script which runs and shows the comparrison with the QT "Media" key which runs successfully on my Dell laptop. But still the apps do not recognise the key.
Can anyone give me any hint how I can figure this out ?
At least I can say that using Qt4.6.2 and KDE 4.4.1 on 11.2 from kde4:factory repo, the XF86AudioPlay key works fine for me after assigning it to the command 'amarok -t' in systemsettings -> Input actions. So I guess it's either a configuration issue, or a problem with your experimental X and kernel, which I don't have. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
Hi!
I can assign the MediaPlay custom key in amarok in the global shortcuts (i.e. when I click on "None" option and then use the "MediaPlay" key it is accepted.
However either the application never receives the key or it ignores it. I tried other apps and had the same results.
Random guess: Are these keys on a laptop? Because I can reproduce this with the keys on my laptop: I cannot test the MediaPlay key but the EMail and WWW key. I can assign both to a corespondent action, but this is never triggered. However using the EMail key from an external keyboard works. There is also a bug report for this (from someone else): http://bugzilla.novell.com/show_bug.cgi?id=586583 Christian -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Mon 15 Mar 2010 17:52:50 Christian Trippe wrote:
Hi!
I can assign the MediaPlay custom key in amarok in the global shortcuts (i.e. when I click on "None" option and then use the "MediaPlay" key it is accepted.
However either the application never receives the key or it ignores it. I tried other apps and had the same results.
Random guess: Are these keys on a laptop?
Because I can reproduce this with the keys on my laptop: I cannot test the MediaPlay key but the EMail and WWW key. I can assign both to a corespondent action, but this is never triggered. However using the EMail key from an external keyboard works.
There is also a bug report for this (from someone else): http://bugzilla.novell.com/show_bug.cgi?id=586583
Hi Christian, Thanks for the info. Yes it's a laptop : Dell XPS1330. I've remapped the play key and it now works ! $ xmodmap -e "keycode 172 = yen" and then assigned my new yen key to play music successfully ! You can use xev to key the keycode. CPH -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
On Mon 15 Mar 2010 22:16:01 CP Hennessy wrote:
On Mon 15 Mar 2010 17:52:50 Christian Trippe wrote:
Hi!
I can assign the MediaPlay custom key in amarok in the global shortcuts (i.e. when I click on "None" option and then use the "MediaPlay" key it is accepted.
However either the application never receives the key or it ignores it. I tried other apps and had the same results.
Random guess: Are these keys on a laptop?
Because I can reproduce this with the keys on my laptop: I cannot test the MediaPlay key but the EMail and WWW key. I can assign both to a corespondent action, but this is never triggered. However using the EMail key from an external keyboard works.
There is also a bug report for this (from someone else): http://bugzilla.novell.com/show_bug.cgi?id=586583
Hi Christian, Thanks for the info. Yes it's a laptop : Dell XPS1330. I've remapped the play key and it now works !
$ xmodmap -e "keycode 172 = yen"
and then assigned my new yen key to play music successfully !
You can use xev to key the keycode.
Weird. This worked, however when I reboot (or restarted the session) the assigment of the Yen key press to the Amarok media play action caused the "y" ( lowercase Y character) to not give me any input where expected, but not being interrupted as a Yen character either. CPH -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
participants (3)
-
Christian Trippe
-
CP Hennessy
-
Martin Schlander