Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Automatic Muting via cron

    Reply
    Page 1 of 6 | 1   2     3   | Next | Last
    cybergypsy | # 1 | 2008-06-13, 20:31 | Report

    I'd like to use cron to automatically mute the volume of my OS2008 N800 every night and unmute it again in the morning , is this possible ?

    thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    maillaxa | # 2 | 2008-06-13, 21:22 | Report

    In short: yes

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cybergypsy | # 3 | 2008-06-14, 08:12 | Report

    Thanks maillaxa, thats great!

    For anyone else who would like to get this working , here is what I have done.
    I set all this up via SSH on my desktop rather than the built-in terminal, this allows easy copy & paste as well as file transfers via secure copy (scp)
    1. Installed the aumix-gtk applcation from the repositories.
    2. Installed the cron package from this thread.
    3. As root created a crontab containing :-
      Code:
      30 23 * * * aumix -w 0
      00 7 * * * aumix -w 90
      This mutes the tablet at 11:30pm and un-mutes it at 07:00am
    4. Either reboot or run cron from the command line.

    Good Luck
    cybergypsy

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to cybergypsy For This Useful Post:
    alephito, BoxOfSnoo, hvacengi, maillaxa, qole, qwerty12

     
    maillaxa | # 4 | 2008-06-14, 15:31 | Report

    You should put this onto the wiki, I guess.

    Bravo !

    Edit | Forward | Quote | Quick Reply | Thanks

     
    alephito | # 5 | 2008-06-20, 12:23 | Report

    Thanks, Cybergypsy.

    My first contact with Linux was with my N810 and managing to set a crontab to mute and un-mute the device was really entertaining.

    What other uses you have for cron?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aNoble | # 6 | 2008-06-20, 12:50 | Report

    I wonder if it would be possible to do something similar to this for the indicator light. I sometimes wake up to an annoying flashing blue light in the middle of the night when I receive an email.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cybergypsy | # 7 | 2008-06-20, 12:53 | Report

    I have turned off the LED notifications :-

    Settings > Control Panel > Display > LEDs

    ....and sleep easy.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    alephito | # 8 | 2008-06-20, 13:22 | Report

    Originally Posted by aNoble View Post
    I wonder if it would be possible to do something similar to this for the indicator light. I sometimes wake up to an annoying flashing blue light in the middle of the night when I receive an email.
    Yes! That would be great.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BoxOfSnoo | # 9 | 2008-06-20, 14:38 | Report

    I already clicked it, but THANK YOU! (the automated ones are a little cheap)

    I was envisioning that this would be an ideal task for a linux handheld, just never got to test it and list it out so directly.

    I have also set it to mute for regularly scheduled meetings I have.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwerty12 | # 10 | 2008-06-20, 15:06 | Report

    Originally Posted by aNoble View Post
    I wonder if it would be possible to do something similar to this for the indicator light. I sometimes wake up to an annoying flashing blue light in the middle of the night when I receive an email.
    Well, yes it can be done.

    Make cron run gconftool which turns off the LED value (not sure on specifics but I know for SURE that the LED's are controlled via gconf)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 6 | 1   2     3   | Next | Last
vBulletin® Version 3.8.8
Normal Logout