Score:0

Add an app to the launcher

pe flag

I'm using ImageJ, which is distributed as a folder with Java files. I would like to add it to the app launcher. Unfortunately instructions from: https://linuxconfig.org/how-to-create-desktop-shortcut-launcher-on-ubuntu-20-04-focal-fossa-linux don't work. Right clicking on ImageJ icon on the desktop doesn't show Allow Launching option. What is the solution?

NOTE 1

I found that copying the executable file to Desktop folder wasn't the way to go. In app directory:

paul@desktop:~/apps/Fiji.app$ ls
Contents   ImageJ2.desktop  images  java  licenses  macros   README.md  scripts
db.xml.gz  ImageJ-linux64   jars    lib   luts      plugins  retro      WELCOME.md

there ImageJ2.desktop file suitable for this purpose. Right clicking on it shows Allow Launching option. Unfortunately, selecting it doesn't make it visible to the Gnome app launcher.

in flag
Do [any of the answers here](https://askubuntu.com/questions/1237042/desktop-files-not-launching-from-desktop-in-ubuntu-20-04-lts) solve your issue?
Paul Jurczak avatar
pe flag
@matigo I tried most of them, except the ones I couldn't understand, and no cigar. They are relying on "Allow Launching" option to be visible, and it is not.
Score:1
de flag

If you know the command line to launch the software from the terminal, I suggest using 'Menu editor' available in the Software center to resolve your issue - adding the launcher to the Gnome apps.

For example

The command line for opening ImageJ that is extracted to my 'Home' folder is java -jar /home/dr/ij153-linux64-java8/ImageJ/ij.jar The above command shall be used to create the launcher using the Menu editor.

Paul Jurczak avatar
pe flag
I tried it. *Test Launcher* button fails to launch the app.
drpjkurian avatar
de flag
@Jurczak, I have edited the answer
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.