You are not logged in.

#1 2013-10-07 10:33:15

Cz-David
Member
Registered: 2012-05-25
Posts: 33

[Solved] Disable Xfce session saving

Xfce session saving is a major pain. Each time I start the computer I have to do alt f4 on twenty windows on multiple desktops. I have to close the second instance of pidgin... the second instance of conky. Sometimes even three pidgins are spawned.

I have tried

1) unchecking the save session on logout checkbox.
2) deleting the session folder.
3) creating a perfect session and saving it and then unchecking the save session on logout checkbox.

None of these work. And it is really frustrating to be alt f4 every day because just sometimes I manage to close xfdesktop by accident. Or forget to close one of the conky windows and the wallpaper changing script conky runs will then proceed and randomly during the day hang my xfdesktop. Or close the instance of the pidgin which has newly delivered messages on startup, now that's pain.

So frustrating. I want this behaviour out. Is there a way short of compiling from sources?

Last edited by Cz-David (2013-10-07 11:26:42)

Offline

#2 2013-10-07 10:43:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Disable Xfce session saving

Maybe you have to do it in a slightly different way: https://bbs.archlinux.org/viewtopic.php … 4#p1268424

Offline

#3 2013-10-07 10:45:43

Cz-David
Member
Registered: 2012-05-25
Posts: 33

Re: [Solved] Disable Xfce session saving

Thats the point 3) already tried that multiple times. It starts happening again.

I have a suspicion that the Action Buttons panel item is saving the session behind my back. But it offers me no option to change this.

Last edited by Cz-David (2013-10-07 10:47:16)

Offline

#4 2013-10-07 10:52:46

Cz-David
Member
Registered: 2012-05-25
Posts: 33

Re: [Solved] Disable Xfce session saving

I am gonna make the session file root writeable only... let's see if it helps, or crashes badly.

Yep, crashes badly on logout. But after a hard shutdown and a jurnal recovery and quick fsck. The session file I have modified starts a clean session. Now what is more painfull. Hard shutdowns or alt-f4 on start.

Last edited by Cz-David (2013-10-07 11:03:45)

Offline

#5 2013-10-07 11:25:48

Cz-David
Member
Registered: 2012-05-25
Posts: 33

Re: [Solved] Disable Xfce session saving

Ok, found a workaround.

added few lines to the SLiM config.

xfce4)
        rm ~/.cache/sessions/xfce4-session-dntb\:0
        cp ~/.cache/sessions/mineyoubastard ~/.cache/sessions/xfce4-session-dntb\:0
        exec dbus-launch xfce4-session
        ;;

It copies the perfect session before launching the session manager.

Offline

Board footer

Powered by FluxBB