LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

Rep: Reputation: 100Reputation: 100
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:
Code:
m:0x10 + c:162
On new X:
Code:
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: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949
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
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Rep: Reputation: 39
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.
 
  


Reply


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


All times are GMT -5. The time now is 11:29 PM.

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