Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-25-2009, 01:04 PM   #1
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 109Reputation: 109
Multimedia keys, kde 4.2.x

I just noticed that under -current64 that my volume keys on my multimedia keyboard actually work without xbindkeys, etc. Anyone know what is making that work and how I can add my other keys? So far, the volume ones are the only ones working without external apps. I have xbindkeys installed, but no .xbindkeysrc. Is it possible that it's working without the rc file?

Edit: Found out that the new X is likely the culprit. It is reporting the keys differently than on the old X. This is just from xbindkeys. E.g.:

For Play on Old X:
m:0x10 + c:162
On new X:
m:0x10 + c:172
Mod2 + XF86AudioPlay

Last edited by manwichmakesameal; 07-25-2009 at 01:25 PM. Reason: New evidence
Old 07-26-2009, 11:03 AM   #2
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
Xorg is in the process of moving away from the old xorg.conf configuration system to a dynamic one based on hal policies and other automatic techniques, and I believe it now uses the evdev driver for most input devices. My new xorg.conf on one of my systems contains only three active lines, in fact.

I also noticed that evdev generates different key codes than the older drivers. I couldn't tell you what is defining the actions bound to yours, but I'd assume it's kde, either through hotkeys or input actions. It probably has actions predefined for some of the more common multimedia keys, such as the sound controls.

If all the buttons are defined with keysyms (names like "xf86AudioMute", xev will show you) then you should be able to use them the same as any other key in your kde hotkey definitions and such, or you can always continue to use xbindkeys.

If any of them don't have keysyms (but do have keycodes), then you can use xmodmap to assign keysyms to them.

Last edited by David the H.; 07-26-2009 at 11:04 AM.
Old 07-26-2009, 12:40 PM   #3
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
You can also use the keyboard layout in the kde system settings to select the keyboard model. For example, I have selected the Logitech Media Elite keyboard and all my media keys work except for a couple.

I think you can specify the keyboard model directly in the xorg.conf file as well.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multimedia Keys r1d3r Linux - Laptop and Netbook 3 12-19-2008 10:12 PM
Configure multimedia keys in Slackware 12.2 and KDE El Nigromante Slackware 1 12-16-2008 07:16 PM
Getting multimedia keys working in FC9 KDE 4.1 dwmorton Linux - Laptop and Netbook 2 09-18-2008 09:01 PM
Multimedia keys killerbob Slackware 2 05-20-2005 09:21 PM
Multimedia Keys in KDE 3.2 GameboyHippo Linux - Software 2 12-15-2003 01:41 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration