How to create shortcut for .sh script

How do I create a shortcut for a .sh script so I can run from launcher? This is script in directory “/program” in Qube called “App4”

The launcher shortcuts in Linux are generated from “.desktop” files.

You can create a new file called App4.desktop either within /usr/share/applications/ or ~/.local/share/applications/ with some basic config like:

[Desktop Entry]
Name=App4
Type=Application
Terminal=false
Exec=/path/to/app4
Icon=/path/to/icon

There are plenty of resources online on how to write .desktop files. You can look them up for more details.

Once you have your .desktop file in your AppVM, open the AppVM settings in dom0, hit “Refresh Applications” in the “Applications” tab. You should see “App4” listed on the left side (“Available” list). Click > to move it to “Selected” list.

3 Likes
2 Likes