Active Topics

 



Notices


Reply
Thread Tools
Posts: 171 | Thanked: 13 times | Joined on Nov 2009
#21
I had to remove frcon and then reinstalled it. I now dont have fcron in /etc/init.d. Tried multiple options to force an install, no joy.

Any ideas how to get it there or can anyone email me the file ( slewis1972 @ gmail.com ) so I can manually install it?

Thanks

Scott
 
Posts: 105 | Thanked: 26 times | Joined on May 2010
#23
Installed and used the modified startup script by rajil. Now working fabulously, though I hope it will survive the trip up to PR1.2 later.

Anyway, is there any way a script can be created that shows a hildon notification "Reboot in 10s" before the N900 actually reboots? Through DBUS? How?
 
Posts: 21 | Thanked: 6 times | Joined on Apr 2010
#24
Hi! I asked in http://talk.maemo.org/showthread.php?p=682089 if there is a setting to get Exchange auto sync only when WiFi, manual otherwise. But as I did'nt get an answer maybe there is'nt, so I will try to make it work with Fcron.

Something like:
If "WiFi connected = Yes" and "charging cellphone =Yes" then "Peak schedule = Every 15 min"

I guess the "Peak schedule = Every 15 min" can be solved with something like this: http://wiki.maemo.org/Fcron#Update_e-mail

I tried to find answers at http://wiki.maemo.org/Fcron and http://wiki.maemo.org/Phone_control , but cant find answers to these two:
1. How can I check if "WiFi connected = Yes"
2. How can I check if "charging cellphone =Yes"

Any tips on how I can find out the answer?

PS.
Originally Posted by eiraku View Post
Anyway, is there any way a script can be created that shows a hildon notification "Reboot in 10s" before the N900 actually reboots? Through DBUS? How?
I'm not that good at this, but i would try to write a script with something like this (from http://wiki.maemo.org/Fcron#Update_e-mail ):
Code:
#!/bin/sh
run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"Reboot in 10s..."
sleep 10
reboot

Last edited by raffe; 2010-05-27 at 11:04.
 
Posts: 105 | Thanked: 26 times | Joined on May 2010
#25
Sorry to be such a noob, it's been a long time since I last touched my *nix box and I now have no idea of what to do with the given snippet.

Cut it and paste in the Fcron scheduling config file? Paste it into a script and make it executable (and how, actually do I do that)? Sorry.
 
Posts: 68 | Thanked: 4 times | Joined on Feb 2010
#26
I attemped to download fcron from ruskie's repository, but I cann't access to the site.

Please let me known where I can download fron.
Thanks
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#27
See attached.
Attached Files
File Type: deb fcron_3.0.1-2_armel_opt.deb (243.4 KB, 160 views)
 

The Following User Says Thank You to hawaii For This Useful Post:
Posts: 21 | Thanked: 6 times | Joined on Apr 2010
#28
Change volume to max (the last number 100 is max, so put any number from 0 to 100 to get what you want)
Code:
#!/bin/sh
dbus-send --session --type=method_call --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.extension.set_extension_property string:'volume' variant:uint32:100
Cant add to Wiki, so I add here

Last edited by raffe; 2010-06-08 at 18:58.
 

The Following User Says Thank You to raffe For This Useful Post:
Posts: 21 | Thanked: 6 times | Joined on Apr 2010
#29
Change Mail for Exchange peak_schedule time

Check settings:
Code:
run-standalone.sh gconftool-2 -R /apps/activesync
Set peak_schedule settings (check if yours is named ActiveSyncAccount1):
Code:
run-standalone.sh gconftool-2 --set /apps/activesync/ActiveSyncAccount1/schedule/peak_schedule --type=int 15
Where the last number is one of the following (as standard in GUI):
0 = Always on
-1 = Manual
15 = Every 15 minutes
30 = Every 30 minutes
60 = Every hour
240 = Every 4 hours
720 = Every 12 hours

I tried to add this to the Wiki here: http://wiki.maemo.org/Phone_control#...edule_settings Best if someone checks if I did it right (if not, give me feedback here so I know in the future).

Last edited by raffe; 2010-06-09 at 11:14.
 
Posts: 21 | Thanked: 6 times | Joined on Apr 2010
#30
Gradually increase the volume
For an example, you can use this if you softly want to wake up to music.

Code:
#!/bin/sh
# Gradually increase the volume, by raffe 
for i in 0 10 20 30 40 50 60 70 80 90 100
do
  dbus-send --session --type=method_call --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.extension.set_extension_property string:'volume' variant:uint32:$i
  /bin/sleep 5
done
Added to http://wiki.maemo.org/Fcron#Graduall...ase_the_volume
 
Reply


 
Forum Jump


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