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.
Logout instead of screensaver
Is it possible to make kde logout current user after certain inactivity, instead of starting screensaver?
Not that I know of. But you can force the desktop to lock when the screen saver engages. That way the user has to enter a password when he returns to his desk. It's not a full log off, but it's close. But forcing a log off could cause users to lose data because forcing it would also force applications closed. And if that were to happen without prompting the user to save changes, you could have unhappy users.
In retrospect, everything is funny.
-- Unknown
Well, thats the problem, in house I have a computer that multiple users use, but most times users doesn't log out. When another user wants to use it, it can't because it is locked and it doesn't know the password. I disabled user switching, because it led to freezes.
Ahh, I see. What you have is not a technology problem, but a dicipline problem - lol.
In retrospect, everything is funny.
-- Unknown
Exactly - I came up with something:
|
Source code
|
1
|
dcop ksmserver ksmserver logout 0 0 0
|
So, basically I have to create a script that does polling (e.g. once per minute) and if it detects screensaver running, then it forces logout procedure. I wonder if it will work, when screensaver is running.
Intriguing. Good luck with it.
In retrospect, everything is funny.
-- Unknown