Active Topics

 


Reply
Thread Tools
Posts: 418 | Thanked: 174 times | Joined on Oct 2009
#21
Originally Posted by mtron View Post
it's not a secret at all that alarms rely on the OSSO Alarm Daemon. This daemon can be managed via a usual (for linux users at least ) init script. You can disable the alarm daemon by opening a terminal, become root and use
Code:
/etc/init.d/alarmd stop
alarms won't go off then and of course you also won't be able to set a new timer. To re-enable the alarm daemon: (again from a root terminal)
Code:
/etc/init.d/alarmd start
Hope this helps!
mtron
Very cool.
a) is that setting remembered by the tablet even after a shutdown/reboot?
b) would it be easy to create a very small applet that would sit on the home-screen and basically be a toggle-switch?
__________________
I luv Google
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#22
Hm, it should be simple then to make a 'NoAlarms' application (of Palm fame) where you can set a window where the alarmd should be off.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
Posts: 43 | Thanked: 22 times | Joined on May 2008 @ EU
#23
Originally Posted by Tintin View Post
a) is that setting remembered by the tablet even after a shutdown/reboot?
No. the alarm daemon will be started at boot via a rc script. (depending on the runlevel, it's in one of the rc0.d - rc6.d folders under /etc )

EDIT: and for the second question: get personal launcher and create 2 custom launchers with the commands given above and set the "run as root" checkbox
/e

Last edited by mtron; 2009-11-06 at 17:30.
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#24
Just rename your alarm sound file to something else, or cut and paste to put it somewhere else. That will take care of it.

File manager: Audio clips

or

emelfm2: /usr/share/sounds/ui-clock-alarm.mp3, alarm2.mp3 or alarm3.mp3

Yes, this shuts off the alarm dead until you reverse it.

bun

Last edited by bunanson; 2009-11-07 at 18:53.
 

The Following 2 Users Say Thank You to bunanson For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#25
Sure, you can do the same thing for the wake up and shut down of the N8x0,
again, emelfm2
/usr/share/sounds/

start up:
- ui-wake_up_tune.wav to ui-wake_up_tune_no.wav
shut down:
- ui-shutdown.wav to ui-shutdown_no.wav
To confirm: (I hate this one )
- ui-confirmation_note.wav to ui-confirmation_note_no.wav
No. Your key tapping sound remains unchanged. This one only takes off the "Do you really want it?" follow with a loud PING!

or anything that annoys you

No. It does NOT affect any other operations/player except those call on to these files.
To reverse it, just change it back.

bun

Last edited by bunanson; 2009-11-09 at 14:01.
 
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#26
Originally Posted by mtron View Post
No. the alarm daemon will be started at boot via a rc script. (depending on the runlevel, it's in one of the rc0.d - rc6.d folders under /etc )
You can, however, use the "update-rc.d" script (in /usr/sbin/) to manage the runlevel configuration (just like on a normal Debian/Ubuntu installation).

Documentation can be found here: http://wiki.linuxquestions.org/wiki/Update-rc.d

So, as root, you should be able to do the following:

Code:
/usr/sbin/update-rc.d alarmd remove
To re-enable it later, do something like this:

Code:
/usr/sbin/update-rc.d alarmd defaults
There is a nice GUI utility available already: http://maemo-sdk.garage.maemo.org/maemo-control.html



The package is called maemo-control-services.
 

The Following 2 Users Say Thank You to thp For This Useful Post:
Posts: 93 | Thanked: 52 times | Joined on Oct 2008 @ Victoria BC Canada
#27
Wow... a minor design-flaw... and lots of solutions

Thanks, everyone, for all the suggestions. My preference, at this point is the Speaker-Switch app as it give an on-screen display of the current state. However, while it shuts the speaker off, it doesn't re-enable it on my N810. Thus, it's a mute until reset kind of thing. I'll try working with t_moyashi on this to see if this can get fixed. He's looking for testers anyway.

David...
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:34.