I cannot seem to be able to add a shutdown button to my LXPanel. In /usr/share/applications
there is a Shutdown (lubuntu-logout.desktop) containing the line Exec=lubuntu-logout
but it would not run.
It contains the following
[Desktop Entry]
Name=Shutdown
Comment=Shutdown or Reboot
Icon=system-shutdown-panel
Exec=lubuntu-logout
Path=
Terminal=false
StartupNotify=false
Categories=Utility;Settings;System;GTK
NoDisplay=false
In usr/bin
there is a shell script called lubuntu-logout
:
#!/bin/sh
lxsession-logout --banner "/usr/share/lubuntu/images/logout-banner.png" --side=top
Creating a desktop file that will contain the line Exec=lxsession-logout
should also work. But it does not!
Trying to make it executable, trying to find permissions in pcmanfm - properties:
In Thunar I can find the settings to make it executable:
But then running it I get
How should I edit it to make it run and then visible in menus so to add it to the panel?
OR: What is the correct content of the shutdown.desktop file?