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 answers

2
Hussain Yousuf 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 $*