[FSO-testing] Can't start GUI with oevents rule.

digger vermont dv_mlist at verizon.net
Tue Oct 28 18:54:37 CET 2008


Hello,

I'd like to start a GUI I've made, fso-control, with a press of the
power button.  Created a rule

trigger: InputEvent()
    filters:
             - HasAttr(switch, "POWER")
             - HasAttr(event, "pressed")
    actions: Command("fso-control")

It works for commands with out a gui.  For example "aplay test.wav"
works.  I tried setting DISPLAY=:0 a few different ways but it didn't
help.  I can start fso-control with an icon on the desktop.  What am I
missing?

Thanks,
digger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.openmoko.org/pipermail/devel/attachments/20081028/e7d8b10a/attachment.pgp 


More information about the devel mailing list