Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2277  / 1 Year ago, sun, may 14, 2023, 8:19:38

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?


More From » 12.04

 Answers
3

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.


[#25133] Monday, May 15, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lasagnerhead

Total Points: 487
Total Questions: 105
Total Answers: 122

Location: French Southern and Antarctic Lands
Member since Sun, May 3, 2020
4 Years ago
;