3

I am using Xubuntu 12.04 with the xfce 4.10 ppa, and since updating xfce I can not disable the automatic session restore.

I have disabled the relevant options in 'Session and Startup', but it makes no differences and all my windows are still restored after login.

If I remove the content of .cache/sessions it works for the next reboot but after that the session will be restored again.

I thought about writing a script to delete it at startup, but I was wondering if there were any proper fixes to this issue.

Thanks,

2
  • Did you have a look at apps->gnome-session->options in gconf-editor whether its enabled there?
    – jobin
    Mar 9, 2014 at 10:34
  • not sure what you mean ? I am using xfce, where is this gnome-session ? Mar 9, 2014 at 17:57

2 Answers 2

1

Since there are no other suggestions, here is a quick fix for anyone who comes across this thread :

emacs _path_/startup.sh

write in the file

#!/bin/bash

rm -rf /home/_name_/.cache/sessions/*

make it executable

chmod +x _path_/startup.sh

go under 'Session and Startup' and add _path_/startup.sh to the applications automatically executed when xfce opens.

1

It is possible that you have stumbled on a bug related to the Action Buttons. For a discussion of a very similar issue reported recently see:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.