hi... linux with acpid allows to include custom scripts into acpid event handling. see acpid documentation on how to do this...
so you should be able to: - create a custom script that calls your binary that does the popup - (not sure) can't you do it with dbus (is E able to fire up programs when certain dbus messages appear) Regards --- Mr. Olli On Wed, 2009-07-22 at 10:47 +1000, Carsten Haitzler wrote: > On Tue, 21 Jul 2009 09:52:54 +0200 muzzle <[email protected]> said: > > > Ubuntu automagically translate ACPI events into Xkeyboard events, and > > produce an x event each time a system button is pressed. If you are > > using ubuntu just use xev to determine what is the x key that > > corresponds to the power button and bind it to the system dialog. If > > you are using a different distribution then I don't know :( > > no they aren't. i've never seen this and just tested - an acpi button i have > wakes acpid and it gets the press, but x exhibits zero keyboard activity. it's > not ubuntu. it may be some gnome components listening to acpid, but it's not > ubuntu and x - it's no automagic. :) > > > Cheers, > > > > Emme > > > > On Tue, Jul 21, 2009 at 4:09 AM, Carsten Haitzler<[email protected]> > > wrote: > > > On Mon, 20 Jul 2009 20:00:56 +0200 PaulTT <[email protected]> said: > > > > > >> is there an 'easy' way to bind the power button to be able to popup a > > >> power managment menu like the one in illume/openmoko e17 > > >> environment?????? > > >> > > >> a friend of mine switched recently to e17 and pointed this out to me.... > > > > > > if it's a key in x - yes. but on laptops/desktops it almost never is. it's > > > an acpi button which isnt handled in x in any way (you have to go behind > > > its back and talk to acpid which may or may not be there with a unix > > > socket, or kernel acpi directly) > > > > > > -- > > > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > > > The Rasterman (Carsten Haitzler) [email protected] > > > > > > > > > ------------------------------------------------------------------------------ > > > Enter the BlackBerry Developer Challenge > > > This is your chance to win up to $100,000 in prizes! For a limited time, > > > vendors submitting new applications to BlackBerry App World(TM) will have > > > the opportunity to enter the BlackBerry Developer Challenge. See full > > > prize > > > details at: http://p.sf.net/sfu/Challenge > > > _______________________________________________ > > > enlightenment-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > > > > > > > ------------------------------------------------------------------------------ _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
