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/ShowLogout
If not, then:
xfconf-query -c xfce4-session -p /shutdown/ShowLogout --create --set false --type bool
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
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 Out
and using this shutdown script /usr/bin/xfce4-session-shutdown.sh:
#! /bin/sh
sudo /sbin/shutdown -h now $*
Offline
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 523.78 KiB (Peak: 524.63 KiB) ]