1

I want to be able to prohibit the change of the order of the icons in the launcher and from people changing the home page in firefox. Is there a way to do this?

So far I figured out a way to do it so that when they change the desktop background when they reboot it will go back to the default background no matter what. Can I use the same method for icons etc. if so how would i start the code?

Code for background:

gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/ubuntu_1.jpg"
Wilf
  • 30,732
Moktao
  • 13

1 Answers1

0

For the launcher, it can be easily set like this:

gsettings set com.canonical.Unity.Launcher favorites "['application://nautilus.desktop', 'application://firefox.desktop', 'application://libreoffice-writer.desktop', 'application://unity-control-center.desktop', 'unity://running-apps', 'application://gnome-terminal.desktop', 'unity://expo-icon', 'unity://devices']"

I covered this more in my answer here.

As for the Firefox home page, that is set in the profile settings so is harder to set directly using a command. A simple way round this would be to remove the Firefox profiles using this command:

rm -r ~/.mozilla/firefox

Don't run this on a system where you want to keep your Firefox settings etc intact.

This can be added to 'Startup Applications' to remove the Firefox profiles on login. This has to be added wrapped in bash -c "... ..." so it executes correctly:

                                                    enter image description here

Also note a alternative to all this may be to create a Guest Account

Wilf
  • 30,732