Hello
I don't have idea if this subforum is the right place to post this question. I work in a Technical School and we have a classroom with 16 PC's with Linux Lite Installed. The students are very "anxious" and modify the appearance of the desktop constantly. They modify panels, icons, backgrounds, shortcuts , etc.
I would like to know if is possible to reset this changes in every login to the original "modified by me" configuration (our background, shortcuts on desktop, items on panels, etc) . I don't want that they lost her files (even if they are on the desktop). Can someone help me?
Here is a simple trick that could save you quite a lot of work.
1- Setup the students accounts the way you want it.
2- Launch the applications they are gonna be using at least once
3- Lock it down:
From Terminal:
sudo chown -R root:root /home/students/.config
sudo chown -R root:root /home/students/.local
students refers to the home directory of the students account, so you need to replace "students" with the proper user home directory name.
Your students will be able to login and work as usual. They can change backgrounds, icons, etc. But a simple logout and login will revert everything to the way you first set it up.
If you have multiple accounts in the same computer for which you want to do the above, you will be better off creating a little script for convenience.
Remember, to make changes to those accounts again, you will need to revert the ownership of the folders above changed:
From Terminal:
sudo chown -R students:students /home/students/.config
sudo chown -R students:students /home/students/.local
I hope this takes you in the right direction. Cheers!