I've tried to disable session restore in the session settings, as well as remove the contents from ~/.cache/sessions. However, neither prevents xfce from restoring the session after reboot. Haven't found much else on this. Are there other leads?
Using XFCE 4.10.2 on Linux Mint 13
Session restore - cannot disable
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Session restore - cannot disable
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Session restore - cannot disable
I tried xfconf-query, but that didn't work. I then read the steps here
It seems that the user's xfce4-session.xml doesn't override the global one (a bug?). So I modified both, and /etc/skel for good measure.
with
also removed the session folder
It seems that the user's xfce4-session.xml doesn't override the global one (a bug?). So I modified both, and /etc/skel for good measure.
Code: Select all
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
Code: Select all
<channel name="xfce4-session" version="1.0">
<property name="general" type="empty">
<property name="SaveOnExit" type="bool" value="false"/>
Code: Select all
rm -r ~/.cache/sessions