Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
rated 0 times [  0] [ 0]  / answers: 1 / hits: 798  / 2 Years ago, mon, september 12, 2022, 11:38:07

I have been using Ubuntu 21.10 for about slightly more than a month now and there is a design choice that irritates me.

The "Log Out" button is placed below the "Power Off" button in the system menu. You can see the image link below.

Image depicting menu with "Lock", followed by a seperator, then "Restart", "Power Off", and "Log Out"

It irritates me as I am used to clicking the last option in the menu, like Mac OS. Is there a way to put the "Power Off" button below the "Log Out?"

I have installed a few different Extensions to try and fix this.

"Bring Out SubMenu of Power Off/Logout Button"
enter image description here
As you can see there is no option for me to reaarange. :/

"Top Bar Organiser"

A few others, but just haven't been able to put the Power Off Button below the Logout Button. Does anyone have a clue on how to reorder the options?

Also, I chanced on a few menu designs that look good like the link below.

A different menu design

I believe this was Gnome3 in 18.04? I much prefer the round buttons. I will be okay switching to this look too.

Thanks in advance for helping me!

More From » gnome


you can tweak the order by editing the extensions extension.js file.

Open the extensions extension.js file with below command

gedit $HOME/.local/share/gnome-shell/extensions/[email protected]/extension.js

Reorder the menu as you wish from _nextAction() funtion, for example

_nextAction() {
let boolean;
// Separator1
boolean = this.gsettings.get_boolean('remove-separator-1');
if (!boolean) { SystemMenu.addMenuItem(separator1); };
// Suspend
boolean = this.gsettings.get_boolean('remove-suspend-button');
if (!boolean) { SystemMenu.addMenuItem(suspend); };
// Switch User
let bindFlags = GObject.BindingFlags.DEFAULT | GObject.BindingFlags.SYNC_CREATE;
DefaultActions.bind_property('can-switch-user', switchUser, 'visible', bindFlags);
// Separator2
boolean = this.gsettings.get_boolean('remove-separator-2');
if (!boolean) { SystemMenu.addMenuItem(separator2); };
// Logout
boolean = this.gsettings.get_boolean('remove-logout-button');
if (!boolean) { SystemMenu.addMenuItem(logout); };
boolean = this.gsettings.get_boolean('remove-restart-button');
if (!boolean) { SystemMenu.addMenuItem(restart); };
// Power
boolean = this.gsettings.get_boolean('remove-power-button');
if (!boolean) { SystemMenu.addMenuItem(power); };

enter image description here

[#922] Monday, September 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 354
Total Questions: 105
Total Answers: 124

Location: Iraq
Member since Sat, Apr 3, 2021
3 Years ago
oraoming questions
Fri, Aug 20, 21, 10:08, 3 Years ago
Mon, May 24, 21, 21:56, 3 Years ago
Mon, Dec 12, 22, 23:21, 1 Year ago
Mon, May 30, 22, 01:38, 2 Years ago