maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting) (https://talk.maemo.org/showthread.php?t=46594)

zorn 2010-07-30 22:23

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Looks like a great app, though I've only just installed it and I am not sure it's working yet... :-)

Just a quick bug report, or demonstration of my unfamiliarity with the N900: the text entry boxes in Alarmed seem a bit non-standard, if I hold down a key it auto-repeats, whereas in other applications I get the associated symbol. For example, if I hold down 'w', I get '2' in most apps, in Alarmed I get 'wwwwwwwwwwwww'.

Cheers.

zorn 2010-07-31 00:06

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Sorry for the double post...

I was having problems because I got the name of my script wrong. I did read over this thread earlier and I don't remember seeing any advice on how I could have detected this. I appreciate Alarmed is just modifying the configuration for Nokia's alarm software, but is there any way Alarmed could show e.g. a log of the output when (attempting to) run the command?

Although it wouldn't help if the command was more than a simple script invocation, it would help avoid this problem if the script to invoke could be chosen with the file browser.

Another small suggestion - I think it would be nicer to make the -C (CLI) switch the default, and have the .desktop file specify some other option (-D?) to tell the GUI to start. That way, command line users can just use it like a 'normal' CLI tool, and GUI users aren't any worse off.

I hope this isn't taken as whinging! Now I've cracked the incorrect name problem, this looks like exactly what I was looking for.

Cheers.

rantom 2010-07-31 12:11

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
I'd like to try this app but it seems to crash quite immediately, if I try to use it. It loads for few seconds and then just crashes.

shapeshifter 2010-07-31 13:11

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by Spotfist (Post 770762)
Only played with it for a short time now but would it be possable to run an event on week days only?

Yeah, just pick "weekly" as the schedule, and then select the weekdays you want.

Quote:

Originally Posted by zorn (Post 770798)
the text entry boxes in Alarmed seem a bit non-standard

I doubt it is any different in any other Qt-based Application. At least, it's not my choice.

Quote:

Originally Posted by zorn (Post 770928)
I appreciate Alarmed is just modifying the configuration for Nokia's alarm software, but is there any way Alarmed could show e.g. a log of the output when (attempting to) run the command?.

What command do you mean? The GUI doesn't run any command. The events are set through the alarmd library (python-alarm). Do you mean the command that you might have entered as a command line execution? Well that command gets run by the Nokia alarmd backend. I suppose it might be possible to nest any command the user enters into () > /opt/alarmed/log but it seems a bit hackish.

Quote:

Originally Posted by zorn (Post 770928)
Another small suggestion - I think it would be nicer to make the -C (CLI) switch the default, and have the .desktop file specify some other option (-D?) to tell the GUI to start. That way, command line users can just use it like a 'normal' CLI tool, and GUI users aren't any worse off.

Yeah I should do that some time.

zorn 2010-07-31 13:45

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by shapeshifter (Post 771353)
I doubt it is any different in any other Qt-based Application. At least, it's not my choice.

Cheers, will try a few other Qt apps and maybe see if I can file this as a bug against Qt, if it's not noted already.

Quote:

Originally Posted by shapeshifter (Post 771353)
What command do you mean? The GUI doesn't run any command. The events are set through the alarmd library (python-alarm). Do you mean the command that you might have entered as a command line execution? Well that command gets run by the Nokia alarmd backend. I suppose it might be possible to nest any command the user enters into () > /opt/alarmed/log but it seems a bit hackish.

Yeah, I meant the command I entered. I did realise it wasn't run by Alarmed, but I thought there might be something you could do. (I had a quick glance at the alarm API but not much of one.) I suppose I could write a wrapper script which takes another command line as an argument and tees off its stdout/stderr to a log file. Of course, I'd then have to get the path to that script right. :-)

Not a big deal, just thought I'd ask if there was anything you could do easily.

Thanks for the reply!

Spotfist 2010-07-31 19:35

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
thanks guys, a few extra minutes of play and I found i could scroll down Durp! ;)

So awesome! can now turn my phone to flight mode on week nights and also do a few things to try and save power at work ;)

gabby131 2010-08-01 16:21

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
on the command section, how can i schedule a command that needs root? thanks :)

shapeshifter 2010-08-03 11:27

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by gabby131 (Post 772241)
on the command section, how can i schedule a command that needs root? thanks :)

Write a new script (a text file, for example called "myscript.sh") and place it in /home/user/. Put whatever you want to execute into that script. Then do this:

Code:

chown root /home/user/myscript.sh
chmod 4755 /home/user/myscript.sh

Now put "/home/user/myscript.sh" into the command line execution. It will be executed as root.

2disbetter 2010-08-06 18:55

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
It seems alarmed has removed my general profile from the status menu. I can still access it via the power button menu. Anyone know how to get the general profile back in there?

2d

techie 2010-08-06 19:45

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Some help here guys.Alarmed won't run on my device at all.Whenever I run it a blank screen appears for a few seconds and then it returns to desktop.
I have tried installing through application manager, fapman and the terminal but it hasn't run even once.
Also noticed just now that healthcheck started showing same behaviour,before this it worked fine.I updated it to the devel version and its working again, but still no luck with alarmed.
Are there any known conflicts with other packages??


All times are GMT. The time now is 05:45.

vBulletin® Version 3.8.8