Posts: 1,081
OU812
Joined: 29 Sep 2007
#1
Hello. I've always wanted a volume manager to reside in the system for the lighter wm's such as icewm, fluxbox, etc. However, the closest I came was when I stumbled upon absvolume. It's a nice app and works well with some panels, but not with fluxbox. So after some searching I found the app I've always been looking for: volwheel. Simply hover your mouse over the icon and use the wheel to adjust or mute the volume. Right-click brings up a config menu and left-click brings up a built-in mixer. Here's how to install it on your system:

1. install"libgtk2-trayicon-perl" from the repo. Open a terminal as root and do:

Code: Select all

apt-get update
apt-get install libgtk2-trayicon-perl
2. get the source package from here


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://oliwer.net/b/volwheel.html"
linktext was:"http://oliwer.net/b/volwheel.html"
====================================


3. unpack the package using pcmanfm. navigate to your download directory and right-click on the file. then choose extract here.

4. install the package. open a root terminal. navigate to the extracted folder. do this command:

Code: Select all

./install.pl
5. add this line to your startup file using your favorite editor (or just use the control center to do this):

Code: Select all

volwheel &
6. logout/login

enjoy.

john
Last edited by OU812 on 16 Jun 2009, 23:22, edited 1 time in total.
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#2
4. install the package. open a root terminal. navigate to the extracted folder. do this command:

Code: Select all

./install.pl
I didn't try it yet. I'll post back to say if it's ok.
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#3
It seems a nice replacement for absvolume in IceWM. The themes don't seem to work (Dynamic icon mode); while there's simple-blue and simple green in /usr/local/share/volwheel/icons/, there's no way to change from the default simple-blue (and I couldn't see the 'dynamic' feature working).

In FluxBox, I couldn't make it work because, when scrolling the mouse-wheel, it would change workspaces rather than changing the volume. Also left-click, that should open the mini-mixer, only made it flash quickly but not stay.
(but I seldom use FluxBox. I don't even know how the volume is changed there, maybe keyboard shortcuts)
Posts: 609
dark-D
Joined: 02 Jun 2008
#4
in fluxbox you can use somewere in the desktop alt + mouse wheel up or alt+ mouse wheel down to raise or lower the volume
Posts: 112
chrishall57
Joined: 18 Apr 2009
#5
Not having a mouse I use a dockapp called Mixer.app in fluxbox, just load it in the slit set to the right hand side of the screen so always available.
Posts: 215
macondo
Joined: 14 Sep 2007
#6
I have this on my .icewm/keys:

Code: Select all

key"Alt+Ctrl+KP_Divide" aumix -v -5 # lower volume
key"Alt+Ctrl+KP_Multiply" aumix -v +5 # raise volume
IOW,
Windows key + / (in the numpad) to lower the volume
Windows key + * (also in the numpad to the right of the kbd)
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#7
No mouse? Do as IceM says but use the up/down arrows for the same effect.
Posts: 112
chrishall57
Joined: 18 Apr 2009
#8
ICE-M wrote:in fluxbox you can use somewere in the desktop alt + mouse wheel up or alt+ mouse wheel down to raise or lower the volume
Works for me! Nice.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#9
I need some test subjects for a volwheel deb. Just install it as root with:

Code: Select all

dpkg -i volwheel-0.2.7.deb
The deb is zipped so the forum will accept it, so unzip with you favorite app.
Last edited by eriefisher on 20 Jun 2009, 01:52, edited 1 time in total.
Posts: 1,081
OU812
Joined: 29 Sep 2007
#10
The package installed fine. Thanks. Unlike my other boxes, when I click the mixer button on my laptop, the xfce mixer launches. It doesn't launch alsamixer or aumix on the other systems. You wouldn't know how to correct that would you?

john
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#11
Right click on the tray icon and select Preferences. In the general tab you should have a line for the mixer, just change it to alsa-mixer.
Posts: 1,081
OU812
Joined: 29 Sep 2007
#12
Oops! Thanks for that. They really should not have made it that obvious. I was actually looking at the code to see if I could edit some lines before installing.

Do you think you could add a .desktop file in your package (with an icon)? Thanks.

john
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#13
Gimme a little time. I will try and do it tonight. Let you know.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#14
Ok John, the deb now has a .desktop file plus a few other things. I also tweaked the source a little so see if it will detect aumix for you instead of xfce4-mixer. Please let me know how it works for you.
Posts: 6
minux
Joined: 03 Apr 2009
#15
macondo wrote:I have this on my .icewm/keys:

Code: Select all

key"Alt+Ctrl+KP_Divide" aumix -v -5 # lower volume
key"Alt+Ctrl+KP_Multiply" aumix -v +5 # raise volume
IOW,
Windows key + / (in the numpad) to lower the volume
Windows key + * (also in the numpad to the right of the kbd)
Any idea about how to change this to"Alt+Ctrl+<" and"Alt+Ctrl+>" (what's the key codes?) for volume control or even use the hardware buttons on laptop (mine is HP NC6000)?