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

1 Answer 1

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 : askubuntu.com/questions/159673/how-to-use-gsettings-from-opt –  Aleksandar Jul 4 '12 at 19:08
add comment

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.