I have a high school lab running Ubuntu 18.04. How can I lock down the wallpaper and lock screen images so students can't change the image to something obnoxious ?

I was hoping it was a simple file change removing write permissions.

Thanks ~~

1 Answer 1


Locking the wallpaper requires as per the GNOME Admin help guide

  • setting the wallpaper
  • making a locks directory under the keyfiles directory, then
  • defining what you want locked, and finally
  • updating with sudo dconf update
  • 1
    so there's not just a filename from which I can remove w permissions ?
    – ether_joe
    Sep 20, 2019 at 21:57
  • 3
    You could remove execution permission from /usr/bin/gsettings. This effectively prevents the user from changing the background. However, it will prevent them from changing a whole lot of other session parameters as well. I can't assess whether that is still a workable option.
    – Jos
    Sep 20, 2019 at 22:49
  • 1
    @Jos that may be the ticket. I'll give it a shot.
    – ether_joe
    Sep 21, 2019 at 0:39
  • 1
    Unfortunately chmod -x /usr/bin/gsettings didn't work ... the desktop is still modifiable. I'll try the lockout option.
    – ether_joe
    Sep 23, 2019 at 19:40
  • 1
    dconf adding a db and lock file also didn't work. There's got to be just a simple permissions change ! This is becoming way too difficult.
    – ether_joe
    Sep 23, 2019 at 20:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.