Re: How to run a program before logging out
On Thursday 21 October 2004 00:11, debian-user-digest-request@lists.debian.org
wrote:
> Anybody knows if there is a way to execute some command(s) before logging
> out from a gnome session?
This is a reply to a similar post I made on the KDE list. I assume there may
be something quite similar around gnome:
> How does one execute some scripts on logging out of a kde session?
If you want them run as root, have:
$KDEDIR/share/config/kdm/Xreset
script source them.
If you want them run as USER, have them sourced at the end of the:
$KDEDIR/bin/startkde
script.
Reply to: