Sami A. Hassanein a écrit :
On Wednesday 07 September 2005 08:32, Ingo Strauch wrote:
On Tue, 6 Sep 2005 21:48:56 +0200 "Sami A. Hassanein" <linux@hassanein.ch> wrote:
I want to run a user script when KDE goes down - where do I have to place such scripts?
You could create a ~/.xsession file that contains something like this:
------------ $WINDOWMANAGER <call to your script>
I use SUSE9.3 and KDE 3.4.0. I created the file ~/.xinitrc and put my script as you suggested, but nothing happend - it was not being called. Now I am looking for a solution sincd weeks and I really do not know how to achieve this. There must be a way to call a user script at closing of KDE of X.
-- Any help is very much appreciated. Regards, Sami
Hello, In order to replace my patch, I tried the different suggested ways, they work, BUT the script is runned after kde shutdown and the kde apps are not cleanly closed. It is the reason why I patched kde, my script is runned before leaving kde and kde apps are closed correctly. Regards. Michel.