Reply
Thread Tools
Posts: 17 | Thanked: 2 times | Joined on Apr 2008
#1
It's Spring Break, and I'm ready to not have the alarm ringing at 5:30 a.m. every morning (and 6:25, and 6:50 and....).

Here's what I learned during Christmas break:

To put your alarms on hold, open a shell:

cd /var/lib/alarmd
sudo mv alarm_queue.xml alarm_queue.xml.hold

reboot.

When you're ready to turn the alarms back on:

cd /var/lib/alarmd
sudo mv alarm_queue.xml.hold alarm_queue.xml

Be careful, though. If the file permissions get changed, you might not be able to change alarms later. Moving the file to ...hold rather than copying the file away and back helps to insure that the file permissions don't get changed.

Have a great vacation!
 

The Following User Says Thank You to imhavoc For This Useful Post:
fattomm's Avatar
Posts: 109 | Thanked: 37 times | Joined on Oct 2008 @ NYC, NY
#2
Originally Posted by imhavoc View Post
To put your alarms on hold, open a shell:

cd /var/lib/alarmd
sudo mv alarm_queue.xml alarm_queue.xml.hold
....
Have a great vacation!
How about just a "sudo /etc/init.d/alarmd stop"? You can
avoid monkeying with permissions, etc -- and could maybe
even tie this to a button ... (so you could turn it off for weekends,
too ! :-))

The toggling is left as an exercise for the reader ....
 

The Following User Says Thank You to fattomm For This Useful Post:
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#3
I assume it's start to get it working again?
__________________
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...
 
fattomm's Avatar
Posts: 109 | Thanked: 37 times | Joined on Oct 2008 @ NYC, NY
#4
Originally Posted by Laughing Man View Post
I assume it's start to get it working again?
Yeah -- take a prowl around /etc/init.d -- most/all of the system services are started from there. Those are just shell scripts -- they're readable, and a few services implement more than start/stop ....
 
Posts: 17 | Thanked: 2 times | Joined on Apr 2008
#5
My tablet inevitably gets accidentally restarted during a week that I have free time to mess around with it. This prevents the alarms from restarting after a late-night reboot. Yours is better, mine is "failsafe."
 
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#6
Or just forgo the native alarm clock app and use FlipClock, which lets you set alarms that are triggered by AlarmD, but also gives you the ability to just turn them on and off (without having to muck around at the shell level, delete/re-enter them, etc):
https://garage.maemo.org/projects/flipclock/
It's also available from the extras-devel repository (will pull in dependencies automatically if you install from there).

It requires Python2.5, PyGame, and python2.5-gstreamer packages to work (it's not in extras yet so unfortunately dependencies can't be automatically pulled in), but if you haven't got these already it's just a matter of red pill/apt-get commands.

Last edited by jolouis; 2009-03-23 at 18:50.
 
Reply

Tags
alarmd, alarms, vacation


 
Forum Jump


All times are GMT. The time now is 23:50.