Active Topics

 


Reply
Thread Tools
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#41
Under diablo I've just installed the cron.tar.gz package which works great! I then installed aumix-gtk from the elkins repo, which doesn't work so well. While 'aumix -w 0' run as root doesn't give any errors it also doesn't mute the IT's output. Can anyone confirm that this does work in diablo? TX
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
Posts: 674 | Thanked: 191 times | Joined on Mar 2008 @ Buenos Aires, Argentina
#42
Aumix does work, grog.
 
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#43
Originally Posted by alephito View Post
Aumix does work, grog.
Of course it does, and of course it's only after I post here about it do I find out what I did wrong . I was playing with the system volume control, thinking that just because I could hear the chimes as I changed the volume that it wasn't working. But what I didn't realize is that just by accessing that control it was restoring the volume automatically. So every time I shut it off using aumix, I was turning it back on with the volume control .

Thanks for the quick response.
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#44
Nice concept, but if you are bothered by the light and don't want to hear sounds why not simply hang the device on the power, and put it off? Then put it on when you wake up. Booting the device has very much improved with Diablo.

Also, what if the device went off while inbetween those 2 cron scripts? The scripts will have to be executed on boot as well.

Then there are weekend days with perhaps different preferences but thats easily fixed in cron.

Perhaps a cron frontend a-la Windows Scheduler would be nice for the NIT.

Have an alarm in the form of an MP3 being your alarm clock.

Nice concept tho but IMO these scripts should also save the current setting IOW save the setting before it goes into 'night' mode, and then in morning return to this original setting before it went into 'night' mode. Currently. reminds me of ALSA in its early days, hehe.
 
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#45
Originally Posted by cybergypsy View Post
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
Can you setup several scripts? For example, I have classes on different days that I'd like it to auto mute on.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#46
Try using http://www.webmaster-toolkit.com/cron-generator.shtml to generate your crontab lines. You can have as many lines in the crontab file as you want. Just remember that aumix -w 0 will mute, and aumix -w 90 will unmute.
__________________
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 2 Users Say Thank You to TrueJournals For This Useful Post:
Posts: 674 | Thanked: 191 times | Joined on Mar 2008 @ Buenos Aires, Argentina
#47
I unmute with 'aumix -w 93', since 93 is the default volume in a brand new NIT.
 
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#48
Thanks! Though I have a question.. say..

0 10 * * * aumix -w 0

That would mean 10 AM on a Sunday it would mute my n800 using aumix.

Now I can set one up for each day.. but is it possible to say.. create a crontab that does Monday, Wed, and Friday? Or would I need three different crontabs? For example, could I do something like this?

0 10 * * 1,3,5 aumix -w 0

Or would I need

0 10 * * 1 aumix -w 0
0 10 * * 3 aumix -w 0
0 10 * * 5 aumix -w 0

And if so, could I put them all in one textfile instead of having an individual text file for each one?
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#49
 

The Following User Says Thank You to Benson For This Useful Post:
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#50
Ok, thanks for the help everyone. I've written the file and loaded it with crontab.. so I guess I'll find out Monday *crosses fingers*.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
Reply

Tags
cron


 
Forum Jump


All times are GMT. The time now is 20:46.