Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example if the volume is 48 and I press the volume up key the new value will be 56. What would I have to do to make it go to 52?

I use both keyboard and remote control keys.

share|improve this question
up vote 3 down vote accepted

You want to change the volume step interval, this is fairly easy.

  • Open up the terminal and run the command gconf-editor, it will bring up this window:

    alt text

  • In the left pane, expand apps and click on gnome_settings_daemon:

    alt text

  • double click the volume_step key in the right pane, enter the new step value (this is the value you want the volume to change by when you press volume up or volume down on your keyboard), and press OK:

    alt text

  • test your new configuration and exit gconf-editor if all is working!

share|improve this answer
Thanks, that's exactly what I was looking for! – user13792 Jan 7 '10 at 15:26
You're very welcome :) – John T Jan 7 '10 at 15:48
is there a way to do this over the terminal? – scjorge May 11 at 0:32

Here is a hard core way (read old school way) to do it. Use xev to tell you what the codes for the keys you want to use are. Then use something like (in $HOME/.xsession)

xmodmap -e 'keycode 171 = XF86AudioNext'
xmodmap -e 'keycode 173 = XF86AudioPrev'

to get the keys mapped to actions. Then you can modify your $HOME/.fvwm2rc to have

Key XF86AudioPrev               A       C       Exec exec nyxmms2 prev
Key XF86AudioNext               A       C       Exec exec nyxmms2 next

Restart fvwm2 and you are done.

share|improve this answer
old school ways are powerful! :) – scjorge May 11 at 0:26

I assume you're using a laptop or one of those enhanced keyboards..? If so, careful because

  • ubuntu 9.10 has pulse audio; aumix is alsa-related and might take you down the wrong path
  • what you need is probably something like xmodmap (if it can capture your key), or if you're on a laptop there should be a kernel module/applet able to capture the specific key press. On some (my old ASUS) I had to go through ACPI to access the volume key.
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .