Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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

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

sudo dconf update
share|improve this answer
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

Your Answer


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.