04-10-2015, 05:45 AM
Interesting, Not sure what the issue is.
xfce uses this command to logout
There is a shutdown script also.
Open the text editor with this command
paste this code inside
save and close it.
You'll see logout.sh on the Desktop, right-click on it and make executable. When you run it it will bring a list of shutdown options.
Just remembered, it could be the AMD Graphics driver.
Are you using propriatary or free drivers?
xfce uses this command to logout
Code:
xfce4-session-logout --logout
There is a shutdown script also.
Open the text editor with this command
Code:
leafpad $HOME/Desktop/logout.sh
Code:
#!/bin/sh
LOGOUT=$(zenity --width=300 --height=300 --list --radiolist --text="Choose" --title="Logout" --column="Choice" --column="Action" TRUE "Shutdown" FALSE "Restart" FALSE "Suspend" FALSE Hibernate FALSE "Lock with xscreensaver" FALSE "Lock with light-locker" FALSE Logout)
if [ -n "${LOGOUT}" ];then
case $LOGOUT in
Shutdown)
dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
;;
Restart)
dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
;;
"Lock with xscreensaver")
xscreensaver-command -lock
;;
"Lock with light-locker")
light-locker-command -l
;;
Suspend)
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
;;
Hibernate)
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate
;;
Logout)
xfce4-session-logout --logout
;;
esac
fi
You'll see logout.sh on the Desktop, right-click on it and make executable. When you run it it will bring a list of shutdown options.
Just remembered, it could be the AMD Graphics driver.
Are you using propriatary or free drivers?
Code:
/usr/bin/software-properties-gtk --open-tab=4