Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After an initial adverse reaction to Unity I have now decided to embrace it. I have a home brewed java app that I use a lot so I decided to add it to the Dash and pin it's icon in the launch bar. I created a .desktop file located in /usr/share/applications (or in ~/.desktop/share/applications) and the application appeared in the Dash with the correct icon and in the correct subset (Office). When I clicked the app's icon it launched, put an icon in the launch bar and opened on the desktop as expected. However the icon in the launch bar was not correct. In fact it was bizarre. It turned out to be a small .jpg file (which happened to be in the same location as the correct icon). It was listed as the first file in the icon directory but renaming it simply changed the icon in the launch bar to something like a ghost (I think this is an icon already assigned to something else) which is certainly not in my icon directory.

The app is launched via a bash script which changes the current directory and then calls the app via either a jar file or a set of class files. I have varied the icon type and size but the problem remains.

The app is entirely useable but the problem is annoying. Can anyone shed any light on this problem?

share|improve this question
Can you try to explain a bit more clearly what the problem is? It is a bit confusing in the current state. BTW try running unity to restart Unity and see if that fixes it. – RolandiXor Aug 5 '11 at 4:38
I have a custom java app which can be launched from the desktop, or any other folder by double clicking on it's custom icon. I have added it to the Dash and can see it's icon there. I click on the icon in the dash and the app launches. That is an icon appears in the launch bar on the left of the screen and the app gui opens up. I can use the app normally and when I close the app the icon in the launchnar disappears as expected. – hazeman Aug 5 '11 at 6:41
Sorry, preious comment omitted the following. The point is that the icon in the launchbar is not the expected icon but some unrelated icon that happens to exist in the same location as the icon defined for the app in it's .desktop file. A rerun of Unity doea not fix the problem. By the way I just noticed your handle. Iam currently reading Sourcery (:-) – hazeman Aug 5 '11 at 6:50
Oops sorry Rinzwind is a different person - someone who edited my post, incorrectly i think. Currently working on a Windows box. Will check when I get home. – hazeman Aug 5 '11 at 7:03
This question appears to be abandoned and unanswered, could you perhaps add more detail to your question? If you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, then please flag explaining that (as well as editing your question with any details you have). – jrg Jan 27 '12 at 15:34

closed as too localized by Bruno Pereira Feb 27 '12 at 21:35

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.