Page 1 of 1

pmvol - volume-tray-thing gtk1&gtk2

Posted: Thu 28 Feb 2013, 19:41
by goingnuts
Based on code snippets from absvolume and blinky here is a tray-volume applet that can be compiled to use gtk1 or gtk2.
Mouse leftclick brings up the volume slider - click on trayicon to minimize it again.
Right mouse click opens xmixer - if xmixer is missing symlink your favorite mixer to "xmixer".

Thanks to amigo for doing the hard work getting configure running!

To have it swallowed by jwm add

Code: Select all

<Swallow name="pmvol">
pmvol
</Swallow>
to /root/.jwmrc-tray

Update 2015-04-01: Version 0.3 released
* Revised configure.
* Bugfix: if volume 0 not image was shown.
* Close slider when focus-out.
* Added tooltip showing actual volume when mouse over tray icon.

Posted: Thu 28 Feb 2013, 23:39
by Karl Godt
The pre-compiled gtk1 works for me .

Unfortunately I had the problem , that I needed retrovol to activate the front audio-out-jack named "Headphones" to gain sound .

Has anyone an idea how to activate them by the cli ?

Posted: Fri 01 Mar 2013, 02:49
by disciple
You can probably use amixer.

Posted: Sun 03 Mar 2013, 12:26
by goingnuts
Karl Godt: Thx for testing!
I use aumix as it can run from cli or GUI (gtk1). To set values from cli or startup script:

Code: Select all

aumix -v 75%				#main volume
aumix -b 0%	>/dev/null 2>&1	#bass
aumix -t 0%	>/dev/null 2>&1	#treble
aumix -s 0%	>/dev/null 2>&1	#synthesizer
aumix -w 90%				#PCM
aumix -p 90%				#PC speaker
aumix -l 90%				#line
aumix -m 0% >/dev/null 2>&1	#microphone
aumix -c 90% >/dev/null 2>&1	#CD
aumix -x 0%					#mix monitor
aumix -W 0%					#PCM 2
aumix -r 0%					#record
aumix -i 0%					#input gain
aumix -o 0%					#output gain
aumix -1 90%				#line 1
aumix -2 90%				#line 2
aumix -3 90%				#line 3
The settings can be loaded from a file as well:

Code: Select all

aumix -L -f /root/.aumixrc >/dev/null 2>&1

Posted: Wed 01 Apr 2015, 11:21
by goingnuts
New release - view first post.

Two pets please ...

Posted: Fri 08 May 2015, 14:36
by Pelo
compile, users don'kt know to compile. we hardly speak english, Could you make us two pets please.

Two pets please ...

Posted: Fri 08 May 2015, 14:37
by Pelo
compile, users don'kt know to compile. we hardly speak english, Could you make us two pets please.

Posted: Fri 08 May 2015, 16:10
by goingnuts
OK - attached pet for gtk2-version and the gtk1-version can be downloaded here.