But that is about a sound volume level indicator in the style of Gnome, right? I was looking for being able to control the sound volume with the front panel buttons (as well as Fn+F11/12) in the first place. Even without fancy On Screen sound volume indicator... I just want it to be like in Xubuntu 8.10 again!
Originally Posted by Who
For anyone looking for the same, here is how I made it work. It is actually some shortcut based on the multi media keys help page https://help.ubuntu.com/community/XfceMultimediaKeys
1. Open Applications > Settings > Keyboard
2. Open tab Layout
and make sure that
a. you have the closest keyboard model selected. In my case I chose Asus Laptop, but if you are not sure you might best pick the Generic 105-keys (International) one, I guess.
b. check if the right keyboard layout is selected. In my case I chose US Alternative International.
(if you get lost during this process, you can revert to the default settings: place a checkmark at 'Use system defaults', hit Close, log out and back in again.)
3. Open tab Application Shortcuts
and hit Add
to open up a new input dialog wizard. Then enter in the new window at Command either
amixer set Master 5%+ -q
Then hit Ok. Now the dialog waits for you to press the key or key combination to go with this command. Use the front panel Volume Up
button or use your Fn+F11 key combination (or any other combination corresponding with the Volume Up symbol on your keyboard) which will immediately result in a new entry in the shortcuts list. Test the button/key combo for the desired result.
4. Now do this again for Volume Down
amixer set Master 5%- -q
And once more for Mute
(that is a zero at the end there which results in sound level dropping to zero and pressing it again will NOT restore it to its previous level) or better
amixer set Master toggle -q
(true toggle meaning a second press will restore previous sound level)
Now you have the basics in place. If anyone has some other Shortcut suggestions, please post them in this thread
Tip: Do you want your buttons to give you quicker or slower response in sound level change, use another value at the end of the Volume Up/Down commands. E.g. +/-3 will give you slower response but better level control while +/-10 will give you quicker response but less precise control...
Aumix commands not working? You might not have the aumix package installed on your system. Use the amixer equivalents or do
sudo apt-get install aumix