Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Automatic Muting via cron

    Reply
    Page 6 of 6 | Prev |   4     5   6 |
    alephito | # 51 | 2008-09-05, 23:39 | Report

    Originally Posted by Laughing Man View Post
    0 10 * * 1,3,5 aumix -w 0
    I have been using this syntax and works well.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Laughing Man | # 52 | 2008-09-06, 00:27 | Report

    Good, that's what I used.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Mikma | # 53 | 2008-09-12, 22:24 | Report

    So here's how I did my cron-scripts. First line changes volume to mute/max, and second line switches Instant Message -led on/off.

    Setting stuff OFF.
    Code:
    gconftool -t int -s /apps/osso/sound/master_volume -- -100
    gconftool -t bool -s /system/osso/dsm/leds/PatternCommunicationChat false
    Setting stuff ON.
    Code:
    gconftool -t int -s /apps/osso/sound/master_volume 100
    gconftool -t bool -s /system/osso/dsm/leds/PatternCommunicationChat true
    To make the screen turn off in case you have charger connected:
    Code:
    gconftool -t bool -s /system/osso/dsm/display/display_on_with_charger false
    Here's the whole crontab. http://mikma.reaktio.net/maemo/crontab.txt

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Mikma; 2008-09-12 at 23:05.
    The Following 3 Users Say Thank You to Mikma For This Useful Post:
    alephito, codeMonkey, L0cutus

     
    codeMonkey | # 54 | 2008-09-14, 22:29 | Report

    Much nicer solution. Thanks Mikma

    Edit | Forward | Quote | Quick Reply | Thanks

     
    grog | # 55 | 2009-03-13, 15:07 | Report

    Does anyone know whether gconftool can mute & un-mute the volume, i.e. not set to zero, leave the volume set to whatever level it is, just mute & un-mute? TX

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 6 of 6 | Prev |   4     5   6 |
vBulletin® Version 3.8.8
Normal Logout