Main menu edit problem after installation

I tried it out but I always creates a new games category. I wanna add it to the existing games category.

Here is the screenshot.
Bildschirmfoto von 2021-08-25 08-00-27

May we see what command you trying to execute, it may be missing something.

It's the correct path to the app file.

But is it a .run .sh etc.?

No. Should it be?

I have to go for breakfast. I'll be back later.

To execute an app or script you need to tell how to do it.

If it's script, you can do

sh -c "<path>/<file.sh>"

I don't understand.

Usually you can't just give the path of the file and then file name, if it's an app or script that are manually installed. That's why it would be easier to help you if you tell us what app and which file format you pointing it to.

I don't know the file format. It's a game Called Mindustry. It's an executable app.

Òkay and you have made it executable? (right click on the file --> Properties -> Permissions)

In the menu editor command:

sh -c "/path/to/the/file && ./file"

Oh. Now it was added. But it doesn't start. What exactly does sh mean?

sh is a command language interpreter that executes commands read from a command line string, the standard input, or a specified file.

You can read more about it by;

man sh

[q] to quit.

To figure out why it doesn't work, take the commandline and put it in the terminal. An error should be display thereafter.

I am linking to the path "Zorin OS Files" but it says can't find ".../Zorin".

I'm confused???

@Aravisian Any idea? I think we're missing each others context. :pensive:

Heading out to perform some road tests (same as yesterday). Will try to catch up and grab any context if I am able when I return.

The other person for the road test is apparently not ready, yet.

I have a moment...

Yes, just the path can work if the path leads to an executable file.

Currently; the question is how to add a custom made launcher to the App Menu.
Need to know: Zorin OS Core or Zorin OS Lite?

The longer answer is to create a .desktop file for it. On XFCE, (Zorin Lite) it is a little easier.

I am using Zorin OS Core. I have a GNOME desktop environment.

Great, now all you need to do to get that application to show up in the Zorin Menu is to create a desktop file and place it in /usr/share/applications/
Open terminal and

sudo -i

nautilus

Now, navigate to /usr/share/applications/ and right click an open area in the window. Select create new file...
Paste into it the following:

[Desktop Entry]
Encoding=UTF-8
Version 1.0
Name=
Comment=
Categories=Games;Application;Development;
Exec=
Icon=
Terminal=false
Type=Application
StartupNotify=true

You notice there are Blanks in the template above. Please fill those in as needed. Exec=/path/to/your/executable/file, for example.
icon can be the path to the icon you wish to use in /usr/share/icons/zorin/....
Comment=Whatever you want to display in a tooltip to show what it does. For example: Comment=Application to colonize the Moon
Name is the Name you want to display as the app in the menu.
Name=Mindustry
Categories; list out the preferred application placement in the Menu; First choice, second choice, third choice...

Save the file and log out and in - test that it appears in the App Menu