You are not logged in.
Pages: 1
Hi,
I need to know why i don't have /usr/share/X11/XKeysymDB on my setup. I need it to configure hotkeys.
In fact i tried to use that configuration for my .Xmodmap :
keycode 164 = XF86AudioPlay
keycode 166 = XF86AudioStop
keycode 114 = XF86AudioLowerVolume
keycode 115 = XF86AudioRaiseVolume
keycode 165 = XF86AudioPrev
keycode 163 = XF86AudioNext
keycode 113 = XF86AudioMute
I found the keycodes with showkeys but after typing xmodmap ~/.Xmodmap, there is only the Stop button which works.
Thanks in advance !
Kaloos
EDIT : Solved by using xev to get the keycodes instead of showkeys. I don't know why but they were all wrong.
Last edited by Kaloos (2010-12-25 17:08:29)
Offline
Which package do you expect to have that file?
/usr/share/X11/XKeysymDB returns no results from http://arm.konnichi.com/find
Offline
I don't know. In this wiki page it says that special functions can be found in /usr/share/X11/XKeysymDB, which i don't have. And there is no explanation on how to get this file.
One more thing : In Qmmp, when i press on the stop button , Qmmp receives XF86AudioPlay even though i'm sure it's the key 166 which should be mapped to XF86AudioStop.
Last edited by Kaloos (2010-12-22 19:30:33)
Offline
Try this one http://cgit.freedesktop.org/xorg/lib/li … bd2a2b99d5
You have sort of an explanation why it isn't there anymore.
Last edited by karol (2010-12-22 19:38:16)
Offline
Thanks for your time, but it doesn't work.
I found something to tell me what hal events a program would receive if I pressed those buttons, and I get the right ones :
[alexb@Arch ~]$ lshal -m program
Start monitoring devicelist:
-------------------------------------------------
20:56:03.791: usb_device_1532_10b_noserial_if1_logicaldev_input condition ButtonPressed = play-pause
^@20:56:05.319: usb_device_1532_10b_noserial_if1_logicaldev_input condition ButtonPressed = stop-cd
20:56:06.431: usb_device_1532_10b_noserial_if1_logicaldev_input condition ButtonPressed = volume-down
^@20:56:06.983: usb_device_1532_10b_noserial_if1_logicaldev_input condition ButtonPressed = volume-up
^@20:56:07.751: usb_device_1532_10b_noserial_if1_logicaldev_input condition ButtonPressed = previous-song
^@20:56:08.343: usb_device_1532_10b_noserial_if1_logicaldev_input condition ButtonPressed = next-song
^@20:56:09.287: usb_device_1532_10b_noserial_if1_logicaldev_input condition ButtonPressed = mute
Now how do I get Qmmp to use these events ?
Offline
Pages: 1