LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-24-2007, 10:19 PM   #1
bburgy
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Kubuntu Linux
Posts: 38

Rep: Reputation: 15
Mac Volume Keys Don't Work in Kubuntu Edgy Eft


Hi all,

I am currently running the x86 distribution of Kubuntu Edgy Eft, and I am having trouble getting KMix to understand the volume keys on my Apple keyboard. When I attempt to setup the global shortcuts, it does not detect when I press either the volume up, down, or mute keys.

I don't have a Mac. Instead I am using it as an ordinary USB keyboard on a PC.

I've tried configuring X to use the correct keyboard layout. For the most part, this works. Granted, the "help" key serves as insert, and "clear" works as num-lock. All of this is fine, and if possible, I'd like to keep it that way.

The eject key works (doesn't eject my cdrom, but it does at least get detected by KMix in the configure global shortcut section), but the volume keys seem to not.

I tried running xev, and it appears the volume keys are detected when I press them. Here is the output:

KeyRelease event, serial 28, synthetic NO, window 0x1c00001,
root 0x76, subw 0x0, time 649829748, (-337,853), root1401,1062),
state 0x10, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

FocusOut event, serial 31, synthetic NO, window 0x1c00001,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 31, synthetic NO, window 0x1c00001,
mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 31, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0

KeyRelease event, serial 31, synthetic NO, window 0x1c00001,
root 0x76, subw 0x0, time 649830420, (-337,853), root1401,1062),
state 0x10, keycode 176 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

FocusOut event, serial 31, synthetic NO, window 0x1c00001,
mode NotifyNormal, detail NotifyNonlinear

VisibilityNotify event, serial 31, synthetic NO, window 0x1c00001,
state VisibilityFullyObscured

This is what I expect to have happen... the keys seem to work fine. Not sure what's going on with KMix though...

I've also configured the keyboard in xorg.conf:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "macintosh"
Option "XkbLayout" "macintosh_vndr/ch(en-altmeta)"
EndSection

That configuration, so I have learned, should provide functionality for the volume/eject keys, and swap the Alt and Apple keys (which it doesn't appear to do).

I have also setup in kcontrol that my keyboard is a PowerG5 keyboard, and then once again as a Macintosh keyboard. No luck there either.

Does any one have any suggestions?


Thanks!
 
Old 04-26-2007, 07:30 AM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
I'm not a KDE user and may not know the proper way how to work with DCOP and Co. You may call it dirty hack, but ... here's what I did: http://www.kde-forum.org/thread.php?threadid=15079
 
  


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
Ubuntu/Kubuntu Dapper/Edgy dosen't work after os installation Kanesoban Linux - Software 0 01-04-2007 12:48 PM
LXer: Kubuntu 6.10 (Edgy Eft) Step By Step Installation with Screenshots LXer Syndicated Linux News 0 12-21-2006 02:54 PM
Once more, Adept refuses to work properly on a Kubuntu Edgy Eft Laptop. supertunaman Ubuntu 3 12-02-2006 11:25 AM
LXer: First Look: Kubuntu Edgy Eft Beta LXer Syndicated Linux News 0 10-02-2006 11:33 AM
Will keyboard volume keys work while playing a CD? fcaraballo Slackware 3 11-29-2004 12:42 PM


All times are GMT -5. The time now is 05:22 AM.

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