Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1925  / 2 Years ago, tue, april 19, 2022, 12:11:43

After I updated to 13.04, Ubuntu immediately shuts down without confirmation when I press the power button. Also, it doesn't ask for confirmation if I select an otion from the top-right gear menu.
I tried setting the flag org.gnome.gnome-session.logout-prompt to true in dconf-editor and I set the power button action to "Interactive" in Tweak Tool.


More From » shutdown

 Answers
5

I finally found the solution!
Apparently the setting of /org/gnome/gnome-session/logout-prompt is ignored in newer Ubuntu versions, the right key was /apps/indicator-session/suppress-logout-restart-shutdown.
So to fix this, do dconf write /apps/indicator-session/suppress-logout-restart-shutdown false in terminal. It should take effect immediately without restart.
It seems that sometimes this value is set to „true“ by upgrade or third party applications.


[#31571] Wednesday, April 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
onbean

Total Points: 29
Total Questions: 102
Total Answers: 115

Location: Benin
Member since Fri, Mar 24, 2023
1 Year ago
onbean questions
Fri, Mar 18, 22, 19:49, 2 Years ago
Tue, Dec 6, 22, 11:51, 1 Year ago
Mon, Jun 7, 21, 17:21, 3 Years ago
Mon, Jan 16, 23, 04:48, 1 Year ago
Mon, Oct 17, 22, 14:51, 2 Years ago
;