Joined: 30 Aug 2002
|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:
|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!
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:
The value 'default' start with an empty session.
People whom think M$ is mediocre, don't know the half of it.