Re: [e-users] binding power button to power gadcon dialog
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 muz...@gmail.com 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 Haitzlerras...@rasterman.com wrote: On Mon, 20 Jul 2009 20:00:56 +0200 PaulTT pau...@gmail.com 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)ras...@rasterman.com -- 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 enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users -- ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] binding power button to power gadcon dialog
On Wed, 22 Jul 2009 12:05:04 +0200 Mister Olli mister.o...@googlemail.com said: hi... linux with acpid allows to include custom scripts into acpid event handling. see acpid documentation on how to do this... i know. this has been the mainstay of how a clean shutdown happens when you press the power off button. more recently this has stopped being used in favor of letting a gui session app in the desktop - like gnome, listen to acpid and then present some sort of dialog. :) 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) or just listen to acpid... :) 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 muz...@gmail.com 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 Haitzlerras...@rasterman.com wrote: On Mon, 20 Jul 2009 20:00:56 +0200 PaulTT pau...@gmail.com 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)ras...@rasterman.com -- 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 enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users -- ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
[e-users] top shows two enlightenment processes
Any particular reason I would see two enlightenment processes running on my box? Would that indicate I have two sessions running, possibly on different vts? -- Until later, Geoffrey Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. - Benjamin Franklin -- ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users
Re: [e-users] [E-devel] NOTICE: svn feature freeze this weekend (April 17-19)
Massimo Maiurana wrote: Gustavo Sverzut Barbieri, il 21/07/2009 00:25, scrisse: Thursday night I'll commit a FEATURE-LOCKED to svn trunk of course next friday is july 24, regardless of what the subject says :) Since you dev's love bugs :-! , here's a bug for you! When I go to a shelf setting, and enable the per-desktop setting, Show on specified desktops, the setting is applied on the desktops I selected. However, after closing the shelf settings and re-opening it, the first desktop is selected and the other desktops are not selected any more. This used to work fine a couple of months back. I have also tested this on a fresh ~/.e. -- ___ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users