You are not logged in.

#1 2009-10-21 07:29:13

alphazo
Member
Registered: 2009-10-20
Posts: 167

How can I prevent xfce to save sessions?

Hello,

Evertime I start xfce it restores previous sessions even if I unselect the option on the shutdown window. Is there any config file I could edit so it doesn't save any session status (i.e. opened applications) ?

Thank you
Alphazo

Offline

#2 2009-10-21 10:32:49

VirtualRider
Member
Registered: 2008-08-20
Posts: 134

Re: How can I prevent xfce to save sessions?

It should be placed in ~/.cache/sessions/

Offline

#3 2009-10-21 10:36:33

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: How can I prevent xfce to save sessions?

I don't know if it's the exact name, but there should be something like "Session preferences" in the Xfce settings, where you can manually save a session and select apps to be started automatically after login.


1000

Offline

#4 2009-10-22 04:46:44

Murray_B
Member
From: Germany
Registered: 2008-07-29
Posts: 134

Re: How can I prevent xfce to save sessions?

Easy thing, just configure the desktop how you want it after login. This could be an empty desktop without any startet applications! After that log off with the SELECTED option to save this session. Then log on again and log off next time with the unselected session. Now xfce always starts with your wanted desktop and your wanted applications.

Offline

#5 2014-10-24 11:12:26

JamesCovenant
Member
Registered: 2014-10-24
Posts: 4

Re: How can I prevent xfce to save sessions?

Try just going to the folder "sessions" found in /home/USERNAME/.cache  and change the permissions for the user field and all others to "none" under the permissions tab of the file manager (Thunar)  Alternatively you can delete the "sessions" folder.  Remember all folders that begin with a "." are invisible so to see the .cache folder in your home folder you will have to go under the view menu of the file manager(Thunar) and check or select the "see hidden files" option. It's annoying to leave this checked and can lead to deleting important systems files and folders so generally you want it to be unselected.  One the sessions folder is changed to no permissions or otherwise deleted you should end your XFCE desktop saving the sessions.  Very bad programming they needed an option to turn off the saving fully.

Offline

Board footer

Powered by FluxBB