shutdown (physical) button
Tino Keitel
tino.keitel+xfce at tikei.de
Mon Jun 16 14:52:07 CEST 2008
On Sun, Jun 15, 2008 at 18:43:47 -0700, Brian J. Tarricone wrote:
[...]
> That's not gonna work... for starters, you need DISPLAY set, which is
> easy, but you also need SESSION_MANAGER set, but that value changes
> with every new session. You'd have to do something like run a script
> on startup that saves that env var to a file somewhere, and then your
> shutdown script would have to read that file and set the var. An
> exercise left to the reader ^_^.
Is this also possible using dbus? This would be much less complex IMHO.
Regards,
Tino
More information about the Xfce
mailing list