How to add any file to the application launcher.

Create a desktop file at ~/.local/share/applications and and add application information such as application path, icon path, etcetera.

The 'Exec' parameter takes field codes to pass file paths or urls to the executed application.

Code Description
%f A single file name including the path.
%F A list of files.
%u A single URL.
%U A list of URLs.

Example

[Desktop Entry]
Type=Application
Name=Ripcord
Comment=Ripcord Chat Client
Exec=/home/rostiger/bin/Ripcord.AppImage
Icon=/home/rostiger/bin/Ripcord.png
Terminal=false
Categories=Communication

Links

incoming(2) | gnome programs | gemini