Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a problem of lots of people changing my desktop background. Is there a way that I can make people have to input an administrators password to change the desktop background. I am running ubuntu 12.04 lts with unity 2d.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I don't know what your are doing and why they change your desktop background but you could let the other users only use the 'guest session' (a default feature -> the login screen shows a guest session login button) or create a separate user account for them (System Settings -> User Accounts).

Another solution but more a dirty hack:

You could set the background using a cronjob every ~5 min:
gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/warty-final-ubuntu.png"

share|improve this answer
    
@ Paradiesstaub The problem is that people are changing the desktop background on school computers to really bad or annoying backgrounds and I want to lock it on the default background –  wil Jan 12 '13 at 2:35
    
I haven't found a good solution (the dconfig lock stuff broke the system), only a hack. You could set the background using a cronjob every ~5 min: gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/warty-final-ubuntu.png" –  Paradiesstaub Jan 12 '13 at 11:17
    
@ Paradiesstaub make that an answer. –  wil Jan 14 '13 at 17:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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