You are not logged in.
Pages: 1
Hi all, I'd like to customize the dialog that shows up after clicking the "log out" item on menu.
I've seen it's possible to change it by means of settings:/Components/session manager in control panel, hiding every entries but "end current session", but i'd like to show also "turn off" and "restart", which file do I need to edit?
Thanks, ciao
Offline
.. i'd like to show also "turn off" and "restart"
You can't do that, it's hardcoded.
Offline
There is a way round this.
The normal logout shutdown dialog is handled by ksmserver.
In your ./trinity/share/config you'll see kmserverrc - that's where your choices are stored.
There's not much you can do here to achieve your objective.
However this:-
https://sites.google.com/site/pmitev/to … outrestart
is what you're looking for.
tips & tricks >
KDE: shutdown, logout, restart
posted Jun 24, 2010, 1:34 PM by Pavlin Mitev
example command 'dcop ksmserver ksmserver logout 0 2 2'
First parameter: confirm
Obey the user’s confirmation setting: -1
Don’t confirm, shutdown without asking: 0
Always confirm, ask even if the user turned it off: 1
Second parameter: type
Select previous action or the default if it’s the first time: -1
Only log out: 0
Log out and reboot the machine: 1
Log out and halt the machine: 2
Third parameter: mode
Select previous mode or the default if it’s the first time: -1
Schedule a shutdown (halt or reboot) for the time all active sessions have exited: 0
Shut down, if no sessions are active. Otherwise do nothing: 1
Force shutdown. Kill any possibly active sessions: 2
Pop up a dialog asking the user what to do if sessions are still active: 3
I have tried using the suggested 0 2 2 config, but I think 0 2 3 or 020 may be a little kinder. I have used all 3.
As yet I'm unsure as to what it does to running applications - Seamonkey came back with a Restore Session which seems to indicate it does a straight kill.
This may or may not hurt KDE.
So, given it runs as a user you could create a desktop icon running that command and get instant shutdown - probably best if you make sure all applications are closed first!!
Hope this helps
Offline
Thank You very much bin, when i find some free time I'll try to play with it
Offline
@bin, I tried all the XXX combinations. I like this a lot. Thanks.
No Longer Using Q4OS
Offline
Pages: 1