New volume controller, etc.

Forum rules
Before you post please read how to get help

New volume controller, etc.

Postby caris_mere on Tue Aug 03, 2010 9:57 am

I'd like to get a volume icon in the system tray that is interactive. I want to be able to scroll over it and it change the volume and that my Fn keys can control the volume. This works in LXDE, I think and in Peppermint. Is that easy to change? Any tips?

Thanks,
Scott
caris_mere
Level 2
Level 2
 
Posts: 88
Joined: Tue May 20, 2008 8:49 am
Location: Texan in Switzerland

Linux Mint is funded by ads and donations.
 

Re: New volume controller, etc.

Postby shane on Tue Aug 03, 2010 10:08 am

AFAIK volwheel has this feature ( http://oliwer.net/b/volwheel.html ). You can get the package here: https://launchpad.net/~neosofti/+archiv ... ld/1796929 or you can add the PPA to your sources.list: https://launchpad.net/~neosofti/+archive/ppa

Please do keep in mind that I have not tried this package nor have I used volwheel in quite a while... so I cannot say anything about stability.
User avatar
shane
Level 6
Level 6
 
Posts: 1300
Joined: Sun Feb 25, 2007 11:15 pm

Re: New volume controller, etc.

Postby viking777 on Tue Aug 03, 2010 10:31 am

I use volwheel on my flux install and for the most part it works just fine. The part that doesn't work so well is controlling it from the hardware side (function keys for you, a volume wheel on my machine). This works on one boot and then doesn't work on another boot, never figured out why. But the mouse scrolling always works (providing you choose the right default channel in preferences). I have version 0.2.7. (which is strange because the latest version on the site that shane linked to is 0.2.6, but I definitely have 0.2.7 and I don't use the ppa, so I don't know where I got it from :lol: )
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: New volume controller, etc.

Postby shane on Tue Aug 03, 2010 11:07 am

On the project home page (first link) the latest version is 0.2.8. The PPA is still on 0.2.6... probably the maintainer just hasn't got round to upgrading.
User avatar
shane
Level 6
Level 6
 
Posts: 1300
Joined: Sun Feb 25, 2007 11:15 pm

Re: New volume controller, etc.

Postby rogue_ronin on Wed Aug 04, 2010 12:52 am

Check out gvolwheel? It's much more stable than volwheel, and one of them is a clone of the other. Works beautifully with aumix-gtk.

m a r
rogue_ronin
Level 2
Level 2
 
Posts: 56
Joined: Sun Feb 28, 2010 5:19 am

Re: New volume controller, etc.

Postby caris_mere on Wed Aug 04, 2010 8:53 am

Thanks for the replies. I couldn't get the volwheel thing to install properly, so I decided to get "volumeicon". Somebody had suggested it for the new crunchbanglinux. You can see it here http://www.softwarebakery.com/maato/volumeicon.html

Working fine with the scrolling, but it doesn't do the fn keys. Oh well
caris_mere
Level 2
Level 2
 
Posts: 88
Joined: Tue May 20, 2008 8:49 am
Location: Texan in Switzerland

Re: New volume controller, etc.

Postby rogue_ronin on Thu Aug 05, 2010 7:19 am

caris_mere wrote: it doesn't do the fn keys.


Did you try editing your keys file?

m a r
rogue_ronin
Level 2
Level 2
 
Posts: 56
Joined: Sun Feb 28, 2010 5:19 am

Re: New volume controller, etc.

Postby caris_mere on Thu Aug 05, 2010 10:43 am

No, I don't know what the commands would be to adjust the volume.
caris_mere
Level 2
Level 2
 
Posts: 88
Joined: Tue May 20, 2008 8:49 am
Location: Texan in Switzerland

Re: New volume controller, etc.

Postby rogue_ronin on Sat Aug 07, 2010 7:02 am

Try something like this:

Code: Select all
XF86AudioMute :Exec aumix -v 0
XF86AudioLowerVolume :Exec aumix -v -5
XF86AudioRaiseVolume :Exec aumix -v +5


Need to install aumix - or better: aumix-gtk.
rogue_ronin
Level 2
Level 2
 
Posts: 56
Joined: Sun Feb 28, 2010 5:19 am

Re: New volume controller, etc.

Postby syeager on Mon Aug 09, 2010 12:26 am

OK, I have had some success, some information, and some questions.

Success
With little changes, my HP dv6113us mute and volume touch keys work. No new apps needed to be installed. It just works. Excellent.

Information (HOW)
I added the following lines to the .fluxbox/keys file:

None XF86AudioMute :ExecCommand /usr/bin/amixer -q sset Master,0 toggle
None XF86AudioLowerVolume :ExecCommand /usr/bin/amixer -q sset Master,0 5%-
None XF86AudioRaiseVolume :ExecCommand /usr/bin/amixer -q sset Master,0 5%+

The current icon in the system tray does not reflect the changes dynamically. It does not reflect changes in volume by keys or by mixer. Only if you click the icon (which brings up the slider) and move the slider does it's value change (and the volume changes according to it).

I installed volumeicon and it did dynamically reflect the volume, whether altered by keys or by mixer.

Questions
Is there a way to get the current volume icon to reflect the correct volume value dynamically? Or should it be replaced with volumeicon?
Also, I commented out the following lines in the ~/.fluxbox/startup file:
/usr/bin/xfce4-volumed &
pyvolume &


And added the following to use volumeicon:
volumeicon &

Also, I had to move the blue-tooth-applet to later in the list or it would not initialize. Any thoughts?

Thanks in advance.
syeager
Level 1
Level 1
 
Posts: 14
Joined: Sat Aug 07, 2010 12:00 pm

Re: New volume controller, etc.

Postby wasp on Tue Aug 10, 2010 2:15 am

wasp
Level 1
Level 1
 
Posts: 16
Joined: Fri Aug 06, 2010 5:43 pm

Linux Mint is funded by ads and donations.
 

Return to Others

Who is online

Users browsing this forum: No registered users and 3 guests