Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #170787 > unrolled thread

Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults not working

Started byML mail <mlnospam@yahoo.com>
First post2016-08-06 23:40 +0200
Last post2016-08-08 11:20 +0200
Articles 6 — 2 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults  not working ML mail <mlnospam@yahoo.com> - 2016-08-06 23:40 +0200
    Re: Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults  not working Brian <ad44@cityscape.co.uk> - 2016-08-07 01:10 +0200
      Re: Changing background for GDM3 in  /etc/gdm3/greeter.gconf-defaults not working ML mail <mlnospam@yahoo.com> - 2016-08-07 12:30 +0200
        Re: Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults  not working Brian <ad44@cityscape.co.uk> - 2016-08-07 18:00 +0200
          Re: Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults  not working Brian <ad44@cityscape.co.uk> - 2016-08-07 21:00 +0200
          Re: Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults  not working Brian <ad44@cityscape.co.uk> - 2016-08-08 11:20 +0200

#170787 — Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults not working

FromML mail <mlnospam@yahoo.com>
Date2016-08-06 23:40 +0200
SubjectChanging background for GDM3 in /etc/gdm3/greeter.gconf-defaults not working
Message-ID<s3hu1-2MG-9@gated-at.bofh.it>
Hi,

I have a Debian 8 desktop with GNOME and would like to change the default dark grey background of the GDM3 login screen. For that I just adapted the 
etc/gdm3/greeter.gconf-defaults file and ran "dpkg-reconfigure gdm3" as documented on the GDM page of wiki.debian.org. Unfortunately that does not work, neither the setting to use a plain color as background.

Is this a bug or am I missing something?

Thanks for the help

Regards
ML

[toc] | [next] | [standalone]


#170792

FromBrian <ad44@cityscape.co.uk>
Date2016-08-07 01:10 +0200
Message-ID<s3iT7-3Rs-13@gated-at.bofh.it>
In reply to#170787
On Sat 06 Aug 2016 at 21:37:53 +0000, ML mail wrote:

> I have a Debian 8 desktop with GNOME and would like to change the default
> dark grey background of the GDM3 login screen. For that I just adapted the
> etc/gdm3/greeter.gconf-defaults file and ran "dpkg-reconfigure gdm3" as
> documented on the GDM page of wiki.debian.org. Unfortunately that does not
> work, neither the setting to use a plain color as background.
> 
> Is this a bug or am I missing something?

Please post the adapted file.

[toc] | [prev] | [next] | [standalone]


#170800 — Re: Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults not working

FromML mail <mlnospam@yahoo.com>
Date2016-08-07 12:30 +0200
SubjectRe: Changing background for GDM3 in /etc/gdm3/greeter.gconf-defaults not working
Message-ID<s3tvb-2td-1@gated-at.bofh.it>
In reply to#170792
Hi Brian,

Below is the content of my greeter.gconf-defaults file.

Note here that the banner-message does not appear either but the disable-user and disable-restart-buttons both work strangely enough.


[org/gnome/desktop/background]
picture-uri='file:///usr/share/images/desktop-base/bg-login.svg'
picture-options='zoom'

[org/gnome/login-screen]
logo='/usr/share/icons/gnome/48x48/places/debian-swirl.png'
fallback-logo='/usr/share/icons/gnome/48x48/places/debian-swirl.png'
disable-user-list=true
disable-restart-buttons=true
banner-message-enable=true
banner-message-text='Welcome to Debian 8'





On Sunday, August 7, 2016 1:00 AM, Brian <ad44@cityscape.co.uk> wrote:
On Sat 06 Aug 2016 at 21:37:53 +0000, ML mail wrote:


> I have a Debian 8 desktop with GNOME and would like to change the default
> dark grey background of the GDM3 login screen. For that I just adapted the
> etc/gdm3/greeter.gconf-defaults file and ran "dpkg-reconfigure gdm3" as
> documented on the GDM page of wiki.debian.org. Unfortunately that does not
> work, neither the setting to use a plain color as background.
> 
> Is this a bug or am I missing something?

Please post the adapted file.

[toc] | [prev] | [next] | [standalone]


#170813

FromBrian <ad44@cityscape.co.uk>
Date2016-08-07 18:00 +0200
Message-ID<s3yEy-5K4-7@gated-at.bofh.it>
In reply to#170800
On Sun 07 Aug 2016 at 10:26:55 +0000, ML mail wrote:

> Below is the content of my greeter.gconf-defaults file.

The file which comes with Jessie is named greeter.dconf-defaults. Its
contents are similar to yours. It looks like you have just deleted some
commented lines and renamed it.

> Note here that the banner-message does not appear either but the
> disable-user and disable-restart-buttons both work strangely enough.

I have no trouble with getting a banner-message to appear.

> [org/gnome/desktop/background]
> picture-uri='file:///usr/share/images/desktop-base/bg-login.svg'

Not a system file. One of yours? /usr/local/share is the place for it.

If I uncomment this line and reboot GDM fails to start. Is that what you
meant by "does not work"? Comment out this line and the next one.

> picture-options='zoom'
> 
> [org/gnome/login-screen]
> logo='/usr/share/icons/gnome/48x48/places/debian-swirl.png'
> fallback-logo='/usr/share/icons/gnome/48x48/places/debian-swirl.png'
> disable-user-list=true
> disable-restart-buttons=true
> banner-message-enable=true
> banner-message-text='Welcome to Debian 8'

This is the relevant section. As a user type

  gsettings set org.gnome.login-screen

and then press the TAB key twice. (TAB completion also works when typing
the command).

Can you see anything relating to a login background in the output of the
command? Neither do I; editing greeter.dconf-defaults is a non-starter.

Open the file

  /usr/share/gnome-shell/theme/gnome-shell.css

Find the section for lockDialogGroup and (as root) change the line

  background: #2e3436 url(noise-texture.png);

to

  background-color: blue;

and reboot. Alternatively, you could try

  background: url(/path/to/an/image);

  background: <whatever> url(noise-texture.png);

<whatever> could be something like "green" or "#2a6343".

An upgrade to gnome-shell-common would wipe out your changes to the
file. Prevent this with

  dpkg-divert --rename --add /usr/share/gnome-shell/theme/gnome-shell.css

and copy gnome-shell.css.distrib back to gnome-shell.css.

You asked about the existence of a bug; it is in the wiki page you
consulted.

[toc] | [prev] | [next] | [standalone]


#170821

FromBrian <ad44@cityscape.co.uk>
Date2016-08-07 21:00 +0200
Message-ID<s3BsJ-7sw-9@gated-at.bofh.it>
In reply to#170813
On Sun 07 Aug 2016 at 16:53:01 +0100, Brian wrote:

> and reboot.

Wasn't thinking. Rebooting is not necessary:

  systemctl restart gdm.service

is probably better.

I forgot to mention: feedback would be appreciated. Inquiring minds and
prospective wiki writers might appreciate it

[toc] | [prev] | [next] | [standalone]


#170838

FromBrian <ad44@cityscape.co.uk>
Date2016-08-08 11:20 +0200
Message-ID<s3OSZ-7Ux-7@gated-at.bofh.it>
In reply to#170813
On Sun 07 Aug 2016 at 16:53:01 +0100, Brian wrote:

> On Sun 07 Aug 2016 at 10:26:55 +0000, ML mail wrote:
> 
> > Note here that the banner-message does not appear either but the
> > disable-user and disable-restart-buttons both work strangely enough.
> 
> I have no trouble with getting a banner-message to appear.

Your observation was correct. You had uncommented "disable-user-list"; I
hadn't. It's a bug.

  https://bugzilla.gnome.org/show_bug.cgi?id=703972

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web