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 read this question, but I'm more confused yet.

It's not clear for me if the app must be in the /opt or out /opt :$

Then, can I use the /usr? Will be the app rejected if it's on /usr?

share|improve this question
up vote 12 down vote accepted

You may be confused by the language; they all mean the same, ie:

"run out of" == "run in" == "installed in" (all in /opt)

The exceptions are:

  • The standard files in /usr/share/doc/<packagename> are permitted, such as copyright, changelog, and examples.
  • The .desktop file is installed in the standard location /usr/share/applications, but must have the prefix extras- added to its name. Example: extras-foobar.desktop for a package named foobar.
  • Lenses and scopes are installed in the standard locations, but must have the prefix extras- added to their names. Example: extras-unity-lens-foobar.lens for a package named unity-lens-foobar.
share|improve this answer
Thank you very much @izk! :) – costales Jul 3 '12 at 5:52
This is not related to the question but I need to know how to run gsettings from opt.When I submited my application I was told that he application must run from opt.I am not a member of the ubuntu app showdown.Thanks for helping. – Aleksandar Jul 4 '12 at 18:46
Nevermind asked a separate question : – Aleksandar Jul 4 '12 at 19:08

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.