mijorus / gearlever

Manage AppImages with ease 📦
https://mijorus.it/projects/gearlever
GNU General Public License v3.0
429 stars 15 forks source link

Command '['flatpak-spawn', '--host', 'which', 'gtk-launch']' returned non-zero exit status 1 #108

Open pective opened 1 month ago

pective commented 1 month ago

image

Im on NixOS and when trying to launch any AppImage I get this error.

mijorus commented 1 month ago

Hi, I'm aware of this issue for systems that don't have gtk launch installed.

The next update will fix it

mijorus commented 1 month ago

Hi, the latest version should include a bunch of bug fix that should fix this issue, please let me know if the issue was fixed for you

pective commented 1 month ago

I wont be home for a while, but you can close the issue for now and I'll comment when I check if its fixed. Thanks for paying attention to the issue.

mijorus commented 1 month ago

Thanks for contributing with this bug report.

If you want to support my work, please consider a small donation.

https://ko-fi.com/mijorus

pective commented 1 month ago

Hey, i checked it out, and the error is fixed, but when i click launch it just hangs and nothing happens.

pective commented 3 weeks ago

Hey, the issue still persists, I tried creating a custom desktop entry that runs appimage-launch, but creating them is a bit funky on NixOS, and i cant seem to figure out how to do it.

pective commented 3 weeks ago

I kinda fixed it, i updated the .desktop file made by gear lever, appending "appimage-run" to the Exec field manually. You could make that the default behavior when Gear Lever detects that the os is NixOS. Comment here if you figure something out.

mijorus commented 2 weeks ago

https://github.com/mijorus/gearlever/blob/29b27af394623de488a0b429b9a9a46cfc9de9e1/src/providers/AppImageProvider.py#L607

It should be doing it already :(