Notices


Reply
Thread Tools
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#71
Guys, could you take the argument elsewhere please? It's up to shapeshifter to do what he wants with his app. If you disagree, grab the code and change it.

Now please, lets keep this thread about alarmed any any issues, etc, not personal arguements.

Thanks in advance.
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 

The Following 2 Users Say Thank You to lemmyslender For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#72
Installed; a very useful app; thanks!

Some suggestions for built-ins:
(sorry if these have already been suggested and I do recognise that these could be just as easily typed in...):

Set brightness like how the Display applet does it:
gconftool -s /system/osso/dsm/display/display_brightness -t int %d

Set the network mode:
http://talk.maemo.org/showpost.php?p=510860&postcount=2

And toggle the phone's radio:
dbus-send --print-reply --system --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.set_radio boolean:false ["true" to enable]
 
JohnLF's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#73
Also a feature request: is it possible for a little tickbox on the command execution entry that says "Run as root" ?
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#74
Heck, as long as we're throwing out requests

How about an enable/disable feature? That way you could "turn off" an alarm without removing it and having to set it up again later.
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 

The Following 2 Users Say Thank You to lemmyslender For This Useful Post:
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#75
Originally Posted by lemmyslender View Post
Guys, could you take the argument elsewhere please? It's up to shapeshifter to do what he wants with his app. If you disagree, grab the code and change it.

Now please, lets keep this thread about alarmed any any issues, etc, not personal arguements.
You're right. Just some concluding words from my side. I see, my text was mistakable and the intention didn't get as clear as I thought. I will try to revise my statements and open a brainstorm about an approach to enable such an universal structure.

Originally Posted by jcompagner View Post
But to come back to the tweakr stuff. So if you have already a "tweakerprofileswitcher.sh" bash file, so why the integration? Just call that file from an external command...
Maybe it's just the way it already works? Don't know as I didn't take a look at sourcecode yet.

Originally Posted by lemmyslender View Post
How about an enable/disable feature? That way you could "turn off" an alarm without removing it and having to set it up again later.
Very good point! Thought about it last night but of course already forgotten it this morning
 

The Following User Says Thank You to x-lette For This Useful Post:
skalogre's Avatar
Posts: 327 | Thanked: 249 times | Joined on Sep 2009 @ Λεμεσιανός, ρε!
#76
Ok, am I missing something? I haven't been able to successfully setup an automatic profile switch. I have three profiles (using Tweakr, of course) and have one event to change to a "Work" profile at 0830 and one to change back to "General" at 1730. As far as I can tell, no switching occurs.
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#77
Originally Posted by skalogre View Post
Ok, am I missing something? I haven't been able to successfully setup an automatic profile switch. I have three profiles (using Tweakr, of course) and have one event to change to a "Work" profile at 0830 and one to change back to "General" at 1730. As far as I can tell, no switching occurs.
It's working for me, I think I must have had shapeshifter pulling his hair out.

A good first step is to post the output of:
cat /var/cache/alarmd/alarm_queue.ini

This should give us some idea of whether or not the alarms are being created properly. Also check to make sure you have the latest version.
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 

The Following 2 Users Say Thank You to lemmyslender For This Useful Post:
skalogre's Avatar
Posts: 327 | Thanked: 249 times | Joined on Sep 2009 @ Λεμεσιανός, ρε!
#78
Hmm...I have to be honest, I cannot really make out what this means. I wonder if it has to do with the capitalisation on 'general' and 'Office'?



[#000000ed]
cookie: 237
trigger: 1268872200
flags: 131072
alarm_appid: Switch_back_to_general
alarm_time: 1268785800
alarm_tm.tm_year: -1
alarm_tm.tm_mon: -1
alarm_tm.tm_mday: -1
alarm_tm.tm_hour: -1
alarm_tm.tm_min: -1
alarm_tm.tm_wday: -1
alarm_tm.tm_yday: -1
alarm_tm.tm_isdst: -1
recur_count: -1
action_cnt: 1
recurrence_cnt: 1
action0.flags: 36
action0.exec_command: /bin/ash -c '/opt/alarmed/profileswitcher.sh general'
recurrence_tab0.mask_min: 1073741824
recurrence_tab0.mask_hour: 131072
recurrence_tab0.mask_wday: 62

[#000000ee]
cookie: 238
trigger: 1268926200
flags: 131072
alarm_appid: Starting_work
alarm_time: 1268753400
alarm_tm.tm_year: -1
alarm_tm.tm_mon: -1
alarm_tm.tm_mday: -1
alarm_tm.tm_hour: -1
alarm_tm.tm_min: -1
alarm_tm.tm_wday: -1
alarm_tm.tm_yday: -1
alarm_tm.tm_isdst: -1
recur_count: -1
action_cnt: 1
recurrence_cnt: 1
action0.flags: 36
action0.exec_command: /opt/alarmed/tweakrprofileswitcher.sh Office
recurrence_tab0.mask_min: 1073741824
recurrence_tab0.mask_hour: 256
recurrence_tab0.mask_wday: 62
 

The Following User Says Thank You to skalogre For This Useful Post:
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#79
At first glance I see a difference in the name of the called script. First it is called profileswitcher.sh, next time it's called tweakrprofileswitcher.sh. Maybe there is the problem? You could try deleting and newly adding the entries. Also check you have installed the latesr version of alarmed.
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#80
My alarms have /bin/ash /opt/alarmed/tweakrswitchprofile.sh profilename

From what shapeshifter has said, "general" should have the lowercase g.

Check your version, should be 0.1.7-3 and maybe remove and redo your alarms.

Also, tweakr replaces the general profile settings with your settings. So, your settings for Office overwrite the General settings. With the latest version of Tweakr, I no longer have a General setting, when switching profiles, I have Normal (daytime), Night (night, duh), and Silent.

I use alarmd to switch from Normal to Night and back. If your profile is set to Office, it is the General Setting, so switching to General shouldn't change anything. Maybe try setting up Office and Home profiles and switch between those?
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 

The Following User Says Thank You to lemmyslender For This Useful Post:
Reply


 
Forum Jump


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