maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   how to trigger an app when charging (https://talk.maemo.org/showthread.php?t=64515)

mtran66 2010-10-27 21:17

how to trigger an app when charging
 
I was wondering if there was a way to activate an app (flipclock) when I plug in the power. And possibly also close the app when I unplug the charging cable.

I tried searching, but I wasn't sure what I'm supposed to search for..triggers?

kureyon 2010-10-28 04:44

Re: how to trigger an app when charging
 
You can use "dbus-monitor" to see what events are triggered when charging, then use something like QBW (or whatever) to run whatever.

mtran66 2010-10-28 12:41

Re: how to trigger an app when charging
 
thanks I'll try that


All times are GMT. The time now is 14:38.

vBulletin® Version 3.8.8