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 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

1 Answer 1

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
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

 
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.