View Full Version : Media keys
p_quarles
February 2nd, 2008, 06:28 AM
I just switched my desktop to Lenny (have been using Etch on my home server for a while). Nearly everything went perfectly.
The one exception is my media keys. In Ubuntu, xev registered them as events like "X86vol_up" for the "increase volume" key. In Debian, however, they don't seem to work as smoothly. Attempting to use them for shortcuts within apps does nothing, and xev registers them as numeric keycodes.
Is there a package that would allow these keys to function?
mojoman
February 2nd, 2008, 02:11 PM
I just switched my desktop to Lenny (have been using Etch on my home server for a while). Nearly everything went perfectly.
The one exception is my media keys. In Ubuntu, xev registered them as events like "X86vol_up" for the "increase volume" key. In Debian, however, they don't seem to work as smoothly. Attempting to use them for shortcuts within apps does nothing, and xev registers them as numeric keycodes.
Is there a package that would allow these keys to function?
I set up my media keys in the desktop environment and window managers I got installed (KDE for my girlfriend and fluxbox for me). Works perfectly.
Whiffle
February 2nd, 2008, 02:14 PM
Xmodmap should be able to do that I should think, as long as they've got numeric keycodes.
p_quarles
February 3rd, 2008, 03:07 AM
Okay, I'll try playing with Xmodmap. I was just kind of hoping that since Ubuntu (=based on Lenny/Sid) recognized them out of the box, there was some sort of Debian package that enabled this.
Whiffle
February 3rd, 2008, 03:14 AM
From what I've seen, Ubuntu has *alot* of behind the scenes work done to make such things work. Just poke around in the /etc/acpi directory on an ubuntu system versus a standard Debian install. Thats where most of the magic happens (or so it seems). When I used Slackware I managed to sort of copy some of that functionality over but never really fully got it working (which is why I've got feisty on the laptop now...because *everything* works perfectly out of the box, except networkmanager).
p_quarles
February 3rd, 2008, 03:17 AM
Thanks, that's a good idea. I do still have Ubuntu on my laptop, so I'll have a peek at that directory there.
cknight
February 3rd, 2008, 04:22 AM
p_quarles, some window managers (e.g. fluxbox) allow keycodes to be used as keybindings. Could this give you the functionality you need?
p_quarles
February 3rd, 2008, 04:29 AM
p_quarles, some window managers (e.g. fluxbox) allow keycodes to be used as keybindings. Could this give you the functionality you need?
I did not know that. I'm using Fluxbox, so that should work just fine. Thanks for the tip.
cknight
February 3rd, 2008, 05:08 AM
I did not know that. I'm using Fluxbox, so that should work just fine. Thanks for the tip.
No problem. If you have any other Fluxbox keys questions, try here http://ubuntuforums.org/showthread.php?t=617812
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.