Help: AppImages, AppVMs and App Shortcuts - A Better Way Needed

Context:

I create Qubes App Menu shortcut for an AppImage inside an AppVM by registering a desktop entry in AppVM:

~/.local/share/applications

Desktop Entry

[Desktop Entry]
Name=Ledger Live
Comment=Ledger Live - Desktop
Exec=bash -c ‘~/ledger-live-desktop-*-linux-x86_64.AppImage’
Terminal=false
Type=Application
Icon=money-manager-ex
StartupWMClass=Ledger Live
MimeType=x-scheme-handler/ledgerhq;
Categories=Finance;

Problem:

When the AppVM’s respective Template is updated the AppImage app menu short disappears and needs to be manually sync for it to show in Qube App Menu again, i.e. qvm-sync-appmenus vmname'

Question

How to properly register Desktop Entry for AppImage in AppVM that does not require app menu to be resync after TemplateVM update?

1 Like

Perhaps this might be helpful: App menu shortcut troubleshooting | Qubes OS.

1 Like

First of all it is good to run AppImage app first from file in Thunar. This will most likely create all necessary files and folder including “.desktop” file and icons.
If not you must make desktop entry by hand and download icon from internet.

Then when VM with installed AppImage is still running (app running is not necessary), in Dom0 terminal run command:

qvm-sync-appmenus appimageVM

where “appimageVM” is a qube where you installed AppImage app and is still running.

1 Like