Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

[How To] Tray Volume

Post your tips and tricks here.

[How To] Tray Volume

Postby OU812 on Tue Jun 16, 2009 7:06 am

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

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 Wed Jun 17, 2009 1:22 am, edited 1 time in total.
OU812
 
Posts: 999
Joined: Sat Sep 29, 2007 8:12 pm
Location: California

Re: [How To] Tray Volume

Postby secipolla on Tue Jun 16, 2009 6:21 pm

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.
secipolla
 
Posts: 437
Joined: Sun Jun 15, 2008 2:56 pm
Location: São Paulo / Brazil

Re: [How To] Tray Volume

Postby secipolla on Tue Jun 16, 2009 7:56 pm

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)
secipolla
 
Posts: 437
Joined: Sun Jun 15, 2008 2:56 pm
Location: São Paulo / Brazil

Re: [How To] Tray Volume

Postby ICE-M on Tue Jun 16, 2009 11:05 pm

in fluxbox you can use somewere in the desktop alt + mouse wheel up or alt+ mouse wheel down to raise or lower the volume
User avatar
ICE-M
 
Posts: 303
Joined: Mon Jun 02, 2008 4:31 pm
Location: The Matrix

Re: [How To] Tray Volume

Postby chrishall57 on Wed Jun 17, 2009 12:35 am

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.
chrishall57
 
Posts: 56
Joined: Sun Apr 19, 2009 1:11 am
Location: Farnborough, UK

Re: [How To] Tray Volume

Postby macondo on Wed Jun 17, 2009 1:59 am

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)
macondo
 
Posts: 137
Joined: Fri Sep 14, 2007 2:54 pm
Location: Panama

Re: [How To] Tray Volume

Postby eriefisher on Wed Jun 17, 2009 3:11 am

No mouse? Do as IceM says but use the up/down arrows for the same effect.
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: [How To] Tray Volume

Postby chrishall57 on Wed Jun 17, 2009 10:54 pm

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.
chrishall57
 
Posts: 56
Joined: Sun Apr 19, 2009 1:11 am
Location: Farnborough, UK

Re: [How To] Tray Volume

Postby eriefisher on Thu Jun 18, 2009 4:04 am

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.
Attachments
vol-deb.zip
(45.24 KiB) Downloaded 32 times
Last edited by eriefisher on Sat Jun 20, 2009 3:52 am, edited 1 time in total.
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: [How To] Tray Volume

Postby OU812 on Thu Jun 18, 2009 5:52 am

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
OU812
 
Posts: 999
Joined: Sat Sep 29, 2007 8:12 pm
Location: California

Re: [How To] Tray Volume

Postby eriefisher on Thu Jun 18, 2009 1:05 pm

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.
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: [How To] Tray Volume

Postby OU812 on Fri Jun 19, 2009 5:53 am

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
OU812
 
Posts: 999
Joined: Sat Sep 29, 2007 8:12 pm
Location: California

Re: [How To] Tray Volume

Postby eriefisher on Sat Jun 20, 2009 1:04 am

Gimme a little time. I will try and do it tonight. Let you know.
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: [How To] Tray Volume

Postby eriefisher on Sat Jun 20, 2009 3:58 am

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.
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: [How To] Tray Volume

Postby minux on Mon Jul 06, 2009 6:32 am

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)?
minux
 
Posts: 6
Joined: Fri Apr 03, 2009 7:22 pm

Next

Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 0 guests

cron