Add TryExec=lxsession-logout into lxde-logout.desktop.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 20 Feb 2016 15:17:09 +0000 (17:17 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 20 Feb 2016 15:17:09 +0000 (17:17 +0200)
If lxsession isn't installed then hide not functioning desktop entry.

lxde-logout.desktop.in

index 1390f43..99197be 100644 (file)
@@ -4,4 +4,5 @@ _Name=Logout
 _Comment=Logout, shutdown or reboot
 Icon=gnome-logout
 Exec=lxde-logout
+TryExec=lxsession-logout
 NoDisplay=true