Tray Volume selector - Updated Mar 2007!
Posted: Sat 27 May 2006, 07:18
Here is a volume Selector that shows in the JWM tray
This mini-app is a must. It will download in 10 seconds even on dial-up. Just 6 K.
It's the perfect addition to the gplaycd-mini
You can configure it in /root/.jwmrc-tray. Right now it can receive the following parameters
-orientation [ vertical | horizontal ]
-mixer <mixer application>
-bg color
For a list of valid colours read this
for example
If no parameters are passed, it shows vertically with a grey background and does not show the menu option to launch a mixer
It can also run as a standalon app or in any tray bar that accepts swallowed applications.
Any suggestions for extra parameters are welcome.
You can get the latest source from the puppy subversion repository
Let me know if you are interested on adding functionality
Issues
It will only work appropriatelly in puppy109 and Puppy2.xx
Changelog:
2007-03-03 - 19:20
- Fixed balance calculation
2007-02-26 - 01:00
- Added a parameter to select a mixer application to launch on right click
- Added right click menu to select either "mute" or "mixer"
- Added code to respect balance selected in another mixer
- Cleaned up the code a little.
2007-01-14 - 18:56
-Fixed position of slider and hint when the tray is on the top
- Replaced image with images showing the volume level (High, medium, low, mute)
2006-06-16 - 01:01
At the request of Barry changed it to use setvol instead of snack.
Fixed flickering on mouse wheel actions.
2006-06-14 - 01:00
Added mouse wheel functionality to control the volume
Added to Subversion repository
This mini-app is a must. It will download in 10 seconds even on dial-up. Just 6 K.
It's the perfect addition to the gplaycd-mini
You can configure it in /root/.jwmrc-tray. Right now it can receive the following parameters
-orientation [ vertical | horizontal ]
-mixer <mixer application>
-bg color
For a list of valid colours read this
for example
Code: Select all
mini-volume.tcl -o horizontal -m pvolume-mixer.tcl -bg lightblue
It can also run as a standalon app or in any tray bar that accepts swallowed applications.
Any suggestions for extra parameters are welcome.
You can get the latest source from the puppy subversion repository
Code: Select all
svn co http://svn2.cvsdude.com/puppylinux/puppy-miniapps/mini-volume/trunk
Issues
It will only work appropriatelly in puppy109 and Puppy2.xx
Changelog:
2007-03-03 - 19:20
- Fixed balance calculation
2007-02-26 - 01:00
- Added a parameter to select a mixer application to launch on right click
- Added right click menu to select either "mute" or "mixer"
- Added code to respect balance selected in another mixer
- Cleaned up the code a little.
2007-01-14 - 18:56
-Fixed position of slider and hint when the tray is on the top
- Replaced image with images showing the volume level (High, medium, low, mute)
2006-06-16 - 01:01
At the request of Barry changed it to use setvol instead of snack.
Fixed flickering on mouse wheel actions.
2006-06-14 - 01:00
Added mouse wheel functionality to control the volume
Added to Subversion repository