Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage Integration in Desktop fails #233

Open
scharc opened this issue Sep 15, 2024 · 1 comment
Open

AppImage Integration in Desktop fails #233

scharc opened this issue Sep 15, 2024 · 1 comment

Comments

@scharc
Copy link

scharc commented Sep 15, 2024

I am using appimagelauncherd to integrat appImages into my system and got an error:

Integrating: /home/scharc/.AppImages/Noi_linux_0.4.0_a6411eaa7f06fba4a23f427a5e7838b4.AppImage
ERROR: appimage_register_in_system : Missing icon field in the desktop entry
Error: Failed to register AppImage in system via libappimage
ERROR: Failed to register AppImage in system
Cleaning up old desktop integration files

Looks like simple bug ;)

@silopolis
Copy link

Hey @scharc
Waiting for the fix to be built into the image, you can fix this with:

./Noi_linux_0.4.0_*.AppImage --appimage-extract
cd squashfs-root
ln -s usr/lib/noi/resources/icons/icon.png Noi.png
ln -s Noi.png .DirIcon
mkdir -p usr/share/icons/hicolor/{512x512,1024x1024}/apps/
ln -n usr/lib/noi/resources/icons/icon.png usr/share/icons/hicolor/512x512/apps/Noi.png
ln -n usr/lib/noi/resources/icons/[email protected] usr/share/icons/hicolor/1024x1024/apps/Noi.png
cat <<-EOP >> Noi.desktop
Categories=Utility
Icon=Noi
EOP
cd ..
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage squashfs-root Noi_linux_0.4.0_fixed.AppImage

You may prefer Chat;Network;, or WebBrowser;Network; as suggested by @Sadi58 in #193, for the Categories field of the Desktop file to file it in your menu entry of choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants