Wednesday, November 23, 2011

Volumeicon +xfce-mixer part two : better volume applet in #lxde for !debian or #Lubuntu

Dedicated to Jancsi who just switched from unity to Lubuntu

As you might now from part one i use volumeicon for controlling my speakers when i listen to music
There is no easy graphical mixer in lubuntu but
There is the help of xfce4-mixer to the rescue



open console and type to in
sudo apt-get install xfce4-mixer
next install and compile volumeicon with the patch to use xfce4-mixer by default
it places an icon in status bar and when you right click you can choose mixer and it will show you the xfce4-mixer in all it's glory

git clone https://github.com/mariuz/volumeicon.git
cd volumeicon
sudo apt-get install libasound2-dev
./configure --prefix=/usr 
sudo make install

I have two soundcars so i have added in the config
cat /proc/asound/cards
0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeaec000 irq 44
 1 [default        ]: USB-Audio - Microsoft LifeChat LX-3000 
                      Microsoft LifeChat LX-3000  at usb-0000:00:1d.2-1, full speed

vi ~/.config/volumeicon/volumeicon
[Alsa]
card=hw:1
Start volumeicon or add it to the startup session
volumeicon &
if you are on pure LXDE/Debian
editor ~/.config/lxsession/LXDE/autostart
#add to the file
@volumeicon
If you are on Lubuntu
editor ~/.config/lxsession/Lubuntu/autostart
#add to the file
@volumeicon
by default when you click on volume icon it mutes the sound card so in preferences i put Left Mouse Button Action to open the Slider And the Channel will be PCM



2 comments:

Nick L said...

Just want to plug my systray mixer as an alternative to volumeicon, which doesn't require any patching and will easily let you launch whatever you want when you click it.

It also has lots of other features and options, including hotkey and gnome-icon-theme support.

You can find it here: PNMixer

fabianbonetti said...

Muy bueno gracias.