You are not logged in.
Hi
I try to create a very simple thin client with XFCE 4.8.
Howto disable "Logout" button in the logout applet under XFCE?
I mean "Logout" option is not possible, when the user press on Logout menu button, then he gets just "Shutdown", "Restart" etc.
I've already tried:
xfconf-query -c xfce4-session -np '/shutdown/ShowLogout' -t 'bool' -s 'false'but it doesn't work.
Offline
Does the property exist?
xfconf-query -c xfce4-session -p /shutdown/ShowLogoutIf not, then:
xfconf-query -c xfce4-session -p /shutdown/ShowLogout --create --set false --type boolOffline
No ideas how you got that information, but no such property exists. You can only disable the shutdown and reboot buttons with kiosk mode, not the log out button.
Offline
Other solution is to change logout to 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 Outand using this shutdown script /usr/bin/xfce4-session-shutdown.sh:
#! /bin/sh
sudo /sbin/shutdown -h now $* Offline