Peppermint OS Community Forum

General => General Discussion => Topic started by: opiumpoetry on February 28, 2019, 12:38:02 am

Title: shutdown button on desktop
Post by: opiumpoetry on February 28, 2019, 12:38:02 am
Found this little article on how to create a single-click shutdown button situated on the desktop. I tried it and it works. https://community.linuxmint.com/tutorial/view/1113
Title: Re: shutdown button on desktop
Post by: pin on February 28, 2019, 01:57:10 am
 :-\ Where's the link??
Title: Re: shutdown button on desktop
Post by: opiumpoetry on March 01, 2019, 04:29:07 am
OOPS! :D Just added it.  ;D
Title: Re: shutdown button on desktop
Post by: pin on March 01, 2019, 04:53:41 am
 8)
Title: Re: shutdown button on desktop
Post by: stevesveryown on March 05, 2019, 06:23:51 pm
I just create a launcher with the peppermint-logout command. I did one before and my wife would always seem to hit it and shut down the system while she was doing something.

Sent from my SM-G950U using Tapatalk

Title: Re: shutdown button on desktop
Post by: pin on March 05, 2019, 11:01:15 pm
 :D
That's why it isn't there in the first place  ;)
Title: Re: shutdown button on desktop
Post by: PCNetSpec on March 06, 2019, 07:44:57 am
Yep, I've never really understood why people want either a desktop icon or a panel item to shut down .. seems to be an accident waiting to happen to me, and a waste of panel/desktop space (through duplication) .. but each to their own right :)
Title: Re: shutdown button on desktop
Post by: rayzer on March 06, 2019, 06:05:29 pm
i have the actions buttons added to mine but iconified then set it up so only Log Out.. is selected. give you the choice to cancel or shutdown etc if accidentally hit
Title: Re: shutdown button on desktop
Post by: opiumpoetry on March 16, 2019, 10:31:17 pm
The action buttons on my panel only had logout working, nothing else. And how do you shutdown a pc without a button? Just use the power button on the keyboard? Isn't that bad for the pc?
Title: Re: shutdown button on desktop
Post by: Reddi-eng on September 03, 2019, 09:11:28 am
I'm new to this distro and forum.
Has ths question been answered?
Title: Re: shutdown button on desktop
Post by: Slim.Fatz on September 03, 2019, 12:10:04 pm
Hi Reddi-eng,

See the first message in this thread. It was not really a question, but more a statement about how to accomplish something (together with a link to the instructions for doing it). The other messages were mostly about the pros and cons of doing it.

And BTW: welcome to Peppermint and the forum.

Regards,

-- Slim
Title: Re: shutdown button on desktop
Post by: PCNetSpec on September 03, 2019, 07:17:20 pm
There's a better solution if you really want a shutdown icon on the desktop .. or would you prefer it on the panel ?

Now we're in the systemd era I'd suggest:-
Code: [Select]
systemctl poweroff
and/or
Code: [Select]
systemctl reboot
is MUCH preferable to messing around the permissions of the:-
Code: [Select]
/sbin/shutdown
utility, as prompted by the link in the first post here.

Neither of those require root permission, or hacking the permissions of /sbin/shutdown