dufeu l33t
Joined: 30 Aug 2002 Posts: 924 Location: US-FL-EST
|
Posted: Sat May 26, 2018 6:04 pm Post subject: How to start KDE without restoring the session? [SOLVED] |
|
|
I normally invoke KDE from the command line: Code: | XESSEION=startkde startx -- :0 |
I have KDE set to always restore the state of the previous session.
I have a need to start KDE clean without restoring the session. This is a temporary copy of my main account. Basically, my KDE session usually includes a running copy of transmission and qbittorrent clients. For this temporary instance of my main KDE user, I need to start KDE without my bittorrent clients re-starting.
I'm assuming there's a config setting but I can't seem to find it. Also, if there is a 'startdke' option I can enter on the command line which does the same thing (start in a new session), I'd appreciate knowing that as well.
If anyone knows, please clue me in too!
Solution:
Finally found it by starting KDE on another account, opening KDE System Settings and changing the Desktop Session Login and Logout settings for "On Login" and checking which .config file got modified.
The file is ~/.config/ksmserverrc. The setting and available values are: Code: | loginMode=restoreSavedSession
loginMode=restorePreviousLogout
loginMode=default |
The value 'default' start with an empty session. _________________ People whom think M$ is mediocre, don't know the half of it. |
|