However that stubborn Gnome dev who does not like to turn off or reboot his computer has made it extra hard to tweak it again;
He changed the name of the file so that he alone could decide what is best for our laptops
But he did not count with Berserks - here we go:
To get back the power off button in the user menu:
Code: Select all
sudo nano /usr/share/gnome-shell/js/ui/userMenu.jsFind:
this._haveSuspend = this._upClient.get_can_suspend();
and comment it out like this:
Code: Select all
// this._haveSuspend = this._upClient.get_can_suspend();On the line under add this:
Code: Select all
this._haveSuspend = false;Restart the GUI with <ALT>+<F2> and type r and hit <ENTER>
That takes care of it. The Arch Wiki is not up to date on this point yet! So that will not work until it is changed (I'll go over there as soon as I am finished here
I cant believe that the Gnome guys are so stubborn about this.
Edit:
The Arch Gnome Wiki is up to date now on this particular point
The permanent fix as described there:
Code: Select all
# pacman -S gnome-shell-extension-alternative-status-menuDoes not work anymore,, but I leave that to some Arch guru.
