![]() |
How to control volume/mute?
I'm new to programming this thing; can someone point me towards documentation on how I can change the volume and mute setting from either the command line or Python please? I've hunted through the wiki and googled without any luck.
|
Re: How to control volume/mute?
From the commandline:
Code:
gconftool -t int -s /apps/osso/sound/master_volume -- -100 Code:
gconftool -t int -s /apps/osso/sound/master_volume -- (level) 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. |
Re: How to control volume/mute?
Theoretically:
Code:
from gnome import gconf |
Re: How to control volume/mute?
The gconftool solution works great for me. I gotta read up on that. Thanks!
|
All times are GMT. The time now is 16:32. |
vBulletin® Version 3.8.8