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;









2

















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.










share|improve this question


































    2

















    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.










    share|improve this question






























      2












      2








      2








      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.










      share|improve this question

















      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






      share|improve this question
















      share|improve this question













      share|improve this question




      share|improve this question








      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























          1 Answer
          1






          active

          oldest

          votes


















          3


















          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



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          Booted with live USB and the resulting pictures are



          enter image description here



          enter image description here






          share|improve this answer




























          • Thank you very much, very good and complete answer.

            – GauthierPLM
            Jun 8 at 8:17












          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
          );



          );














          draft saved

          draft discarded
















          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









          3


















          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



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          Booted with live USB and the resulting pictures are



          enter image description here



          enter image description here






          share|improve this answer




























          • Thank you very much, very good and complete answer.

            – GauthierPLM
            Jun 8 at 8:17















          3


















          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



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          Booted with live USB and the resulting pictures are



          enter image description here



          enter image description here






          share|improve this answer




























          • Thank you very much, very good and complete answer.

            – GauthierPLM
            Jun 8 at 8:17













          3














          3










          3









          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



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          Booted with live USB and the resulting pictures are



          enter image description here



          enter image description here






          share|improve this answer
















          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



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          enter image description here



          Booted with live USB and the resulting pictures are



          enter image description here



          enter image description here







          share|improve this answer















          share|improve this answer




          share|improve this answer








          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

















          • 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


















          draft saved

          draft discarded















































          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.




          draft saved


          draft discarded














          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





















































          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









          Popular posts from this blog

          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü