Three clicks to poweroff

To close down my computer I have to click three times Power off / Log out. I am the only one thinking that is too much for this question?

4 Likes

Agreed, but unfortunately nothing to do with Fedora, but rather GNOME itself.
You can shorten the path somewhat by either

  • Setting the power button action to Shutdown and using that - that will circumvent the clicking twice in the system menu but not the final confirmation dialog - or
  • Disabling the dialog using gsettings set org.gnome.SessionManager logout-prompt false - that will circumvent the final dialog but not the need to click twice in the system menu.

I don’t know of a way to unfold the power menu in the system menu by default - that’s what I’d really like. I don’t mind the confirmation dialog, but hiding that stuff in a submenu is silly.

3 Likes

I personally think that clicking three times to shutdown the computer is fine considering how often I shut down my computer (once a day) and how long it takes to perform the three clicks (2 secs?).

However, you may find an extension that places a direct shutdown button Gnome’s top bar:

for example: https://extensions.gnome.org/extension/1056/gnome-shutdown-button/

3 Likes

See also: Four clicks to Power Off

6 Likes

I think it’s designed to use suspend as much as possible. The only time one is expected to restart is when Gnome-software goes “updates downloaded, restart to install?”.

I don’t use the mouse at all. Maybe that’ll work for you folks. More typing, but no leaving the home row on the keyboard:

  • super key to get to activities overview
  • “shu” -> search brings up “power off” button
  • hit enter
  • walk away and let it shut down in 60 seconds, or two right arrows + enter for immediate shutdown?

Or:

  • alt + f2 to bring up the command box
  • poweroff + enter (if you have a terminal open all the time like me, this is probably quickest)
6 Likes

You can try “Keybord shortcuts” in “Settings” to assign gnome terminal executing “halt” program to be assigned to keyboard keys combination. I believe halt program does not require root privileges. It is there probably more gentle way to close Gnome, than halt command, but there is need to search

I’m also more of a keyboard person, so I guess that’s why the many clicks annoy me even more whenever I do use the mouse.

However, I just read through the thread @vgaetera linked, and the additional step to unfold actually makes sense to me now: On my desktop the menu is fairly empty, so it seems pointless, but on a laptop with a bunch of connection options etc. having that unfolded actually can make the menu needlessly long.

Guess the lesson is that the GNOME devs actually do think about UI a lot …

1 Like

Thanks for answers. I will continue to use CTRL_ALT_DEL tp power off.

4 Likes

You could use “sudo systemctl poweroff”.

4 Likes

Oh well @blueshurricane4, you have to start a terminal in order to shut down the machine… We are not all old style UNIX bearded men :joy:

1 Like

You could put the shutdown command in a .desktop file. Then you can run it with whatever application launcher you use.

3 Likes

You can also assign systemctl poweroff to a key binding IIRC so you don’t have to open a terminal.

2 Likes

Personally, I prefer the following method:

Super, ~/`, Arrows, Enter

Advantages:

  • Keyboard friendly
  • Locale independent
8 Likes

That is super-cool, I didn’t know ~ etc bring up the power menu items.

3 Likes

What, you don’t always have a terminal running? :wink:

6 Likes

I prefer to use keyboard shortcuts:
super+alt+delete to trigger systemctl suspend
super+alt+end to trigger systemctl poweroff

4 Likes

Thanks. Great work. I will follow this project.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.