View previous topic :: View next topic |
Author |
Message |
vinky Apprentice
Joined: 24 Feb 2005 Posts: 214 Location: Sweden
|
Posted: Sat Mar 11, 2006 3:16 pm Post subject: Dell Multmediakeyboard in KDE |
|
|
Does anyone have the multimediakeys on the included keyboard with dimension 8400 working under KDE?
I need help with them. Have searched this forum the wiki on google but all solutions I have found doesnt work for me
I have mapped the keys with help of xev, but when I try to assign the keys to functions in Khotkeys it doesnt work
The keys work in xmms with the itouch-plugin, but I need them systemwide. Anyone who can help or can lead me in the right diretion?
/home/fredric/.Xmodmap
Code: | keycode 160 = XF86AudioMute
keycode 162 = XF86AudioPlay
keycode 178 = XF86WWW
keycode 236 = XF86Mail
keycode 161 = XF86Calculater
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 178 = XF86HomePage
keycode 234 = XF86Back
keycode 233 = XF86Forward
keycode 232 = XF86Stop
keycode 160 = XF86Reload
keycode 235 = XF86MyComputer |
/home/fredric/.xprofile
Code: | /usr/bin/xmodmap /etc/X11/xinit/.Xmodmap (this .Xmodmap has the same content as the one above)
|
/home/fredric/.xsession
Code: | /usr/X11R6/bin/xmodmap /home/fredric/.Xmodmap |
|
|
Back to top |
|
|
vinky Apprentice
Joined: 24 Feb 2005 Posts: 214 Location: Sweden
|
Posted: Sun Mar 19, 2006 8:56 pm Post subject: |
|
|
I´ve managed to get the keys working sometimes, they work under gnome
it seems like if kde doesnt load my xmodmap, and when i do it maunally and Im able to assign actions it doesnt work when pressing those buttons
xev shows that they are mapped to symbols(? eg XF86AudioMute) |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2513 Location: Silver City, NM
|
Posted: Sun Mar 19, 2006 9:17 pm Post subject: |
|
|
My xmodmap stopped working under KDE at some point.
I was able to get my media keys working under KDE by disabling kmilo (under KDE Components -> Service Manager) and then creating my own entries under KHotKeys (under Regional & Accessibility in the Control Center).
For example, I made a "Volume Control" group with an action named "Volume Up" linked to the key XF86AudioRaiseVolume (which got inserted automatically by just increasing my volume control) I then linked it to the command/url:
/usr/bin/amixer -q sset Master 1+
There are other mixers and commands that work just as well. There may be other and better ways to get things to work, this is what I did that finally worked for me. |
|
Back to top |
|
|
vinky Apprentice
Joined: 24 Feb 2005 Posts: 214 Location: Sweden
|
Posted: Mon Mar 20, 2006 2:57 pm Post subject: |
|
|
I have done exactly as you did, but still it doesnt work, xmodmap doesnt load, and somehow xmms now change its internal and the pcm-volume by pressing VolumeRaise, when its plugin is enabled
I have tried to set lower/raise-volume in kamix, but that doesnt work either
It would be much easier if I just could insert the keycode instead of the symbols
I dont understand why kde has such problem with this,while it in gnome works almost out of the box
I also get a weird output of xev:
Code: | KeyRelease event, serial 31, synthetic NO, window 0x3200001,
root 0x46, subw 0x3200002, time 1394043, (18,14), root:(1116,810),
state 0x2010, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XKeysymToKeycode returns keycode: 165
XLookupString gives 0 bytes:
| Its says 174 and then return 165????
Is that normal or is that some part of my problem?
Vinky |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|