Is there a way to disable changing the background in GNOME?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
3
down vote

favorite












I am setting up Ubuntu 12.04 with Gnome3 for a computer lab. I don't want the users to be able to change the background of the computer. Is there a way to prevent this? Or to revert the background back when the computer reboots?







share|improve this question


























    up vote
    3
    down vote

    favorite












    I am setting up Ubuntu 12.04 with Gnome3 for a computer lab. I don't want the users to be able to change the background of the computer. Is there a way to prevent this? Or to revert the background back when the computer reboots?







    share|improve this question
























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I am setting up Ubuntu 12.04 with Gnome3 for a computer lab. I don't want the users to be able to change the background of the computer. Is there a way to prevent this? Or to revert the background back when the computer reboots?







      share|improve this question














      I am setting up Ubuntu 12.04 with Gnome3 for a computer lab. I don't want the users to be able to change the background of the computer. Is there a way to prevent this? Or to revert the background back when the computer reboots?









      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 23 '12 at 20:28









      jippie

      4,68821931




      4,68821931










      asked Apr 23 '12 at 14:05









      nattlap

      1612




      1612




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          4
          down vote













          The new dconf has options for lockdown and also has an example (where they use the wallpaper ;)) on the dconf system admin page:




          Lockdown



          Lockdown is supported by creating a 'locks' subdirectory in the keyfile directory (ie: /etc/dconf/db/local.d/locks). The files contained in this directory contain a list of keys to lock, one per line. Just as with the keyfiles, you may add any number of files to this directory. Here's an example of what one might look like:




          # prevent changes to the company wallpaper
          /org/gnome/desktop/background/picture-uri



          Of course, you need to run the 'dconf update' tool after changing the locks. The tool will notice if the timestamp on the 'locks' directory has changed, so there is no need to touch the ".d" directory as well.



          Presently (as of dconf 0.7.4) lockdown is only supported on a per-key basis. Put another way: you may not yet lock entire subpaths. This is for performance reasons, but there are plans to address this in future releases.







          share|improve this answer




















          • Thanks for the quick response. I will check it out and let you know.
            – nattlap
            Apr 23 '12 at 14:47










          • This is incomplete. It does not work if you don't use a custom profile to add a system db where to add lock keys. Look at my answer askubuntu.com/a/1034238/350004
            – solsTiCe
            May 10 at 9:46










          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f124456%2fis-there-a-way-to-disable-changing-the-background-in-gnome%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          4
          down vote













          The new dconf has options for lockdown and also has an example (where they use the wallpaper ;)) on the dconf system admin page:




          Lockdown



          Lockdown is supported by creating a 'locks' subdirectory in the keyfile directory (ie: /etc/dconf/db/local.d/locks). The files contained in this directory contain a list of keys to lock, one per line. Just as with the keyfiles, you may add any number of files to this directory. Here's an example of what one might look like:




          # prevent changes to the company wallpaper
          /org/gnome/desktop/background/picture-uri



          Of course, you need to run the 'dconf update' tool after changing the locks. The tool will notice if the timestamp on the 'locks' directory has changed, so there is no need to touch the ".d" directory as well.



          Presently (as of dconf 0.7.4) lockdown is only supported on a per-key basis. Put another way: you may not yet lock entire subpaths. This is for performance reasons, but there are plans to address this in future releases.







          share|improve this answer




















          • Thanks for the quick response. I will check it out and let you know.
            – nattlap
            Apr 23 '12 at 14:47










          • This is incomplete. It does not work if you don't use a custom profile to add a system db where to add lock keys. Look at my answer askubuntu.com/a/1034238/350004
            – solsTiCe
            May 10 at 9:46














          up vote
          4
          down vote













          The new dconf has options for lockdown and also has an example (where they use the wallpaper ;)) on the dconf system admin page:




          Lockdown



          Lockdown is supported by creating a 'locks' subdirectory in the keyfile directory (ie: /etc/dconf/db/local.d/locks). The files contained in this directory contain a list of keys to lock, one per line. Just as with the keyfiles, you may add any number of files to this directory. Here's an example of what one might look like:




          # prevent changes to the company wallpaper
          /org/gnome/desktop/background/picture-uri



          Of course, you need to run the 'dconf update' tool after changing the locks. The tool will notice if the timestamp on the 'locks' directory has changed, so there is no need to touch the ".d" directory as well.



          Presently (as of dconf 0.7.4) lockdown is only supported on a per-key basis. Put another way: you may not yet lock entire subpaths. This is for performance reasons, but there are plans to address this in future releases.







          share|improve this answer




















          • Thanks for the quick response. I will check it out and let you know.
            – nattlap
            Apr 23 '12 at 14:47










          • This is incomplete. It does not work if you don't use a custom profile to add a system db where to add lock keys. Look at my answer askubuntu.com/a/1034238/350004
            – solsTiCe
            May 10 at 9:46












          up vote
          4
          down vote










          up vote
          4
          down vote









          The new dconf has options for lockdown and also has an example (where they use the wallpaper ;)) on the dconf system admin page:




          Lockdown



          Lockdown is supported by creating a 'locks' subdirectory in the keyfile directory (ie: /etc/dconf/db/local.d/locks). The files contained in this directory contain a list of keys to lock, one per line. Just as with the keyfiles, you may add any number of files to this directory. Here's an example of what one might look like:




          # prevent changes to the company wallpaper
          /org/gnome/desktop/background/picture-uri



          Of course, you need to run the 'dconf update' tool after changing the locks. The tool will notice if the timestamp on the 'locks' directory has changed, so there is no need to touch the ".d" directory as well.



          Presently (as of dconf 0.7.4) lockdown is only supported on a per-key basis. Put another way: you may not yet lock entire subpaths. This is for performance reasons, but there are plans to address this in future releases.







          share|improve this answer












          The new dconf has options for lockdown and also has an example (where they use the wallpaper ;)) on the dconf system admin page:




          Lockdown



          Lockdown is supported by creating a 'locks' subdirectory in the keyfile directory (ie: /etc/dconf/db/local.d/locks). The files contained in this directory contain a list of keys to lock, one per line. Just as with the keyfiles, you may add any number of files to this directory. Here's an example of what one might look like:




          # prevent changes to the company wallpaper
          /org/gnome/desktop/background/picture-uri



          Of course, you need to run the 'dconf update' tool after changing the locks. The tool will notice if the timestamp on the 'locks' directory has changed, so there is no need to touch the ".d" directory as well.



          Presently (as of dconf 0.7.4) lockdown is only supported on a per-key basis. Put another way: you may not yet lock entire subpaths. This is for performance reasons, but there are plans to address this in future releases.








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 23 '12 at 14:30









          Rinzwind

          196k25375508




          196k25375508











          • Thanks for the quick response. I will check it out and let you know.
            – nattlap
            Apr 23 '12 at 14:47










          • This is incomplete. It does not work if you don't use a custom profile to add a system db where to add lock keys. Look at my answer askubuntu.com/a/1034238/350004
            – solsTiCe
            May 10 at 9:46
















          • Thanks for the quick response. I will check it out and let you know.
            – nattlap
            Apr 23 '12 at 14:47










          • This is incomplete. It does not work if you don't use a custom profile to add a system db where to add lock keys. Look at my answer askubuntu.com/a/1034238/350004
            – solsTiCe
            May 10 at 9:46















          Thanks for the quick response. I will check it out and let you know.
          – nattlap
          Apr 23 '12 at 14:47




          Thanks for the quick response. I will check it out and let you know.
          – nattlap
          Apr 23 '12 at 14:47












          This is incomplete. It does not work if you don't use a custom profile to add a system db where to add lock keys. Look at my answer askubuntu.com/a/1034238/350004
          – solsTiCe
          May 10 at 9:46




          This is incomplete. It does not work if you don't use a custom profile to add a system db where to add lock keys. Look at my answer askubuntu.com/a/1034238/350004
          – solsTiCe
          May 10 at 9:46












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f124456%2fis-there-a-way-to-disable-changing-the-background-in-gnome%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491