Ubuntu – Prevent users from changing the desktop background on Ubuntu 18.04


How can I prevent users from changing the desktop wallpaper on Ubuntu 18.04?

Best Answer

You can't prevent users from changing your desktop background without preventing your own account from making a change. If they are using your account, they have the same access that you have.

Solution 1:

Give them their own separate login ID. This way your environment will never be affected their settings.

Solution 2:

Activate a script that will check for a change and periodically change it back to your preferred background.

You can find an example of such a script in this answer:
How can I get one wallpaper for each day of the week?

Instead of having the script change daily, just have it periodically set the background to your choice.