How do I get rid of unusable application icon on launcher?

Owen Thomas owen.paul.thomas at gmail.com
Fri May 24 07:54:03 UTC 2019


On Fri, 24 May 2019 at 17:31, Colin Law <clanlaw at gmail.com> wrote:

> On Fri, 24 May 2019 at 04:09, Owen Thomas <owen.paul.thomas at gmail.com>
> wrote:
> > ...
> > I can right click on the icon displayed when I start the application
> from a CLI window. One of the options is to "Lock to Launcher"; I click on
> it so that when I close the application, the icon remains. After closing
> the application, I attempt to restart the application by clicking on the
> icon displayed in the launcher. The icon flashes for a bit, and then
> nothing happens.
> >
> > I want my application to start when I click on the launcher icon. It
> isn't. What is going wrong?
>
> That sounds like a problem with the desktop launcher file for that
> app.  It may be failing because it expects a terminal or expects a
> particular working directory or something similar.  What is the app
> and how did you install it?
> I presume that other apps work ok from the launcher.
>

Other applications work fine.

The problematic application is Netbeans 11. I installed it in my home
directory initially under ~/netbeans-11, but moved it to
~/netbeans/netbeans-11 because I also have Netbeans 8.2 installed so both
applications were moved under ~/netbeans. I think I created the launcher
file (by locking the Netbeans icon to the launcher while the application
was running) before moving the directory. I removed the icon form the
launcher afterward, restarted Netbeans, then locked the icon to the
launcher once more.

I think Ubuntu is somehow using the original launcher file. If this is so,
how do I delete it? If not, what else could be causing my problems?

  Owen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20190524/3008dd46/attachment.html>


More information about the ubuntu-users mailing list