View Single Post
Old 11-10-2012, 05:14 AM   #28
pepijndevos
Connoisseur
pepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 71
Karma: 23166
Join Date: Sep 2012
Device: Kindle 4NT
Yay!

I tried the above snippet in a waitforkey loop, and it works! Only... key code != character code, so it just displays question marks and crazy characters.

I'll try to find out how to send things from C code. I think I remember reading this all works over dbus, but I might be wrong.

[edit]

Code:
signal sender=org.freedesktop.DBus -> dest=(null destination) pat
h=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=N
ameOwnerChanged
   string ":1.239"
   string ""
   string ":1.239"
signal sender=org.freedesktop.DBus -> dest=(null destination) pat
h=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=N
ameOwnerChanged
   string ":1.239"
   string ":1.239"
   string ""
dbus-monitor of the set-prop snippet. Doe not make any sens to me, but at least some dbus stuff is sent.

The strings appear to be name, old owner, new owner: http://dbus.freedesktop.org/doc/dbus...erChanged.html

Still makes no sense. I think this is just a side-effect. The real action is happening somewhere else.

Maybe a strace on lipc will reveal something?

Last edited by pepijndevos; 11-10-2012 at 05:33 AM.
pepijndevos is offline   Reply With Quote