How to customise GNOME default background and lock screen image?How to change display settings and gnome tweak tool settings by using terminal?Customization of LiveCDs Wallpaper, Keyboard Layout, Network adapter drivers and fix screen resolutionGNOME lock screen (screensaver) is missing music controlsWhat is wrong with this method of using an alternate lock screen background?How can I change the Kubuntu background from default?Cannot change lock screen background on Ubuntu 18.04How do I change lock/login screen background on Ubuntu 18.04 with 2 displays18.04 - Cannot change the background color of the LOCK screen, not the Login screen
How replayable is Pandemic Legacy? (Is the game still playable after you have completed it)
How much transparency about runway should I expect from startup employer?
Why does `print <$> (print "hello")` print "hello"?
Uncountably many functions coinciding only finitely many values
We know someone is scrying on us. Is there anything we can do about it?
Alternatives to boxes
Hell0 W0rld! scored by ASCII values
Non-differentiable Lipschitz functions
Mysql - Average price for top 10% cheapest volume (algorithm help)
Suspicious connections coming from Firefox (possible malware)
Are there any spells that aren't on any class's spell list?
Tables inspiration, any advice?
How does a manufacturer determine the warranty for the battery?
Impeachment jury tampering
Why is macOS limited to 1064 processes?
How to install wine (i386) on Ubuntu 19.10?
Could an eternal or near-eternal battery exist?
On the finite simple groups with an irreducible complex representation of a given dimension
What are the Advantages of having a Double-pane Space Helmet?
What is a word for the feeling of constantly wanting new possessions?
Right way to say I disagree with the design but ok I will do
Echo bracket symbol to terminal
Is velocity a valid measure of team and process improvement?
Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface
How to customise GNOME default background and lock screen image?
How to change display settings and gnome tweak tool settings by using terminal?Customization of LiveCDs Wallpaper, Keyboard Layout, Network adapter drivers and fix screen resolutionGNOME lock screen (screensaver) is missing music controlsWhat is wrong with this method of using an alternate lock screen background?How can I change the Kubuntu background from default?Cannot change lock screen background on Ubuntu 18.04How do I change lock/login screen background on Ubuntu 18.04 with 2 displays18.04 - Cannot change the background color of the LOCK screen, not the Login screen
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I am building a Custom ISO of Ubuntu 18.04 LTS using CUBIC and I'd like to change the default background and lock screen image.
I added the backgrounds in /usr/share/backgrounds, changed the background in /usr/share/gnome-background-properties/ubuntu-wallpapers.xml file, but it does not seems to affect new users (for example the OEM user).
Also, I did not find any way to change the lock screen image.
gnome lock-screen wallpaper
add a comment
|
I am building a Custom ISO of Ubuntu 18.04 LTS using CUBIC and I'd like to change the default background and lock screen image.
I added the backgrounds in /usr/share/backgrounds, changed the background in /usr/share/gnome-background-properties/ubuntu-wallpapers.xml file, but it does not seems to affect new users (for example the OEM user).
Also, I did not find any way to change the lock screen image.
gnome lock-screen wallpaper
add a comment
|
I am building a Custom ISO of Ubuntu 18.04 LTS using CUBIC and I'd like to change the default background and lock screen image.
I added the backgrounds in /usr/share/backgrounds, changed the background in /usr/share/gnome-background-properties/ubuntu-wallpapers.xml file, but it does not seems to affect new users (for example the OEM user).
Also, I did not find any way to change the lock screen image.
gnome lock-screen wallpaper
I am building a Custom ISO of Ubuntu 18.04 LTS using CUBIC and I'd like to change the default background and lock screen image.
I added the backgrounds in /usr/share/backgrounds, changed the background in /usr/share/gnome-background-properties/ubuntu-wallpapers.xml file, but it does not seems to affect new users (for example the OEM user).
Also, I did not find any way to change the lock screen image.
gnome lock-screen wallpaper
gnome lock-screen wallpaper
edited Jun 6 at 18:24
PRATAP
6,3634 gold badges11 silver badges43 bronze badges
6,3634 gold badges11 silver badges43 bronze badges
asked Jun 6 at 9:11
GauthierPLMGauthierPLM
1184 bronze badges
1184 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
your approach of copying the images to /usr/share/backgrounds/ and editing /usr/share/gnome-background-properties/ubuntu-wallpapers.xml will allow you to show them in Settings-->Bakcground-->Wallpapers and Settings-->Lock Screen-->Wallpapers
but the gsettings for these two are set to warty-final-ubuntu.png
$ gsettings get org.gnome.desktop.background picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
$ gsettings get org.gnome.desktop.screensaver picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
maduri@i7-4770U:~$
So, you need to compile these values after editing /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override file.
Run the command sudo nano /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override and edit the content for background and screensavers as below, changing to your actual image paths:
[org.gnome.desktop.background]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
[org.gnome.desktop.screensaver]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
Save the changes and run this command to compile the schemas:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
Now you can check the gsettings value for these two wallpapers
gsettings get org.gnome.desktop.background picture-uri
gsettings get org.gnome.desktop.screensaver picture-uri
you are done. Restart the computer for the changes to take effect.
Please have a look of below Images which are self explanatory as I did it personally with Ubuntu 18.04.2 ISO with Ubuntu 18.04.2 as my OS






Booted with live USB and the resulting pictures are


