Xfce Forum

Sub domains
 

You are not logged in.

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

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

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: 305

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
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

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"

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

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

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

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 524.1 KiB (Peak: 530.84 KiB) ]