Enabling or disabling grid (or any other option) doesn't work for users through dconf-editor or gsettings command

Bug #981335 reported by Doug McMahon
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
NULL Project
Invalid
Undecided
Unassigned
unity-greeter (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Nor does any other option in com/canonical/unity-greeter
Apparently options can only be changed as a 'lightdm user'

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity-greeter 0.2.7-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu2
Architecture: i386
Date: Fri Apr 13 22:52:44 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity-greeter
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-greeter (Ubuntu):
status: New → Confirmed
Revision history for this message
Hanine HAMZIOUI (hanynowsky) wrote :

Thanks for opening this Bug @Doug !
Just to confirm that whatever the user, the Grid wouldn't get disabled through : com/canonical/unity-greeter (uncheck box).

I have three users, me (default user), samba user and guest. Whatever the user I point to on lightdm greeter, the grid is there!

Revision history for this message
papukaija (papukaija) wrote :

Workaround:

sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-grid false
exit

Use "gsettings list-keys com.canonical.unity-greeter" to find other configurable options

(taken from http://ubuntuforums.org/showpost.php?s=238abaf0e5a7a8f9e350c7dfc461438f&p=11840170&postcount=25)

summary: - gsetting to enable or disable grid no longer works for users
+ gsetting to enable or disable grid (or any other option) no longer works
+ for users
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: gsetting to enable or disable grid (or any other option) no longer works for users

Thank you for your bug report, what do you mean "for users"? There is one greeter and it's a system service, it's normal it doesn't try to read settings from normal users, it's not meant to, you need to change the settings for the lightdm user.

Changed in unity-greeter (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Doug McMahon (mc3man) wrote :

I guess I mis-phrased that - I mean by me (a user) going into gsettings & changing any of the available options, None work,
I would assume that I could based on this bug report & comment
Bug 883908
https://bugs.launchpad.net/unity-greeter/+bug/883908/comments/5

Doug McMahon (mc3man)
Changed in unity-greeter (Ubuntu):
status: Incomplete → New
Revision history for this message
papukaija (papukaija) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I'm closing it as lightdm doesn't read settings from normal users. Please see comment 5 of this bug for more details. Please submit any future bugs you may find.

Changed in unity-greeter (Ubuntu):
status: New → Invalid
Changed in unity-greeter (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Russell Neches (ubuntu-vort) wrote :

papukaija, Sebastian --

I hope you'll take another look at this bug. Doug's point is that there is no *interface* for modifying these settings. It isn't normally possible to log in as the lightdm user, and even if it were, that would be silly.

You can switch the status to 'won't fix' if there is no plan to implement an interface, but please don't misconstrue the problem.

Russell

Revision history for this message
papukaija (papukaija) wrote :

Thanks for the feature suggestion. However, I'm closing this bug as such feature would go to dconf-editor. Please submit any future bugs you may find.

Changed in unity-greeter (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Doug McMahon (mc3man) wrote :

This is starting to get annoying - the Options are in dconf-editor but are not working, see screen

Some of these options were just recently added - Why?

If the intention is a "user" needs to do something like this, as mentioned that's silly & not in line with the philoshy of not enabling options for just a few users

sudo gedit /usr/share/glib-2.0/schemas/50_unity-greeter.gschema.override

[com.canonical.unity-greeter]
play-ready-sound = false
draw-grid = false

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

Not to mention that this then becomes a global setting

So as Russell said, if you want to state that you 'won't fix' fine, or if should bugged against something else please do so

Changed in unity-greeter (Ubuntu):
status: Invalid → New
Doug McMahon (mc3man)
summary: - gsetting to enable or disable grid (or any other option) no longer works
- for users
+ enabling or disabling grid (or any other option) no longer works for
+ users thru dconf-editor or gsettings command
Revision history for this message
papukaija (papukaija) wrote : Re: enabling or disabling grid (or any other option) no longer works for users thru dconf-editor or gsettings command

Dough: You don't need to edit any system files. Use this to alter Unity greeter's settings:

sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-grid false
exit

Use "gsettings list-keys com.canonical.unity-greeter" to find other configurable options

(source from http://ubuntuforums.org/showpost.php?s=238abaf0e5a7a8f9e350c7dfc461438f&p=11840170&postcount=25)

summary: - enabling or disabling grid (or any other option) no longer works for
- users thru dconf-editor or gsettings command
+ Enabling or disabling grid (or any other option) doesn't work for users
+ through dconf-editor or gsettings command
affects: unity-greeter → null
Changed in null:
status: New → Invalid
Revision history for this message
papukaija (papukaija) wrote :

Closing. Please see comments 5 and 7/8 for more details. I've opened bug 992788 so that dconf-editor would allow to set system wide settings. Don't forget that the greeter's settings can also be changed by editing /etc/lightdm/unity-greeter.conf.

Changed in unity-greeter (Ubuntu):
status: New → Invalid
Revision history for this message
somu (ssekharr45) wrote :

hi,
Can any one tell me, how to disable the startupsound in ubuntu 12.04...

 I followed these steps..

$ gksudo gedit /usr/share/glib-2.0/schemas/50_unity-greeter.gschema.override

Add these lines:

[com.canonical.unity-greeter]
play-ready-sound = false

Save, then run:

$ sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

--> The Sound is still comming. Its like text reader....
Please suggest me how to disable it....

Revision history for this message
Ali Najafi (alinajafi) wrote :

I had this problem in 12.10 and now I have in 13.04 too. 13.04 even doesn’t draw the user background!
Does anybody know how I can enable it with "override" codes?

Revision history for this message
Doug McMahon (mc3man) wrote :

Ali - this bug is dead & buried, see comment 11 for how
As far as not using the user's background in the greeter that's an open bug, how to re-enable in dcof/gsettings is in description, I'll make more obvious
Bug 1122619

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.