The Following 29 Users Say Thank You to nbc For This Useful Post: | ||
attila77, avinashsonee, canuckkat, Captwheeto, cheve, codeMonkey, donaggio, eitama, ejasmudar, epitaph, fpp, geneven, grog, ivyking, jschan, kamiwey, kojacker, m165, mannakiosk, mdengler, mikec, mtran66, nicolai, No!No!No!Yes!, phedders, shadow12, skalogre, strange1712, titan |
|
2010-03-23
, 22:15
|
Posts: 155 |
Thanked: 61 times |
Joined on Nov 2009
|
#2
|
|
2010-03-23
, 22:55
|
Posts: 21 |
Thanked: 0 times |
Joined on Nov 2009
|
#3
|
|
2010-03-23
, 23:14
|
Posts: 193 |
Thanked: 61 times |
Joined on Jan 2010
|
#4
|
|
2010-03-23
, 23:20
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#5
|
/usr/bin/logit.sh *
|
2010-03-24
, 08:31
|
Posts: 36 |
Thanked: 42 times |
Joined on Jan 2010
|
#6
|
|
2010-03-24
, 08:41
|
Posts: 64 |
Thanked: 109 times |
Joined on Mar 2010
|
#7
|
The Following User Says Thank You to mauron85 For This Useful Post: | ||
|
2010-03-24
, 08:54
|
Posts: 267 |
Thanked: 183 times |
Joined on Jan 2010
@ Campinas, SP, Brazil
|
#8
|
|
2010-03-24
, 12:04
|
Posts: 267 |
Thanked: 183 times |
Joined on Jan 2010
@ Campinas, SP, Brazil
|
#9
|
The package dbus-scripts-settings contains a script logit.sh which simply logs its parameters to the file /media/mmc1/logit.log. If you want to find out if some event generates dbus events, and what configuration line to use for it, create a file in /etc/dbus-scripts.d/ containing:
And generate the event. Reading the log file will show you all the dbus activity.Code:/usr/bin/logit.sh *
/usr/bin/logit.sh '*'
echo *
|
2010-03-24
, 12:05
|
Posts: 155 |
Thanked: 61 times |
Joined on Nov 2009
|
#10
|
I've recently played with dbus-scripts and it's really a great
toy/tool. It's a kind of swiss chainsaw for dbus .
It's a daemon that allow you to wait on choosed dbus events to run
external command. You don't need to code your own python daemon each
time, you can use dbus-scripts to launch shell or perl scripts.
Yes I know you can find some informations about dbus-scripts in some
threads but there's no thread about it and I think it deserves it.
Just few examples of things you can wait for :
I've created a wiki page with complete examples and links to
other ones like :
Thanks to Graham Cobb for dbus-scripts, really a great toy for
hardcore users