View Single Post
Old 05-23-2025, 11:40 AM   #7
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,809
Karma: 6000000
Join Date: Nov 2009
Device: many
I had to tweak this to work with Manjaro. In my *.desktop files I had to use full absolute paths to the applications, and fill in a Generic Name field before the error message about improper desktop file went away.

They also seemed to want them in my ~/.local/share/applications/ folder not the ~/.local/share/apps folder (the former is specified in the XDG desktop spec).

Then to get the icon to show up on the AppImage in the Dolphin file manager, I had to install the libappimage package and make sure in the Dolphin Configure page to enable Previews of AppImages.

Now I have a wonderful Applications folder on my Desktop where all my AppImages are located. KDE Plasma 6 with AppImages is beginning to look more like my MacOS Desktop which is a nice thing for muscle memory.


Quote:
Originally Posted by DiapDealer View Post
Great to hear. If anyone needs an assist on how to integrate the AppImage into your Desktop (like I believe PeterT has done), just let me know.

For me, it's merely a matter of putting a Sigil.desktop file in ~./local/share/apps (with the Exec line pointing to wherever the appimage is), and adding a ~./local icon that the desktop file can pickup. After that, the Sigil AppImage can be launched from menus, and it can be set as the default handler for epubs. I'll try to post a sample .desktop file when I get a minute.

EDIT:
Here's the contents of my desktop file
Code:
[Desktop Entry]
Type=Application
Name=Sigil
Comment=ePUB file editor
TryExec=~/appimages/Sigil-x86_64.AppImage
Exec=~/appimages/Sigil-x86_64.AppImage %F
Icon=sigil
Categories=Office;
MimeType=application/epub+zip;
That requires that a "sigil" icon be available in one of the usual icon places.
KevinH is offline   Reply With Quote