Logout button in XFCE can't be blocked

1.3k Views Asked by At

Hi

Is there any way how to disable logout button in XFCE logout menu? I know how to disable shutdown, restart or hibernation but no luck with logout.

Thanks

1

There are 1 best solutions below

2
On

why don't you try openboxlogout you can customize it according to your like. or change the logout to do something else eg shutdown change in /usr/share/applications/xfce4-session-logout.desktop:

    [Desktop Entry]
Version=1.0  
Type=Application  
Exec=/usr/bin/xfce4-session-shutdown.sh  
Icon=system-log-out  
StartupNotify=false  
Terminal=false  
Categories=System;X-XFCE;X-Xfce-Toplevel;  
OnlyShowIn=XFCE;  
Name=Log Out   

and using this shutdown script /usr/bin/xfce4-session-shutdown.sh:

#! /bin/sh     
sudo /sbin/shutdown -h now $*