Avidemux 2.78 (AppImage) is not compatible with AppImageLauncher, so Avidemux cannot be added to the Linux mint Cinnamon menu for example.
Could you create a valid 'avidemux.desktop' file in the root of appimage, so that it is compatible with AppImageLauncher?
AppImageLauncher:
https://github.com/TheAssassin/AppImageLauncher
Avidemux AppImage:
https://sourceforge.net/projects/avidemux/files/avidemux/
While the 2.7.8 release is really very old now, using the latest nightly (https://avidemux.org/nightly/appImage4Buster/) would not help in this case as there haven't been any changes to the desktop file. I'll try to check whether we can please g_key_file_load_from_file function called by AppImageLauncher.
Just to be clear: appImages built today don't contain any changes related to the topic.
See if this is correct?
Could you include this change in next nightly versions?
Thanks
1) I downloaded the nightly file 'avidemuxLinux_GLIBC_2.28_amd64_210908_0623.app' and changed the execution permission:
wget https://avidemux.org/nightly/appImage4Buster/avidemuxLinux_GLIBC_2.28_amd64_210908_0623.app -P ~/test_Appimage
chmod +x ~/test_Appimage/avidemuxLinux_GLIBC_2.28_amd64_210908_0623.app
Extract the AppImage using the command:
~/test_Appimage/avidemuxLinux_GLIBC_2.28_amd64_210908_0623.app --appimage-extract
2) I changed the '~/squashfs-root/avidemux.desktop' file like this:
cp -f ~/squashfs-root/usr/share/applications/org.avidemux.Avidemux.desktop ~/squashfs-root/avidemux.desktop
3) I changed the name of the icon image to 'org.avidemux.Avidemux.png':
mv ~/squashfs-root/avidemux.png ~/squashfs-root/org.avidemux.Avidemux.png
4) I downloaded Appimagetool and changed the execution permission:
wget https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage -P ~/test_Appimage
chmod +x ~/test_Appimage/appimagetool-x86_64.AppImage
5) I recreated the 'Modified Avidemux' appimage file with the command below:
~/test_Appimage/appimagetool-x86_64.AppImage -v ~/squashfs-root ~/test_Appimage/avidemuxLinux_GLIBC_2.28_amd64_210908_0623[mod].appimage
That way it worked
New modified appimage 'avidemuxLinux_GLIBC_2.28_amd64_210908_0623[mod].appimage' now integrates with AppImageLauncher
Quote from: antrrax on October 03, 2021, 04:24:02 PMSee if this is correct?
You should modify the Icon entry of the .desktop file to point to the modified icon name.
Quote from: antrrax on October 03, 2021, 04:24:02 PMCould you include this change in next nightly versions?
appImage needs to be able to coexist with Avidemux installed via package manager, so I am not sure that your solution is viable.
Quote from: eumagga0x2a on October 03, 2021, 04:34:53 PMappImage needs to be able to coexist with Avidemux installed via package manager, so I am not sure that your solution is viable.
If the question is to differentiate the app via package manager from the app via appimage, you can add this line in the 'avidemux.desktop' file of the appimage:
X-AppImage-Version=2.7.9 AppImage
or
X-AppImage-Version=Buster 2.7.9 AppImage
echo 'X-AppImage-Version=Buster 2.7.9 AppImage' >> "~/squashfs-root/avidemux.desktop"
see the result in the programs menu of Mint Cinnamon:
(https://iili.io/59ypGR.png)
----------------
In comparison I will show the libreoffice solution:
(https://iili.io/5H9u99.png)
fresh.standard is the AppImage version, the others are the package manager version
----
see more:
https://docs.appimage.org/reference/desktop-integration.html#custom-keys-introduced-for-appimage-purposes