shutdown (physical) button
stephan at xfce.org
Mon Jun 16 16:15:22 CEST 2008
On Mon, Jun 16, 2008 at 2:52 PM, Tino Keitel <tino.keitel+xfce at tikei.de> wrote:
> 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.
This seems plausible.
More information about the Xfce