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've got a couple programs that I compile myself to use newer/different versions than are in the repos, and I've managed to get the dash and other parts of the desktop to recognize them by modifying my $PATH in ~/.profile, but it's obviously not picking up the icons, too.

I've tried adding .desktop files to ~/.local/share/applications, but they're still not being used. I guess I probably want to add my libdir (~/.opt) to Unity's overall environment, but I'm not sure if that's the right direction.

share|improve this question

It looks like if you make your local dir ~/.local (ie, for my use case, run configure --prefix=$HOME/.local instead of configure --prefix=$HOME/.opt) Unity will pick up things correctly.

Additionally, it looks like if you do that .desktop files might not be necessary to get the application-switcher to recognize icons, but are still necessary to get the unity dash to recognize things as launchable applications.

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.