Is it possible to prevent users from changing their desktop wallpapers?

Please post all general support questions for LXDE here.
Locked
Learisti
Posts: 1
Joined: Sun Sep 15, 2019 5:29 pm

Is it possible to prevent users from changing their desktop wallpapers?

Post by Learisti »

Hello,
We're using a Linux distribution with the LXDE desktop environment in a school library, and students use the computer using a temporary user account. The problem is that students change the desktop wallpaper jokingly without locking the screen or signing off. What I've tried so far is to enforce a dconf read-only lock on the background property (/org/gnome/desktop/background/picture-uri), but I had to create the etc/dconf/db/local.d directory, which makes me wonder if LXDE uses dconf at all (although I can use dconf-editor).

Here are the steps I followed to do the dconf lock: https://askubuntu.com/questions/1034000 ... 38#1034238

Is it possible to prevent users from changing it?
Thanks in advance.
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Is it possible to prevent users from changing their desktop wallpapers?

Post by drooly »

Did it not work?
Any diagnostic messages?
The askubuntu suggests that what you want is possible.
If dconf is installed then your distro probably uses it?

On a non-technical note:
What you're trying to do is futile.
It's a guest account, and as soon as they log off the wallpaper is gone again.
The sole purpose is to misbehave (I suppose; you didn't say why you need to prevent such activity).
If you manage to prevent it, they'll find a workaround; maybe open the offensive image in a browser, fullscreen.

Automatic log-off after some time of inactivity is probably better.
Locked