Change lightdm-gtk-greeter background?

6,261

Method 1: Assuming you're running <=14.0.4,

sudo su
xhost +SI:localuser:lightdm
su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-user-backgrounds 'true'
gsettings set com.canonical.unity-greeter background 'path-to-image'

Worked for me. Also, you might need to chmod 644 your background.

Method 2

Copy the picture file to this location

/usr/share/backgrounds/

Change the file name to warty-final-ubuntu.png

(The image must be a PNG obviously)

Share:
6,261

Related videos on Youtube

realsub
Author by

realsub

Updated on September 18, 2022

Comments

  • realsub
    realsub over 1 year

    I've been Googling like a maniac trying to find an answer, so I've now decided to ask here.

    How do I go about changing the background of the login screen? (lightdm-gtk-greeter).
    It currently uses whatever background I set as desktop background, and doesn't listen to any configuration in the /etc/lightdm/lightdm-gtk-greeter.conf, this is what it's currently set to:

    [greeter]
    background=/home/illidan/Pictures/bg.png
    
  • realsub
    realsub about 8 years
    Tried both methods, tried the second one first but it didn't work. Then I moved onto the first one and got "No such schema 'com.canonical.unity-greeter'"
  • You'reAGitForNotUsingGit
    You'reAGitForNotUsingGit about 8 years
    What version of Ubuntu are you running? Because both methods work fine on 14.0.4 for me. (Literally, I just tried them)
  • realsub
    realsub about 8 years
    Running 14.04LTS. Sorry, forgot to mention I've also replaced unity with xfce.