I finally decided to integrate the appimage with the desktop, rather than just doing "run" all the time. (Using Pop_os 22.04.) I put a .desktop file in .local/share/applications, and an icon in .local/share/icons. The built-from-source version is still in place. So far what this has done is:
1-removed the Sigil icon from the dock (was the icon link to the built-from-source version)
2-removed Sigil from the main list of installed applications (PageEdit is still there, I have not touched any of that)
3-added a new Sigil to the searchable list of apps, and it uses the new .desktop file and sees the icon. But only this entry, not the original one.
But if I try and run the appimage from the entry 3- above, nothing happens.
The appimage runs fine just doing "run" from the file manager, and the source-built version runs fine from the command line. Running either one, I can't pin it to the dock. If I do an "open with" from the file manager, it selects the built version and works normally.
Do I have to delete the built-from-source version? If so, so I do this just by deleting the files in /usr/local/bin/sigil/?
Or maybe I have some silly error. Any help is welcome! Here is the setup:
Desktop file:
Code:
[Desktop Entry]
Type=Application
Name=Sigil
Comment=ePUB a file editor
TryExec=~/appimages/Sigil-2.7.5-beta-x86_64.AppImage
Exec=~/appimages/Sigil-2.7.5-beta-x86_64.AppImage %F
Icon=sigil
Categories=Office;
MimeType=application/epub+zip;