0

I am currently trying to setup the Ubuntu clients in my work place to have specific programs in the Launcher (e.g. MATLAB), which I was actually able to do successfully using this method:

How to make applications pinned in launcher appear for all users?

However, this only works for users logging in for the first time. What I need is to be able to create something like the schema override that will apply when the machine reboots or users login (either will be enough).

Can anyone help me?

1 Answers1

0

Go to the directory /etc/dconf/db/local.d/locks (or create it if it does not exist), and create the following file. You can choose the filename.

# prevent changes to pinned applications
/com/canonical/Unity/Launcher/favorites

Then run the following command in a terminal. (Ctrl-Alt-T)

sudo dconf update
Jjed
  • 13,874
  • This is the 2nd or 3rd question where it's been suggested to use a lock file which seemingly makes sense. However has anyone actually gotten it to work in Ubuntu? I don't see it preventing a user from changing a 'locked' key. – doug May 24 '12 at 23:51