2008/2/14, Alex Schuster <[EMAIL PROTECTED]>: > Pupino writes: > > > I'm trying to use acpid with my gentoo laptop; it catches all events > > (battery, button, ac_adapter) but it can't execute the designed > > script, in any case. > > [...] > > > the script is called and it will simply display "Power button pressed" > > at the moment. It has execution permissions and the path is correct. > > > Um, where will it display the output? An echo would go nowhere, I think, > there is no terminal associated with that process. Have tou tried something > like "touch /tmp/button-pressed" in the script to test it is being > executed? > > Wonko > > -- > gentoo-user@lists.gentoo.org mailing list > >
Hi Wonko, you're right. echo simply does nothing. However I'm not able to execute everything, specially I would like to inform users with something like zenity but it doesn't work... but I've found an interesting thread on the forum that might help. Thanks for your help! Davide -- gentoo-user@lists.gentoo.org mailing list