Thank you very much, very good and complete answer.
– GauthierPLM
Jun 8 at 8:17
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1149017%2fhow-to-customise-gnome-default-background-and-lock-screen-image%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
your approach of copying the images to /usr/share/backgrounds/ and editing /usr/share/gnome-background-properties/ubuntu-wallpapers.xml will allow you to show them in Settings-->Bakcground-->Wallpapers and Settings-->Lock Screen-->Wallpapers
but the gsettings for these two are set to warty-final-ubuntu.png
$ gsettings get org.gnome.desktop.background picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
$ gsettings get org.gnome.desktop.screensaver picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
maduri@i7-4770U:~$
So, you need to compile these values after editing /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override file.
Run the command sudo nano /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override and edit the content for background and screensavers as below, changing to your actual image paths:
[org.gnome.desktop.background]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
[org.gnome.desktop.screensaver]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
Save the changes and run this command to compile the schemas:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
Now you can check the gsettings value for these two wallpapers
gsettings get org.gnome.desktop.background picture-uri
gsettings get org.gnome.desktop.screensaver picture-uri
you are done. Restart the computer for the changes to take effect.
Please have a look of below Images which are self explanatory as I did it personally with Ubuntu 18.04.2 ISO with Ubuntu 18.04.2 as my OS






Booted with live USB and the resulting pictures are


Thank you very much, very good and complete answer.
– GauthierPLM
Jun 8 at 8:17
add a comment
|
your approach of copying the images to /usr/share/backgrounds/ and editing /usr/share/gnome-background-properties/ubuntu-wallpapers.xml will allow you to show them in Settings-->Bakcground-->Wallpapers and Settings-->Lock Screen-->Wallpapers
but the gsettings for these two are set to warty-final-ubuntu.png
$ gsettings get org.gnome.desktop.background picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
$ gsettings get org.gnome.desktop.screensaver picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
maduri@i7-4770U:~$
So, you need to compile these values after editing /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override file.
Run the command sudo nano /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override and edit the content for background and screensavers as below, changing to your actual image paths:
[org.gnome.desktop.background]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
[org.gnome.desktop.screensaver]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
Save the changes and run this command to compile the schemas:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
Now you can check the gsettings value for these two wallpapers
gsettings get org.gnome.desktop.background picture-uri
gsettings get org.gnome.desktop.screensaver picture-uri
you are done. Restart the computer for the changes to take effect.
Please have a look of below Images which are self explanatory as I did it personally with Ubuntu 18.04.2 ISO with Ubuntu 18.04.2 as my OS






Booted with live USB and the resulting pictures are


Thank you very much, very good and complete answer.
– GauthierPLM
Jun 8 at 8:17
add a comment
|
your approach of copying the images to /usr/share/backgrounds/ and editing /usr/share/gnome-background-properties/ubuntu-wallpapers.xml will allow you to show them in Settings-->Bakcground-->Wallpapers and Settings-->Lock Screen-->Wallpapers
but the gsettings for these two are set to warty-final-ubuntu.png
$ gsettings get org.gnome.desktop.background picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
$ gsettings get org.gnome.desktop.screensaver picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
maduri@i7-4770U:~$
So, you need to compile these values after editing /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override file.
Run the command sudo nano /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override and edit the content for background and screensavers as below, changing to your actual image paths:
[org.gnome.desktop.background]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
[org.gnome.desktop.screensaver]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
Save the changes and run this command to compile the schemas:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
Now you can check the gsettings value for these two wallpapers
gsettings get org.gnome.desktop.background picture-uri
gsettings get org.gnome.desktop.screensaver picture-uri
you are done. Restart the computer for the changes to take effect.
Please have a look of below Images which are self explanatory as I did it personally with Ubuntu 18.04.2 ISO with Ubuntu 18.04.2 as my OS






Booted with live USB and the resulting pictures are


your approach of copying the images to /usr/share/backgrounds/ and editing /usr/share/gnome-background-properties/ubuntu-wallpapers.xml will allow you to show them in Settings-->Bakcground-->Wallpapers and Settings-->Lock Screen-->Wallpapers
but the gsettings for these two are set to warty-final-ubuntu.png
$ gsettings get org.gnome.desktop.background picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
$ gsettings get org.gnome.desktop.screensaver picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
maduri@i7-4770U:~$
So, you need to compile these values after editing /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override file.
Run the command sudo nano /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override and edit the content for background and screensavers as below, changing to your actual image paths:
[org.gnome.desktop.background]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
[org.gnome.desktop.screensaver]
picture-uri = 'file:///usr/share/backgrounds/warty-final-ubuntu.png'
Save the changes and run this command to compile the schemas:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
Now you can check the gsettings value for these two wallpapers
gsettings get org.gnome.desktop.background picture-uri
gsettings get org.gnome.desktop.screensaver picture-uri
you are done. Restart the computer for the changes to take effect.
Please have a look of below Images which are self explanatory as I did it personally with Ubuntu 18.04.2 ISO with Ubuntu 18.04.2 as my OS






Booted with live USB and the resulting pictures are


edited Jul 17 at 1:38
miguelmorin
19610 bronze badges
19610 bronze badges
answered Jun 6 at 18:20
PRATAPPRATAP
6,3634 gold badges11 silver badges43 bronze badges
6,3634 gold badges11 silver badges43 bronze badges
Thank you very much, very good and complete answer.
– GauthierPLM
Jun 8 at 8:17
add a comment
|
Thank you very much, very good and complete answer.
– GauthierPLM
Jun 8 at 8:17
Thank you very much, very good and complete answer.
– GauthierPLM
Jun 8 at 8:17
Thank you very much, very good and complete answer.
– GauthierPLM
Jun 8 at 8:17
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1149017%2fhow-to-customise-gnome-default-background-and-lock-screen-image%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown