LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
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).

Notices

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

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, 11:02 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
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, 02:40 PM   #3
cjcox
Member
 
Registered: Jun 2004
Posts: 305

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

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

find....

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, 05:37 PM   #4
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

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


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


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