![]() |
delete the list of alarns
maybe this is posted at the wrong place, plz move it then.
is there a way (command in xterm) to delete the list of alarms? with this i mean the list of previously used alarms at the clock (kinda hard to explain hope this is clear enough), it gets longer and longer.. thx! |
Re: delete the list of alarns
Quote:
No terminal command, but you can manually remove the alarms from the text file. I think it's a reasonable solution for doing it once, you can prevent the list from growing large if you just edit an old alarm in it instead of always creating a new one. That's what I'm doing now, for the lack of a better solution. |
Re: delete the list of alarns
Quote:
And you know, on this list, on the left side of each alarm name, there is a square - it is a checkbox. If you want to set alarm to the same time as before (the same hour during day), you can click this checkbox and it will activate alarm - you won't have to create new one with the same hour. This is very unintuitive in my oppinion, I discovered this behaviour accidentaly after few months of using the phone... (maybe I'm just stupid). If you want another way, alarms are stored in /var/cache/alarmd/alarm_queue.ini , but don't delete this file, as it will remove also every calendar alarm (as discovered by CepiPerez in http://talk.maemo.org/showpost.php?p=738068&postcount=5 ). Someone could write a script which would parse this file and remove every alarm, which has line Quote:
Quote:
|
Re: delete the list of alarns
Ok, as I'm learning python, I just tried to write it. USE IT AT YOUR OWN RISK
Code:
sudo gainroot I tried to keep all other alarms (calendar, and possibly other). If it failed and after reboot you notice problems or alarms from calendar disappeared, my script made a copy, so you can restore it: Open terminal and paste this: Code:
sudo gainroot If everything is fine, open file manager (from applications menu), select "N900" memory and delete alarm_queue.copy.ini file from your internal storage. The source of script is as follows (if anyone is interested): Code:
import os |
All times are GMT. The time now is 23:09. |
vBulletin® Version 3.8.8