Power Off button is gone on Ubuntu 20.04 LTS

7,426

Solution 1

You may use this extension which brings out the submenu and rearrange the order.

Bring Out Sub Menu Extension

enter image description here

If you need installation Instructions..

  1. Download the Extension from the above link like this.
    enter image description here

  2. Go to the downloaded location/Directory/path.

  3. Right-click in the empty place and click "Open in Terminal"

  4. run the command

    gnome-extensions install BringOutSubmenuOfPowerOffLogoutButtonpratap.fastmail.fm.v5.shell-extension.zip
    

    (Note that tab completion is available, you dont need to type entire file name, Just type "BringOut" and hit tab)

  5. Refresh the gnome-shell with "Alt+F2 r" Enter method.

  6. run the command

    gnome-extensions enable [email protected]
    
  7. Refresh the gnome-shell with "Alt+F2 r" Enter method.

Now you will see the submenu out of it and merged with system menu.

Solution 2

If the problem is the numerous clicks to get to the Power-off button, you may create a keyboard shortcut linked to gnome-session-quit --power-off. It's even quicker than using the menu.

  1. Open Settings/Keyboard Shortcuts
  2. Go to the end of the list and press the "+" sign
  3. Under Name I entered Power off, but more importantly enter the above mentioned command as the one to run.
  4. Choose a shortcut of your choice. I chose Super + Alt + Down Arrow
Share:
7,426

Related videos on Youtube

F. Gil
Author by

F. Gil

Absolutely a beginner in every sense. I am here to learn and not to teach and the best way to learning is by reading other's people's questions and answers. I'm trying to learn a little bit of MacOS to take advantage of my daughter's mac

Updated on September 18, 2022

Comments

  • F. Gil
    F. Gil over 1 year

    I recently installed Ubuntu 20.04 LTS on my laptop and I noticed that I no longer have the Power Off button but rather a menu that I need to click on and then I need to click on Power Off... and then Power Off. Is there a way to get the button back?

    • UnKNOWn
      UnKNOWn about 4 years
      you want the exact button like in previous versions or get rid of that submenu is 0k??
    • F. Gil
      F. Gil about 4 years
      Any button would do but getting rid of the sub menus is fine too
    • Stan
      Stan about 4 years
      Jesus Christ, who in their right mind would think this was I good idea? :(((