The Following User Says Thank You to VII For This Useful Post: | ||
|
2010-07-14
, 11:11
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#2
|
The Following User Says Thank You to Matan For This Useful Post: | ||
|
2010-07-14
, 11:35
|
Posts: 1,751 |
Thanked: 844 times |
Joined on Feb 2010
@ Sweden
|
#3
|
|
2010-07-14
, 11:36
|
Posts: 134 |
Thanked: 41 times |
Joined on Mar 2010
|
#4
|
|
2010-07-14
, 13:19
|
Posts: 21 |
Thanked: 8 times |
Joined on Dec 2009
|
#5
|
There is a package dbus-scripts that provides this functionality, but is not user level. You need to generate a config file to get a script running as a result of specific dbus signals, and you need to write scripts to do what you want.
There is also a package dbus-scripts-settings that provides a GUI for the event selection part. For example. you can easily do something like: "run script x when touch screen is unlocked".
What you want seems to be something like: write a lot of scripts for various actions, and modify dbus-scripts-settings to allow user to select action (such as "change skype status to offline") instead of a script file, and have the program select the script accordingly.
See here for some details: http://wiki.maemo.org/DbusScripts .
|
2010-07-14
, 13:28
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#6
|
|
2010-07-14
, 23:39
|
Posts: 21 |
Thanked: 8 times |
Joined on Dec 2009
|
#7
|
|
2010-07-16
, 03:42
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#8
|
I'm thinking on making an application with the ability catch dbus signals on user request such as wlan, charger, calls, im: conections disconnections etc. and then alowing the user to select an action with the option for a delay.
Anyway I wanted to know who would really use this?
Not really interested in developing an whole application for myself...
Anyway I wanted to know who would really use this?
Not really interested in developing an whole application for myself...