ivan-hc / GIMP-appimage

GNU Image Manipulation Program Stable & Developer Edition.
54 stars 3 forks source link

I don't understand how to open JuNest AppImages #26

Closed yataghan012 closed 5 months ago

yataghan012 commented 6 months ago

Hi, I downloaded "GNU-Image-Manipulation-Program_2.10.38-1-archimage3.4.1-1-x86_64.AppImage" and "GNU-Image-Manipulation-Program_DEV_2.99.18-2-archimage3.4-x86_64.AppImage", and can't open them.

I installed JuNest from both the pamac (junest-git) and manually (https://github.com/fsquillace/junest). I tried opening the images from the host distro and nothing shows up (execv error: No such file or directory), I also tried from the JuNest environment located at /home/manjaro/.junest/ and says "cannot execute: required file not found". I've made the images executables through chmod.

I'm on Manjaro, Linux LTS 6.6.32-1.

ivan-hc commented 6 months ago

Hi, why you should use JuNest to run these Appimages? They are normal Appimages (built using JuNest), its enough to made them executable and run them

https://github.com/ivan-hc/GIMP-appimage/assets/88724353/85145cae-5653-48fc-b5eb-6867f2e67e78

yataghan012 commented 6 months ago

At first I tried not using Junest, but it doesn't work either way. says "execv error: No such file or directory"

The PPA Appimages do work, though.

ivan-hc commented 6 months ago

I need to see a video, some screenshots or at least a log, I can't figure out what happens without enough information

yataghan012 commented 6 months ago

Captura de pantalla_2024-06-03_21-36-42

I use AppImageLauncher to open my images, I don't remember this happening to any other AppImage I've used. I commonly use them.

ivan-hc commented 6 months ago

This issue remembers me this https://github.com/ivan-hc/AM/issues/107

Would you like to try using "AM" or AppMan instead?

https://github.com/ivan-hc/AM

https://github.com/ivan-hc/AppMan

yataghan012 commented 5 months ago

This issue remembers me this ivan-hc/AM#107

Would you like to try using "AM" or AppMan instead?

https://github.com/ivan-hc/AM

https://github.com/ivan-hc/AppMan

How can I use AM or AppMan to open AppImages by double clicking it?

ivan-hc commented 5 months ago

The ways you can use my gimp appimages using AM or AppMan:

ivan-hc commented 5 months ago

Anyway, it's strange that AppimageLauncher can't launch my GIMP AppImages. You should contact the author of AppimageLauncher to report the problem.

Have you tried launching any other AppImage I created? The list is here https://github.com/ivan-hc#my-appimage-packages

ivan-hc commented 5 months ago

Also, I've seen that AppimageLauncher is a Type2 AppImage

Istantanea_2024-06-05_01-44-15

it means that it requires libfuse2 to work... while all my AppImages are Type3. I don't know how it manages Type3 AppImages. I only know that Arch Linux and its derivatives have fusermount included in the package fuse2 while Type3 AppImages require fusermount as a symlink to fusermount3 to work.

I've already faced this issue two times https://github.com/ivan-hc/AM/discussions/387 https://github.com/ivan-hc/Chrome-appimage/issues/3

I don't know if this is your case.

yataghan012 commented 5 months ago

The ways you can use my gimp appimages using AM or AppMan:

* use `am -i gimp` or `appman -i gimp` to install it as any other normal package manager (not a portable way), see https://github.com/ivan-hc/AM#how-to-install-applications

* use `am --launcher '/path/to/appimage'` or `appman --launcher '/path/to/appimage'` to create a launcher in your apps menu and to give it a name to launche from the terminal, see https://github.com/ivan-hc/AM#how-to-create-launchers-and-shortcuts-for-my-local-appimages

It doesn't launch with AM, same error.

yataghan012 commented 5 months ago

Also, I've seen that AppimageLauncher is a Type2 AppImage

Istantanea_2024-06-05_01-44-15

it means that it requires libfuse2 to work... while all my AppImages are Type3. I don't know how it manages Type3 AppImages. I only know that Arch Linux and its derivatives have fusermount included in the package fuse2 while Type3 AppImages require fusermount as a symlink to fusermount3 to work.

I've already faced this issue two times ivan-hc/AM#387 ivan-hc/Chrome-appimage#3

I don't know if this is your case.

I don't think it's a AppimageLauncher problem. Why is it that I can run the PPA images and not these?

ivan-hc commented 5 months ago

my PPA ones are type2, I don't update them from before I switced to type3

can you try other ones from my lists? For example, google-chrome, edge... the ones marked as based on .deb

There are also the ones marked as "JuNest, Arch Linux (ArchImage)", for example VLC or OBS Studio... try also them and see if they work with AppimageLauncer, just for tests.

yataghan012 commented 5 months ago

VLC , chrome, edge and OBS studio don't work, same error.

What does "Archimage / JuNest require /run/user to work" do i need to configure something?

ivan-hc commented 5 months ago

Chrome and Edge are based on the official .deb packages, the others are Archimages.

That fix was done after an experiment I did for non-systemd users. In brief, Archimage is an arch Linux container (see JuNest) into an AppImage (see Archimage). It uses its internal "bubblewrap" to integrate itself on the host system. To do so, it needs to see some directories on the system, nd the two that must do present are /home and /run/user... all others are optional so I've changed this in the last commit. However, non-systemd users need at least to create an empty directory named /run/user on their system. You use Manjaro, so you use systemd like many others.

However, let talk about your issue... all my Type3 AppImages are not working with AppImageLaincher... while the old Type2 ones I've built until July 2023 are working... I'd like to see other Type3 not developed by me to see if your is an issue with these... I need someone that suggests me.

@Samueru-sama , sorry if I always call you, but I don't know other AppImage packager experts other than you.

In brief, @yataghan012 uses Manjaro and none of my AppImages is working on AppimageLauncher. Any idea?

Samueru-sama commented 5 months ago

appimagelauncher is broken, this is why I usually have this message on my appimages:

It is possible that this appimage may fail to work with appimagelauncher, I recommend this alternative instead: https://github.com/ivan-hc/AM

Back when yuzu was still around, it also failed to integrate its appimage.

When I made the script that made the Ryujinx appimage: https://github.com/Ryujinx/Ryujinx/issues/2492

The user there could not even open Go appimagetool to make the appimage because of appimagelauncher.

I consider appimagelauncher dead at this point, it's last stable release was in 2020 while its last pre-release was in 2022.

Also @ivan-hc I am on a non systemd distro and I have a /run/user directory.

yataghan012 commented 5 months ago

appimagelauncher is broken, this is why I usually have this message on my appimages:

It is possible that this appimage may fail to work with appimagelauncher, I recommend this alternative instead: https://github.com/ivan-hc/AM

Back when yuzu was still around, it also failed to integrate its appimage.

When I made the script that made the Ryujinx appimage: Ryujinx/Ryujinx#2492

The user there could not even open Go appimagetool to make the appimage because of appimagelauncher.

I consider appimagelauncher dead at this point, it's last stable release was in 2020 while its last pre-release was in 2022.

Also @ivan-hc I am on a non systemd distro and I have a /run/user directory.

Is there another way to launch AppImages by double clicking them and in a portable way?

I tried launching them with AM, from the terminal and it didn't work, gave me the same EXACT error. It looks like it's still using appimagelauncher despite using a launcher made with AM (located $/.local/bin/).

ivan-hc commented 5 months ago

you should completelly remove appimagelauncher, see https://github.com/ivan-hc/AM/issues/107

Samueru-sama commented 5 months ago

Yeah as Ivan said, you have to remove appimagelauncher and reboot. I don't know why this happens but it was something that I also replicated back then.

yataghan012 commented 5 months ago

I rebooted and my AM launcher finally works, am I supposed to make a launcher for each AppImage i have and launch them from the terminal from now on?

Samueru-sama commented 5 months ago

I rebooted and my AM launcher finally works, am I supposed to make a launcher for each AppImage i have and launch them from the terminal from now on?

You can also just use am to install them and it puts them in PATH automatically.

am -i gimp for example will install the gimp appimage.

You can also use appman if you want to install the appimages in home like I do.

yataghan012 commented 5 months ago

Nevermind, it works double clicking it too. Thanks I will keep using AM.