maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   wiki page about dbus-scripts a great toy to play with dbus (https://talk.maemo.org/showthread.php?t=48132)

nbc 2010-03-24 13:56

Re: wiki page about dbus-scripts a great toy to play with dbus
 
Quote:

Originally Posted by Patola (Post 579908)
I hope you don't mind but I just linked to your dbus-scripts page from the Phone Control wiki page.

Sure not !

nbc 2010-03-24 14:03

Re: wiki page about dbus-scripts a great toy to play with dbus
 
Hi,

Quote:

Originally Posted by mauron85 (Post 579895)
Nice. Could you also add Command to Turn Screen On & Off

http://talk.maemo.org/showthread.php...ghlight=x11vnc

I'm not sure to understand you. Where do you want I add command to turn on/off the screen ? In a wiki page with list of dbus commands (like http://wiki.maemo.org/User:Jebba) or in one of the script ?

By the way, I will a link from DbusScripts to the dbus command list of Jebba. It could give idea of what we can do with dbus.

fpp 2010-03-25 20:18

Re: wiki page about dbus-scripts a great toy to play with dbus
 
Just be careful to leave some CPU cycles available for your phone to answer calls (private joke :-)

nbc 2010-03-25 20:26

Re: wiki page about dbus-scripts a great toy to play with dbus
 
:))

It happens again just 5 minutes ago, I cannot reply because my phone was busy logging too much things :)

stobbsc 2010-04-09 14:51

Re: wiki page about dbus-scripts a great toy to play with dbus
 
ooh this gives me an idea for a cool script.
something like an app I saw awhile ago.

when an sms is recieved and the body contains text of a specified kind so say a password
"12345"
then the script will start an alarm.
the question then is.
Can I have another script that will detect the phone being unlocked, so that if can then send out an sms to the send of the orignal.
so I find the code and start an alarm.
The user activates the phone and an sms is send back with the gps location of the phone.

could be cool for find your lost phone :-)

phedders 2010-04-10 13:41

Re: wiki page about dbus-scripts a great toy to play with dbus
 
Hmm send "123gps" and get back a coordinate... go visit the police...

Graham Cobb 2010-04-26 16:23

Re: wiki page about dbus-scripts a great toy to play with dbus
 
Quote:

Originally Posted by nbc (Post 579196)
Thanks to Graham Cobb for dbus-scripts, really a great toy for
hardcore users :)

Thanks for the thanks but be aware that this was originally based on code created by Matan Ziv-Av, who has now taken over maintainership of dbus-scripts and has enhanced it further. So Matan deserves your thanks going forward.

Graham

hugosenari 2011-01-09 21:04

Re: wiki page about dbus-scripts a great toy to play with dbus
 
Hi, thanks.

I play with this to warn my ubuntu when:
I receive sms;
Connection started;
Connection stopped

My "new sms" screenshot:
http://img406.imageshack.us/img406/8701/newsmscut.png

Requirements:
Maemo: dbus-scripts; ssh-client
Desktop: ssh-server, notify-send

Steps:
Install softwares and packages
Configure ssh with default user and shared key to not require login
Export dbus (http://ubuntuforums.org/archive/inde...t-1059023.html)
Create a script that calls Desktop ssh
ssh [your_pc_ip] [command_in_pc]
configure dbus-scripts to execute it

My script files:
http://www.4shared.com/file/8fobAHQp...criptstar.html
note: it use my relative path and hosts names: "~/sh" and host "pc"

jschan 2011-04-02 18:40

Re: wiki page about dbus-scripts a great toy to play with dbus
 
wow, i wish i had found this all sooner.

matan/graham/nbc - thanks for all the tools and documentation. the level of user customization this allows for is why i love my n900 over the competition.

impeham 2011-04-19 15:36

Re: wiki page about dbus-scripts a great toy to play with dbus
 
Is it possible to get an event when the phone is connected to TV? i'd like to reduce the brightness to minimum in such case to save battery.


All times are GMT. The time now is 12:39.

vBulletin® Version 3.8.8