You can create a launcher file to place in /usr/share/applications
(for all users) or in ~/.local/share/applications
(only for you). Use your favorite text editor to create the file (I'd say you call it vsim.desktop
) and paste the following content:
[Desktop Entry]
Version=1.0
Type=Application
Name=<Name of your program>
Comment=<Description of your program, can be omitted>
Exec=<path to executable>
Icon=<path to icon file or icon name in system icon cache>
Terminal=false
Categories=<categories your program belongs to, semicolon separated>
For ModelSim, I'd choose Categories=Development;
. If you want to be able to open files directly with modelsim, define Exec and TryExec like this:
Exec=<path to executable> %U
TryExec=<path to executable>
After the system notices the new launcher file, it will be available in the application menu, if it doesn't contain syntax errors. Best relog for that.