You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Need Help blocking Customized Desktop settings

Author (Read 4221 times)

0 Members and 1 Guest are viewing this topic.

Re: Need Help blocking Customized Desktop settings
« Reply #5 on: March 08, 2018, 05:23:32 PM »
 

ralphy

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 741
    Posts
  • Reputation: 117
  • Linux Lite Developer
    • View Profile

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:


Code: [Select]
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:


Code: [Select]
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!
« Last Edit: March 09, 2018, 02:22:23 PM by ralphy »
https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

 

Re: Need Help blocking Customized Desktop settings
« Reply #4 on: March 08, 2018, 11:54:29 AM »
 

trinidad

  • Moderator
  • Platinum Level Poster
  • *****
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
Yeah 32bit is an issue. Don't install the Linux Lite OS to the PCs at all. Install Ubuntu server and grml rescue boot and run the LL live ISO. They can make all the changes they want while they use it but none will be saved and they won't be able to install it by accident either. They can save common personal files to a USB.

Otherwise you'll have to modify the user permissions on each PC involving the desktop. I do not recommend using the restore default in alacarte. You might want to look into this, much as I don't totally agree with the criticism:

https://unlockforus.com/definitive-fix-for-linux-lite-menu/

TC
« Last Edit: March 08, 2018, 12:05:29 PM by trinidad »
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: Need Help blocking Customized Desktop settings
« Reply #3 on: March 08, 2018, 11:00:58 AM »
 

leillo1975

  • New to Forums
  • *
  • 18
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile
    • O BLOG DE LEO

  • CPU: Intel i5 2400

  • MEMORY: 6Gb

  • VIDEO CARD: Nvidia GeForce GT-740
The PC's run a 32 bits system and they are not virtualiced.I think that if I don't allow students to write the configuration files (I leave them as read only) I could get it. The problem is that I don't know what files are the configuration XFCE (background, menu, panels ...)
 

Re: Need Help blocking Customized Desktop settings
« Reply #2 on: March 08, 2018, 10:44:55 AM »
 

trinidad

  • Moderator
  • Platinum Level Poster
  • *****
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
There are several ways to accomplish what you want here, but it depends on how the classroom network is set up. If the student PCs are not virtual clients on a main server you will need to have an administrator account on each of the PCs to work from. If the PCs are big enough 64bit you would be better off having the student systems run in virtual space with a USB attached for saving files to. I teach a monthly seminar for the elderly here and work with people who own their own laptops. Attendance is irregular but they always show up when they break something.

TC 
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Need Help blocking Customized Desktop settings
« Reply #1 on: March 08, 2018, 04:48:43 AM »
 

leillo1975

  • New to Forums
  • *
  • 18
    Posts
  • Reputation: 2
  • Linux Lite Member
    • View Profile
    • O BLOG DE LEO

  • CPU: Intel i5 2400

  • MEMORY: 6Gb

  • VIDEO CARD: Nvidia GeForce GT-740
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?
« Last Edit: March 08, 2018, 04:49:28 AM by leillo1975 »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section