I'm trying to use Orage as a daily alarm clock. I want to access an internet radio stream using google-chrome at the alarm time. When I test the alarm (by setting the time to a few minutes ahead and waiting to see if it works), the procedure executes properly and the internet stream starts like it should. However, when I let it sit overnight to actually use it, the procedure does not appear to run. I did enable a visual notification, and that appears to come up. I do not use power settings to put the computer to sleep, though the display is turned off after 10 minutes of inactivity. I'm using Xubuntu 11.10 with Orage 4.7 on a Acer Aspire One AOA-110 with 1.5GB RAM.
if you get the visual alarm, we know that the alarm actually works. So the question is why the procedure type alarm does not work. Could you run a test and replace the procedure alarm by something simple, like: date >> /tmp/orage_test.txt Then we could see from the file if the alarm fired or not. Or if the issue is actually in the procedure script. What is the exact Orage version? Do orage -v and paste the results. Perhaps you could also export the problematic event and paste it, so that I can try to reproduce it locally.
OK, here's the deal. Apparently I'm running v4.8.1 scott@scott-AOA110:~$ orage -v This is orage version 4.8.1 Released under the terms of the GNU General Public License. Compiled against GTK+-2.24.4, using GTK+-2.24.6. Using DBUS for import. Using libnotify. Using automatic archiving. Using operating system package libical. scott@scott-AOA110:~$ I tried the date >> /tmp/orage.txt, and it seemed to work when I set the alarm for the next minute. But when I used the "execute" button, it didn't work. The notification window did come up in both cases. I'm running a test right now that will see whether the procedure works after the screen turns off. I'll let you know those results when I get them. Here's the procedure I'm trying to run... google-chrome http://www.klove.com/listen/player.aspx As above, when I set the alarm time for a minute from now, the procedure seems to execute correctly. However, when I use the "execute" button, it appears to drop the argument as chrome opens to my homepage instead of the streaming site.
Yes, that execute button problem is bug 7848. (fixed in 4.8.2) But that does not explain why your procedure does not run properly after a longer wait. Waiting for your test results.
So per my testing, the "date >> orage.txt" command seems to work, even after an extended period (overnight). So there's something about running chrome (or perhaps other executables) that Orage doesn't like (or some dependency doesn't like). Thanks, Scott
Orage is not doing anything special for that command. It is just thrown to the system command. Don't you see any errors in the terminal? (start orage from a terminal so that you can see it's messages.) Or in the .xsession-errors if orage is running in the background? Maybe google-chrome is not in the path? Try with absolute path? You might also try to call a simple shell sript without any parameters and just put the real command into that shell script.
The command does work, as long as I'm testing by setting the alarm time for, say, a minute in the future and waiting for it. It's just when I let the computer sit for a while (like overnight) that it doesn't.
No ideas, but I doubt this is Orage problem. Perhaps something changes in the OS when it is idel long time, looks really strange.
So it looks like taking the procedure command and argument, putting it in a Bash scrip file, and changing the procedure to execute the script worked, at least this morning.
Very strange issue. But I have no clue how to fix it.