Mute in kmix
Sohail Somani
sohail at sohailsomani.com
Sat Oct 4 16:30:04 BST 2003
Hey guys,
Is there a faster way to toggle mute with kmix?
I would also prefer that the system applet shows the change (i.e, the
speaker is X'ed out)
Here is the script I use which is called by a hotkey:
#!/bin/bash
isMute=`/usr/bin/dcop kmix Mixer0 mute 0`
if [ $isMute == 'true' ]
then
isMute=0
else
isMute=1
fi
/usr/bin/dcop kmix Mixer0 setMute 0 $isMute
I was going to change the applet itself to expose another dcop function
toggle_mute() but I havent gotten it to compile b/c I dont have time to
download the libs I need.
Thanx in advance
--
The "S"
"Violence is the last refuge of the incompetent."
Isaac Asmiov (1920 - 1992), Salvor Hardin in "Foundation"
"The best way to secure America is to get the enemy before they get us"
Bush Jr
___________________________________________________
This message is from the kde mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list