Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to start KDE without restoring the session? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 896
Location: US-FL-EST

PostPosted: Sat May 26, 2018 6:04 pm    Post subject: How to start KDE without restoring the session? [SOLVED] Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum