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 26 Nov 2014, 17:49
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 Posts_count  
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 783

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  159 Time(s) 
pmvol_gtk2.gz
Description  gtk2 version - fake gz-file
gz

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

 Download 
Filename  pmvol-0.2.tar.gz 
Filesize  97.86 KB 
Downloaded  149 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
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_website 
disciple

Joined: 20 May 2006
Posts: 6458
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: 783

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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0570s ][ Queries: 12 (0.0046s) ][ GZIP on ]