Tiny Core Extensions > TCE Tips & Tricks

nifty volume control for jwm

<< < (4/10) > >>

jpeters:
...there's always sGmixer or some equivalent, if someone needs it.   Volume controls exist on most apps (including flash player). Adding a mike on/off button in .jwmrc-tray is useful when using skype.

tobiaus:
curaga: no worries, any old version of ossmix (or new version) should be fine. if the ones in tc do relative positions, less code is needed, if not, the script is more useful :)

mikshaw: no worries, you're probably right, but i thought i'd mention it. jpeters: flash apps yes, and xmms as well, but i've often found the want to change the volume before they start to make noise, particularly with online applets and youtube. also i often find i've turned ossmix down to 0 and the applet volume controls will only work from 0 times 0 to 100 times 0 then. my favorite volume control is the applet in xfce, it's always easy to reach quickly- the closest thing to it in any smaller distro is probably the murgalua dock app in flux-oriented versions of dsl. (but i prefer jwm.)

jpeters:

--- Quote from: tobiaus on February 21, 2009, 12:06:52 PM --- 0 times 0 to 100 times 0 then.....

--- End quote ---

sounds a  bit like my retirement holdings...I wonder if there's a control for that....

curaga:
I've recently tried to create a native fltk/jwm dockapp for controlling a single channel.
It defaults to vmix0-vol, but can be used with any channel (I needed misc.front1).

Only works with OSS4, the binary is 28kb, and no external dependencies.
Once it gets good enough, it'll be added to the OSS extension.

TC binary preview:
http://www.ziddu.com/download/3594698/tc-mixer.gz.html

Comments please :)

edit: screenshot in action


Right-click or middle-click to mute

jpeters:
Works nicely.  I'm curious how you get it on the tray...I don't see anything in .jwmrc-tray. Is there any way to get right-click options, say for mic vol?

edit: I see you DO have right-click features. Could I see the source code for how you do this? Thanks.
edit2  oh....loads to the dock automatically from the  program......I'll try something with tcl-tk......

edit: maybe there's no need for separate menu entries for OSS/sound on-off ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version