xfce4-session-logout & tint2 (SOLVED)

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
golddigger

xfce4-session-logout & tint2 (SOLVED)

Post by golddigger »

I have a problem, whereby, if I logout merely bringing up the xfce4-session-logout dialog that is standard to xfce4
I have "save sessions unticked". Furthermore, in "sessions and startup" the save sessions option is also unticked.
In the "settings Editor", I also have "save sessions" unticked.

There is absolutely no problem there. If I use the standard dialog I can logout, reboot, and halt the system and
sessions are not saved.

The problem is in the fact that I use tint2 as a panel and made my own buttons to initiate those three procedures.
My "shutdown" button has the command : xfce4-session-logout --halt
Reboot has the command " xfce4-session-logout --reboot"
Logout = xfce4-session-logout --logout

Is there another switch I must add to make it so these commands will work without saving the session?
as all of them save the session.

If it is not that simple, can someone, please, put me in the right direction to solve the problem of
what command I need to use or what xfce files I need to edit to make it work
I'm not expecting anyone to do all the work for me. Just some signposts to the right thing to do would be very nice
unless it is as simple as a switch
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
golddigger

Re: xfce4-session-logout & tint2 (SOLVED)

Post by golddigger »

I just found the answer to this myself
so every command has to have
--fast
appended to it and then it wont save the desktop
xfce4-session-logout --halt --fast
xfce4-session-logout --reboot --fast
xfce4-session-logout --logout --fast

I hadnt realised --fast did not just apply to halt
It was the way the manual was written that confused me
Locked

Return to “Xfce”