You are not logged in.
I've created a few .desktop files over the years, but this one is eluding me.
Rather than using the log out/shutdown menu, I want to create a "1-click" shutdown launcher/button to shutdown my computer. I know the command in the terminal is shutdown -h -P now, but I don't know what to put after "Exec=" on the .desktop file.
Thanks in advance for any help.
Last edited by MC (2017-01-02 07:48)
Q4OS running Xfce
Offline
If you're using xfce then you can do this using existing tools.
In the panel add the Action Button
Right click and go to Properties
Set Appearance to Action Button
Uncheck all actions except for Shutdown
Uncheck Show Confirmation Dialogue.
Offline
It's true..."You learn something new every day." I never knew that was there.
Thanks Bin!
Q4OS running Xfce
Offline