Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 13:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pmvol - volume-tray-thing gtk1&gtk2
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 780

PostPosted: Thu 28 Feb 2013, 15:41    Post subject:  pmvol - volume-tray-thing gtk1&gtk2  

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:
<Swallow name="pmvol">
pmvol
</Swallow>

to /root/.jwmrc-tray
pmvol_gtk1.gz
Description  gtk1 version - fake gz-file
gz

 Download 
Filename  pmvol_gtk1.gz 
Filesize  12.66 KB 
Downloaded  138 Time(s) 
pmvol_gtk2.gz
Description  gtk2 version - fake gz-file
gz

 Download 
Filename  pmvol_gtk2.gz 
Filesize  11.54 KB 
Downloaded  142 Time(s) 
pmvol-0.2.tar.gz
Description  source code
gz

 Download 
Filename  pmvol-0.2.tar.gz 
Filesize  97.86 KB 
Downloaded  134 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3964
Location: Kiel,Germany

PostPosted: Thu 28 Feb 2013, 19:39    Post subject:  

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 ?
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6428
Location: Auckland, New Zealand

PostPosted: Thu 28 Feb 2013, 22:49    Post subject:  

You can probably use amixer.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 780

PostPosted: Sun 03 Mar 2013, 08:26    Post subject:  

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:
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:
aumix -L -f /root/.aumixrc >/dev/null 2>&1
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0541s ][ Queries: 13 (0.0100s) ][ GZIP on ]