Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-01-14 20:58:35

CwF
Member
Registered: 2018-01-28
Posts: 93

xfce4-session-logout delay

Is there a way to add a delay for xfce4-session-logout? I assumed I could add a delay by editing the launcher, but maybe not? I'd like a 5-10 second delay to allow switching away from a tty to another one and the regular log off and systemd auto log in is too fast!

Offline

#2 2021-01-16 17:47:28

CwF
Member
Registered: 2018-01-28
Posts: 93

Re: xfce4-session-logout delay

Well I've found nothing. Substituting various script attempts to add a delay give some wild results. 30 second after I switch tty's the system flips back to the auto logon tty!

So, the system boots normally. I added the convenient powerless guest account to auto logon only if you flip to that tty. If not, it's never active, you'd never know it's there. Once activated, now forever! You can flip back to the default tty and no worries, just some memory tied up. A new game is to see who can keystroke fast enough that the desktop doesn't restart, I can't.

Oh well...

Offline

#3 2021-01-16 18:55:23

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,415

Re: xfce4-session-logout delay

If you want to use a launcher for this, create one with the following command:

bash -c "sleep 15 && xfce4-session-logout"

Offline

#4 2021-01-16 19:28:55

CwF
Member
Registered: 2018-01-28
Posts: 93

Re: xfce4-session-logout delay

Yep, still the system switches back to that tty and restarts it. So I flip away and ignore it.

And add --logout switch otherwise it's 15 seconds to the choice dialog.

So maybe it's the systemd action I need to figure out.

Offline

Board footer

Powered by FluxBB