[Lvlug] Autorun Program on X logout (fluxbox)

Nachiketa Kalam fingolfin at thelinuxlink.net
Wed Oct 5 15:12:22 EDT 2005


dann s washko said:
> Paul Ryan wrote:
>> Follow on:
>> I should have mentioned that I'm running Fluxbox 0.1.14 as my window
>> manager.
>> ...
>> How does one key a program to run when you log out of an X session back
>> to the
>> X login window. What I'm looking for is something like .bashrc_logout or
>> .logout in the C shell, but that works with the GUI logout.
>>
>> Thanks,
>> Paul
>>
>
> The syntax works for both xinitrc and xsession.
>
> <snip>

An interesting modicum between global and local execution is this:

1) Move fluxbox to fluxbox.REAL
2) Replace fluxbox w/ a script that calls $HOME/.fluxbox/logout after flux
exits, actually:

if [ -x $HOME/.fluxbox/logout ]; then
  # Do it!
fi

This way you don't have to muck with *dm's config files and you get
personal logout config for each user.



More information about the Lvlug mailing list