View Single Post
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#2
From the commandline:
Code:
gconftool -t int -s /apps/osso/sound/master_volume -- -100
should mute,
Code:
gconftool -t int -s /apps/osso/sound/master_volume -- (level)
should unmute. In practice, you might want to first get the value of /apps/osso/sound/master_volume, then set it to the opposite of that. The same method could be used to unmute.

Since this is using gconf, writing it in python would be a simple matter of figuring out how to use gconf in python Can't write sample code right now, but I can try later today if you need it.
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 

The Following User Says Thank You to TrueJournals For This Useful Post: