Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 05-13-2005, 09:47 AM   #1
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Volume +/- Keys

I have an HP Pavillion ze1110 laptop and was trying to configure the volume buttons (all used with the Function key) when I ran into a few stumbling blocks:

1) I have no idea how to do this to begin with (I have long forgotten keymapping and never learned alsa mixer keymapping controls)
2) I'm using Fluxbox instead of KDE/Gnome
3) It's not a unique button but a combination of buttons to get each result (Mute, Up, Down).

Any ideas?
Old 05-13-2005, 12:02 PM   #2
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,382

Rep: Reputation: 91
Take a look at xbindkeys/xev. You can assign keys easily. It's up to you yo find which command controls alsa volume. Hope you'll share this with us.
Old 05-13-2005, 03:40 PM   #3
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
In general, this has become quite easy.... well at least in

Change your /etc/X11/xorg.conf or /etc/X11/XFree86.conf file...


Option "XkbModel" "<whatever>"

And change "<whatever>" to a particular keyboard model
for yours.. you can find a list in /etc/X11/xkb/rules under
$inetkbds = etc...

If you are using KDE, you can bring up the Show Mixer Window
and Right-Click on the volume bar to map and select Configure Shortcuts...
you'll see options for raising and lowering the volume in addition
to muting... just select a custom sequence and hit your button
to map it.

I think Gnome has something similar.. but I'm not sure.
Old 05-22-2005, 06:37 PM   #4
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,382

Rep: Reputation: 91
This is how i assigned two keys for volume up and down in .xbindkeyscr.scm:
(xbindkey '("c:176") "amixer set DAC 10+& amixer set DAC,1 10+&")
(xbindkey '("c:174") "amixer set DAC 10-& amixer set DAC,1 10-&")
I use a cordless numeric keypad as a remote control .


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
Volume Up/Down/Mute keys not working Blargity Linux - Laptop and Netbook 10 06-02-2005 11:56 AM
New keyboard with Volume keys, etc. vbguru12000 Debian 6 02-02-2005 11:13 AM
Volume control keys? mrurmil Linux - Laptop and Netbook 0 01-24-2005 10:32 PM
Volume control and internet keys donavan01 Linux - Laptop and Netbook 4 08-13-2004 09:10 AM
Adjusting how much volume jumps with volume keys vrillusions Linux - Laptop and Netbook 2 10-17-2003 10:11 PM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:19 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