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.
Locked
Previous1

Session restore - cannot disable

Post by Previous1 »

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
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.
Previous1

Re: Session restore - cannot disable

Post by Previous1 »

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.

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
with

Code: Select all

<channel name="xfce4-session" version="1.0">
  <property name="general" type="empty">
    <property name="SaveOnExit" type="bool" value="false"/>
also removed the session folder

Code: Select all

rm -r ~/.cache/sessions
Locked

Return to “Xfce”