Reply
Thread Tools
RevdKathy's Avatar
Posts: 2,173 | Thanked: 2,678 times | Joined on Oct 2009 @ Cornwall, UK
#11
This is certainly a development I could get behind. It's something I would find particularly useful. If you know how to create it, then Yes Please from me.
__________________
Hi! I'm Kathy and I'm a Maemo Greeter! Welcome.
Useful links for newcomers: New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
Did you know Meego.com has forums too?
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#12
heres what i get when i launch dbus monitor and change profiles:

ethod call sender=:1.3 -> dest=com.nokia.profiled serial=85 path=/com/nokia/profiled; interface=com.nokia.profiled; member=get_values
string "silent"
method return sender=:1.1 -> dest=:1.3 reply_serial=85
array [
struct {
string "calendar.alarm.enabled"
string "Off"
string "BOOLEAN"
}
struct {
string "clock.alarm.enabled"
string "On"
string "BOOLEAN"
}
struct {
string "email.alert.tone"
string "/usr/share/sounds/Emailalert1.aac"
string "SOUNDFILE"
}
struct {
string "email.alert.volume"
string "0"
string "INTEGER 0-100"
}
struct {
string "im.alert.tone"
string "/usr/share/sounds/chat-msg_in_bg.wav"
string "SOUNDFILE"
}
struct {
string "im.alert.volume"
string "0"
string "INTEGER 0-100"
}
struct {
string "keypad.sound.level"
string "0"
string "INTEGER 0-2"
}
struct {
string "ringing.alert.tone"
string "/usr/share/sounds/NokiaTune.aac"
string "SOUNDFILE"
}
struct {
string "ringing.alert.type"
string "silent"
string "STRING "Ringing" "Silent""
}
struct {
string "ringing.alert.volume"
string "0"
string "INTEGER 0-100"
}
struct {
string "sms.alert.tone"
string "/usr/share/sounds/Message1.aac"
string "SOUNDFILE"
}
struct {
string "sms.alert.volume"
string "0"
string "INTEGER 0-100"
}
struct {
string "system.sound.level"
string "0"
string "INTEGER 0-2"
}
struct {
string "touchscreen.sound.level"
string "0"
string "INTEGER 0-2"
}
struct {
string "vibrating.alert.enabled"
string "On"
string "BOOLEAN"
}
]
method call sender=:1.66 -> dest=com.nokia.profiled serial=22 path=/com/nokia/profiled; interface=com.nokia.profiled; member=get_value
string "silent"
string "system.sound.level"
method return sender=:1.1 -> dest=:1.66 reply_serial=22
string "0"
method call sender=:1.66 -> dest=com.nokia.profiled serial=23 path=/com/nokia/profiled; interface=com.nokia.profiled; member=get_value
string "silent"
string "system.sound.level"
method return sender=:1.1 -> dest=:1.66 reply_serial=23
string "0"
^C
~ $
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#13
solved!!!!

Heres the command to change profies:

dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled --print-reply com.nokia.profiled.set_profile string:"silent"
However it appears there is not Crontab installed on the N900!!!!

Last edited by rash.m2k; 2009-12-28 at 15:26.
 
Posts: 23 | Thanked: 8 times | Joined on Nov 2009
#14
Originally Posted by rash.m2k View Post
solved!!!!

Heres the command to change profies:



However it appears there is not Crontab installed on the N900!!!!
I noticed that too. That is why I posted that link (a few posts ago)
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#15
Originally Posted by pir View Post
I noticed that too. That is why I posted that link (a few posts ago)
Sorry I didn't read the whole list - however this person seems to have done it, although its with Maemo 4.0

http://www.gossamer-threads.com/lists/maemo/users/35685

This here also seems promising, specifically ALARM_ACTION_TYPE_DBUS :

http://maemo.org/api_refs/5.0/5.0-fi...947313667686b2
 
Posts: 10 | Thanked: 0 times | Joined on Dec 2009
#16
Will it change profile based on key words in the calendar? E.g. "meeting" will send it into silent, and end of meeting back into normal profile?
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#17
I think that would require too much parsing of data, perhaps a little too much for a script. but in place of crontab I think it may do just fine.
 
Posts: 7 | Thanked: 3 times | Joined on Jul 2006 @ Barcelona (Spain)
#18
I found some applications for Android that could be implemented in Maemo:

Locale for Android
SweetDreams (nformation in Spanish)

Regards,
Javi
 
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#19
This sounds similar to the app for symbian called best profiles.
It would be great for start if someone could create a GUI for auto profile switching from general to silent and back at predefinied time.
__________________
Christopher Stobbs

My Blog
 
Posts: 20 | Thanked: 15 times | Joined on Dec 2009
#20
I'd like to suggest another feature as part of this request: toggle vibrate on/off for the profile that is set at a specific time. For example, at night, set the phone to "silent" profile and also disable vibrate.
 
Reply

Tags
automation, crontab, request


 
Forum Jump


All times are GMT. The time now is 03:46.