[Lvlug] Autorun Program on X logout (fluxbox)
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
>> 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.
> The syntax works for both xinitrc and xsession.
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
if [ -x $HOME/.fluxbox/logout ]; then
# Do it!
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