SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-03-27 14:53:13

configX
Member
Registered: 2010-03-24
Posts: 25

Binding Dell Inspiron Laptop Volume Keys (hotkeys)

I know that this has already been accomplished here in the CB forums. But, I thought I would show the newbie way of doing this just in case other newbies like myself benefit from it. This will probably work with other computers too.

The following instructions are for CB Xfce flavor.

1. Aumix should be installed but if not, install it.

2. Go to Settings > Keyboard and click on the 'Application Shortcuts' tab

3. Click on the 'Add' button

4. Enter Command: aumix -v -5 and click on OK

5. For the Shorcut, simply press your volume down button. It should map to 'XF86AudioLowerVolume'

6. Do the same for your volume up button (command is aumix -v +5)

7. If you have a mute button the command would be 'mute'

Last edited by configX (2010-03-28 13:43:36)

Offline

Help fund CrunchBang, donate to the project!

#2 2010-03-27 20:53:45

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,021

Re: Binding Dell Inspiron Laptop Volume Keys (hotkeys)

`amixer set Master 5+` does the same thing if you don't have aumix installed, although the exact syntax appears to vary depending on the base distro and/or sound hardware.  The above example works with a Dell Mini.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#3 2010-03-27 20:55:29

configX
Member
Registered: 2010-03-24
Posts: 25

Re: Binding Dell Inspiron Laptop Volume Keys (hotkeys)

pvsage wrote:

`amixer set Master 5+` does the same thing if you don't have aumix installed, although the exact syntax appears to vary depending on the base distro and/or sound hardware.  The above example works with a Dell Mini.

Nice! That's good to know. Thanks.

Offline

#4 2010-03-28 11:06:08

benj1
Wiki Wizard
From: Yorkshire, England
Registered: 2009-09-05
Posts: 1,084

Re: Binding Dell Inspiron Laptop Volume Keys (hotkeys)

you could also use xev to get the keybindings

the wiki page is here http://crunchbanglinux.org/wiki/configuring_keybindings


- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Offline

#5 2010-03-28 13:38:53

configX
Member
Registered: 2010-03-24
Posts: 25

Re: Binding Dell Inspiron Laptop Volume Keys (hotkeys)

benj1 wrote:

you could also use xev to get the keybindings

the wiki page is here http://crunchbanglinux.org/wiki/configuring_keybindings

That's not the same for Xfce though, right?

Offline

#6 2010-03-28 14:49:08

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,021

Re: Binding Dell Inspiron Laptop Volume Keys (hotkeys)

xev runs in just about any X environment (possibly in a virtual terminal too, but I haven't tried it).  But that just gives you the XF86Audio* plus a lot of other information that we're not interested in.  The fun part is trying to figure out exactly what version of the amixer commands works for your particular box.


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

#7 2010-03-28 18:59:09

benj1
Wiki Wizard
From: Yorkshire, England
Registered: 2009-09-05
Posts: 1,084

Re: Binding Dell Inspiron Laptop Volume Keys (hotkeys)

Myke wrote:
benj1 wrote:

you could also use xev to get the keybindings

the wiki page is here http://crunchbanglinux.org/wiki/configuring_keybindings

That's not the same for Xfce though, right?

well xev would still word, just added the wiki page as a reference for others


- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Offline

#8 2010-03-28 19:06:00

configX
Member
Registered: 2010-03-24
Posts: 25

Re: Binding Dell Inspiron Laptop Volume Keys (hotkeys)

benj1 wrote:

well xev would still word, just added the wiki page as a reference for others

Will you be doing an Xfce section too?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo