Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

My app use systay. I know I should use gsettings to set the 'systray-whitelist' key.

Now I would like to package my app. After I googled, I guess dh_installgsettings can help me.

So I put a file named 'myapp.gsettings-override' and put the following content:

  1. Am I right?
  2. Will 'myapp' be appended to systray-whitelist?
share|improve this question

You've got part of it right. This is what you need to do in order to modify a setting like you want to.

1) Add override_dh_installgsettings to debian/rules:

dh_installgsettings --priority=50

2) Add the gsettings-override file like you did.

Now the bad news. Your change will not append to the whitelist, it will overwrite it. In addition, if the user has modified the setting in any way at any time, their modifications will always take precedence.

share|improve this answer

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.