Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

About changing lightdm unity greeter background image, most answers are to change /usr/share/glib2.0/schemas/com.canonical.unity-greeter.gschema.xml. Is there any way to change the default wallpaper in lightdm unity greeter without changing the file? Like an override file.

I'm making a debian package that would apply our own artwork after installing. I can't changing the file content in my maintainer script, which would violate debian packaging policy. I can change the unity desktop background by adding a schema override file in the same folder, but I couldn't find a way to change the lightdm background with similar way.

share|improve this question
    
I added a override file with [com.canonical.unity-greeter] background=<my_background_path> Didn't work. –  Franklin Apr 10 at 8:49

1 Answer 1

In Ubuntu 12.04, it is possible to do this programmatically via the dconf database for user lightdm e.g.

sudo -u lightdm dbus-launch --exit-with-session \
gsettings set com.canonical.unity-greeter background /usr/share/backgrounds/Tie_My_Boat_by_Ray_García.jpg

The change takes effect when lightdm is restarted.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.