Reply
Thread Tools
Posts: 35 | Thanked: 18 times | Joined on Feb 2007 @ France
#1
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
 
maillaxa's Avatar
Posts: 149 | Thanked: 13 times | Joined on May 2008
#2
In short: yes
 
Posts: 35 | Thanked: 18 times | Joined on Feb 2007 @ France
#3
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
 

The Following 6 Users Say Thank You to cybergypsy For This Useful Post:
maillaxa's Avatar
Posts: 149 | Thanked: 13 times | Joined on May 2008
#4
You should put this onto the wiki, I guess.

Bravo !
 
Posts: 674 | Thanked: 191 times | Joined on Mar 2008 @ Buenos Aires, Argentina
#5
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?
 
aNoble's Avatar
Posts: 26 | Thanked: 2 times | Joined on Feb 2008 @ Dayton, TN
#6
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.
 
Posts: 35 | Thanked: 18 times | Joined on Feb 2007 @ France
#7
I have turned off the LED notifications :-

Settings > Control Panel > Display > LEDs

....and sleep easy.
 
Posts: 674 | Thanked: 191 times | Joined on Mar 2008 @ Buenos Aires, Argentina
#8
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.
 
Posts: 259 | Thanked: 72 times | Joined on Dec 2007 @ Halifax, NS
#9
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.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#10
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)
 
Reply

Tags
cron


 
Forum Jump


All times are GMT. The time now is 12:04.