After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686057 - add a way to force the log out menuitem
add a way to force the log out menuitem
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-12 20:38 UTC by Matthias Clasen
Modified: 2013-05-16 09:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.86 KB, patch)
2012-10-29 04:30 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2012-10-12 20:38:51 UTC
I've heard quite a bit of feedback from people who want to log out, even if they are the sole user on their system. It doesn't seem work alienating them over this; can we add a setting to make the log out item show up, always ? 

I don't think we want to put the setting anywhere in the ui.
Comment 1 Jasper St. Pierre (not reading bugmail) 2012-10-12 20:41:23 UTC
Or just put it there always?
Comment 2 Matthias Clasen 2012-10-16 18:18:19 UTC
Also see bug 685917
Comment 3 Allan Day 2012-10-23 13:55:19 UTC
Log out doesn't make much sense on a single user system, and I really like the current behaviour. I wouldn't have a problem with having a setting for this in gsettings/the tweak tool though.
Comment 4 Matthias Clasen 2012-10-29 04:30:41 UTC
Created attachment 227498 [details] [review]
patch

Here is a patch that makes it so; it applies on top of bug 686736
Comment 5 Matthias Clasen 2012-10-31 16:46:34 UTC
reviewed by Jasper on irc, tested, and pushed
Comment 6 Ma Hsiao-chun 2012-11-24 21:40:27 UTC
> Log out doesn't make much sense on a single user system, and I really like the
> current behaviour. I wouldn't have a problem with having a setting for this in
> gsettings/the tweak tool though.

Though this is already fixed. I'd point out that you are wrong here.
There is a very obvious user case, change UI language in g-c-c.
The UI says "change will be applied next time your login in".
Then what? Reboot?
Comment 7 Milan Bouchet-Valat 2012-11-25 10:22:30 UTC
So maybe the control center should provide a button to log out in that case? Sounds most logical. Please file a bug against g-c-c.
Comment 8 Joseph D. Wagner 2012-12-30 20:07:45 UTC
Though this is already fixed, I'd like to point out another scenario where a "Log Out" button would be useful in a single-user configuration -- home server.

Not everyone is a whiz with the command-line.  They have the GUI installed to help with configuration, but they do not want to be logged into a system they are not going to touch for weeks at a time.
Comment 9 Joseph D. Wagner 2013-01-25 18:28:51 UTC
I am using gnome-shell-3.6.2-6.fc18.x86_64, but this fix does not appear to work for me.  I rebooted after changing, but it didn't help.

Could you help me identify if 1) I am doing something wrong, 2) Fedora's RPMS isn't up-to-date enough, or 3) the bug isn't fixed?

From /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.xml:

<key type="b" name="always-show-log-out">
<default>true</default>
<summary>Always show the 'Log out' menuitem in the user menu.</summary>
<description>This key overrides the automatic hiding of the 'Log out' menuitem in single-user, single-session situations.</description>
</key>
Comment 10 Florian Müllner 2013-01-25 18:41:42 UTC
> Could you help me identify if 1) I am doing something wrong, 2) Fedora's RPMS
> isn't up-to-date enough, or 3) the bug isn't fixed?

It's 4): there's a bug in 3.6.2 that has been fixed in master and gnome-3-6 by now[0].


[0] http://git.gnome.org/browse/gnome-shell/commit/?h=gnome-3-6&id=57d6fec65edc02a354
Comment 11 Pierre Ossman 2013-05-16 09:06:49 UTC
You've also completely forgotten about remote connections. At that point logging out is a perfectly sane and common action, even if the system only has a single user. I'd even say this is a critical function given all the hate there's been against multiple sessions the last couple of years.