I want to be able to change the default background (wallpaper) for all new accounts. Not enforce it after that, but it should be on as default choice. I need to do this on 12.04 with unity and I need to be able to do it from the shell (as it will be installed through a package). Any ideas?
Asked
Active
Viewed 2,355 times
2 Answers
0
I've done this using gsettings for GNOME3, simply having a package with
debian/gsettings-override:
[org.gnome.desktop.background]
picture-uri='file:///usr/share/my-background-package/my-background.png'
for example (I'm guessing similar mechanisms exists for xfce and kde as well, though you might have to explicitly install the override there..).
And then making sure that the package installs this background in that location via
debian/install:
my-background.png usr/share/my-background-package
and storing the image as my-background.png in the root of the package source.
arand
- 800
-1
gsettings set org.gnome.desktop.background picture-uri file://<path_to_pic>
Run it once on the computers in question.
dizzi90
- 11