LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-16-2002, 10:07 AM   #1
Chief Bender
LQ Newbie
 
Registered: Jul 2002
Posts: 2

Rep: Reputation: 0
Unhappy KDE logout script


I am desperate!

There must be a (hopefully) simple way for every KDE3 user to start a bloody script, just after logging out of KDE3.

If anyone has a solution PLEASE tell!


Thx in advance...
 
Old 07-20-2002, 11:10 PM   #2
kervin
Member
 
Registered: Jan 2002
Location: Melbourne, FL.
Distribution: redhat
Posts: 168

Rep: Reputation: 31
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?

--Kervin
 
Old 07-23-2002, 03:15 AM   #3
Chief Bender
LQ Newbie
 
Registered: Jul 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Tried that already. But the problem is that .logout is only called when logging in via shell! It is not called when KDE is exited.

I wrote a pseudo-deamon which is startet via .kde/Autostart and uses a trap-call to start another script once it is terminated.

Not a very nice solution... :-(
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE logout script - where is it? Riddick Linux - Software 7 09-08-2005 04:02 PM
.logout script On NetBSD EECore *BSD 0 07-10-2005 12:27 PM
logout after script runs bigdog0007 Linux - Newbie 6 06-24-2005 05:42 PM
logout script jaraju Linux - General 1 02-25-2005 10:44 AM
How logout from login-menu bash script? MikHud Linux - General 0 04-12-2002 12:01 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration