You are not logged in.

#26 2013-04-16 08:33:51

mjb
Member
From: Germany
Registered: 2012-01-28
Posts: 68

Re: Gnome 3 -> Change login background

Sorry to reactivate this old thread, but this is another way to do it, that works just fine (i think this is what wonder ment in #12). I'll edit the wiki. There are also other tweaks available here.

EDIT: here are two script to set the gdm wallpaper and a logo (e.g. this one).

#!/bin/bash
mkdir /opt/login
echo -e "[org/gnome/desktop/background]\npicture-uri='file:///opt/login/wallpaper.jpg'" > /etc/dconf/db/gdm.d/01-background
cp $1 /opt/login/wallpaper.jpg
dconf update
#!/bin/bash
mkdir /opt/login
echo -e "[org/gnome/login-screen]\nlogo='/opt/login/logo.png'" > /etc/dconf/db/gdm.d/02-logo
cp $1 /opt/login/logo.png
dconf update

You have to run those as root, e.g.

sudo wallpaper.sh ~/Pictures/1.jpg
sudo logo.sh ~/Pictures/2.png

Wallpapers have to be jpgs, logos have to be pngs.

I won't update the wiki right now, because the information on the gdm page is out-of-date and the information on gnome page is marked for merging.

Last edited by mjb (2013-04-16 09:26:28)

Offline

#27 2013-06-11 14:31:14

c0da
Member
Registered: 2009-08-24
Posts: 11

Re: Gnome 3 -> Change login background

: ( Why does none of the above methods work for me? I've tried everything. Outputs:

$ su -l
Password: 
[root@0x02 ~]# su -l gdm -s /bin/bash
[gdm@0x02 ~]$ $(dbus-launch | sed -e s:^:export\ :)
[gdm@0x02 ~]$ GSETTINGS_BACKEND=dconf gsettings get org.gnome.desktop.background picture-uri
'file:///var/lib/gdm/Pictures/264525.jpg'
[gdm@0x02 ~]$ cat /etc/dconf/db/gdm.d/01-background 
[org/gnome/desktop/background]
picture-uri='file:///var/lib/gdm/Pictures/264525.jpg'
picture-options='wallpaper'
[gdm@0x02 ~]$ file /var/lib/gdm/Pictures/264525.jpg 
/var/lib/gdm/Pictures/264525.jpg: JPEG image data, JFIF standard 1.01

But still no background

Last edited by c0da (2013-06-11 14:34:01)

Offline

#28 2013-06-11 14:38:16

mjb
Member
From: Germany
Registered: 2012-01-28
Posts: 68

Re: Gnome 3 -> Change login background

What do you mean by "no background"? Since Gnome 3.6 there is no wallpaper during login. There is just a dark grey background. The wallpaper of the login screen is only visible after you entered the password and your desktop is loading.

Offline

#29 2013-06-11 14:48:53

c0da
Member
Registered: 2009-08-24
Posts: 11

Re: Gnome 3 -> Change login background

mjb wrote:

What do you mean by "no background"? Since Gnome 3.6 there is no wallpaper during login. There is just a dark grey background. The wallpaper of the login screen is only visible after you entered the password and your desktop is loading.

Ok. But the picture is not shown even after login when desktop is loading.

Offline

#30 2013-06-11 15:57:02

mjb
Member
From: Germany
Registered: 2012-01-28
Posts: 68

Re: Gnome 3 -> Change login background

Have you tried my instructions in post #26? What do you get instead? The blue striped wallpaper?

Offline

Board footer

Powered by FluxBB