Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 7255  / 2 Years ago, wed, october 19, 2022, 5:44:03

I recently switched from Unity (Ubuntu 11.10) to the Gnome Shell. It took some tweaking to have it all to my liking, but one thing keeps bothering me: I cannot find the 'shutdown' and 'restart' buttons in applications anymore, let alone place them in favorites!



In unity this was a piece of cake. i just opened the Dash home and searched for 'shutdown' or 'restart', and I could easily drag the buttons to the unity favorites on the left of the desktop.



Any thoughts on why Gnome doesn't even list these applications anymore? And how to fix it?


More From » 11.10

 Answers
0

The reason you can't find those .desktops in gnome-shell is because of the line in the.desktop



OnlyShowIn=Unity;


Don't have Gs installed but you could try any number of things.



Edit the line to



OnlyShowIn=GNOME;Unity;


Remove the line entirely



Copy the 2 desktops to your home directly, then remove the line entirely, ex. - below is one complete command, copy & paste into a terminal



mkdir -pv ~/.local/share/applications; 
cp /usr/share/applications/indicator-session-restart.desktop ~/.local/share/applications;
gedit ~/.local/share/applications/indicator-session-restart.desktop


Then edit out the line & it's space, save.



I'd go with the copy & edit method for both so after above -



cp /usr/share/applications/indicator-session-shutdown.desktop ~/.local/share/applications; 
gedit ~/.local/share/applications/indicator-session-shutdown.desktop


You may need to do a log out/in after


[#41817] Friday, October 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nstitutencert

Total Points: 171
Total Questions: 126
Total Answers: 124

Location: Azerbaijan
Member since Fri, May 12, 2023
1 Year ago
nstitutencert questions
Fri, Dec 10, 21, 16:31, 2 Years ago
Tue, Apr 19, 22, 05:51, 2 Years ago
Wed, Jan 26, 22, 07:52, 2 Years ago
Sun, Aug 29, 21, 21:43, 3 Years ago
;