Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
How to execute a command a each logout.
Hi,
everything is in the title. I want to be able to run a program each time I logout from a kde session. I looking for something like autostart but for logout.
Thanks for any help.
Manoel
you can try the '.logout', but that script to run whenever a interactive shell logouts out, not just the very last one.
Maybe in your .logout script you can test to see if that script is the last to exit?
The Best Games are for Download @
GCCLINUX
Original von tuxnet
you can try the '.logout', but that script to run whenever a interactive shell logouts out, not just the very last one.
Maybe in your .logout script you can test to see if that script is the last to exit?
I have thought about this but the script I want to execute need interaction trought konsole. I would like something witch intercept the click on logout from kmenu or on lock/logout applet which run first my small program and then logout.
Somebody answered my question here:
http://lists.kde.org/?l=kde&m=105593973330390&w=2
I've just created a ~/.kde/shudown directory and putted my script in.
Manoel.