kimlimjustin / xplorer

Xplorer, a customizable, modern file manager
https://xplorer.space/
Apache License 2.0
4.04k stars 290 forks source link

Xplorer AppImage doesn't open on Arch Linux #179

Open aathif394 opened 2 years ago

aathif394 commented 2 years ago

Description

Running the xplorer appimage does not work and instead errors out. ** (xplorer:5459): ERROR **: 20:24:41.369: Unable to spawn a new child process: Failed to execute child process “/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess” (No such file or directory)

I do have webkit2gtk and webkit2gtk-4.1 installed.

Steps To Reproduce

  1. Try to launch the appimage on arch or arch based distros.
  2. The app doesn't launch

Expected behavior

The app is supposed to launch without any errors

Xplorer Version

v0.2.0

Operating System Version

EndeavourOS

Additional Information

No response

im-coder-lg commented 2 years ago

Have you installed Rust and Tauri dependencies via pacman? Mostly I guess you need Rust, Node 17 and maybe and optionally, the Tauri dependencies. @kimlimjustin any ideas?

kimlimjustin commented 2 years ago

Have you installed Rust and Tauri dependencies via pacman? Mostly I guess you need Rust, Node 17 and maybe and optionally, the Tauri dependencies. @kimlimjustin any ideas?

Rust and node js are not needed for the packaged app.

Actually, I tried to install AppImage on Garuda Linux (an Arch os-based Linux distro) and it works but not sure with freshly installed Arch Linux tho, but yeah, I'll try to install fresh arch os VM and try to install Xplorer appimage inside tomorrow.

Anyway, does the deb installer works there (if you don't mind trying)?

Thanks

im-coder-lg commented 2 years ago

Arch doesn't use deb files it uses .pacman files.

aathif394 commented 2 years ago

I did try the xplorer-bin package from the AUR and that worked without any issues. The AUR pacakge just repackages the deb format to work with Arch.

im-coder-lg commented 2 years ago

Is it v0.2.0?

im-coder-lg commented 2 years ago

I'll try to install fresh arch os VM and try to install Xplorer AppImage inside tomorrow.

PS: The normal Arch Linux might make you feel disturbed since you need to apply commands for installing, so make sure you get the one with Xfce, it might need only 2 GB of memory, I guess it will have a GUI installer, and it will do the job.

kimlimjustin commented 2 years ago

Arch doesn't use deb files it uses .pacman files.

It works, just using dpkg -i command.

I did try the xplorer-bin package from the AUR and that worked without any issues. The AUR package just repackages the deb format to work with Arch.

The xplorer-bin is not up to date, it is still on v0.1.0 and I do not clearly understand how AUR works and the 0.1.0 is provided by @DTan13, could you please help me update the package? Or do you have any resources of AUR? Thanks a lot

im-coder-lg commented 2 years ago

It works, just using dpkg -i command.

Are you referring to Debian?

kimlimjustin commented 2 years ago

It works, just using dpkg -i command.

Are you referring to Debian?

You can install deb installer on arch linux using dpkg -i command, (I do that every day on Garuda Linux), but not sure if it works on freshly installed Arch Linux, need to test tho (maybe later today)

DTan13 commented 2 years ago

@kimlimjustin I have updated xplorer-bin to 0.2.0.

kimlimjustin commented 2 years ago

Thanks a lot, @aathif394 could you please give it a try?

aathif394 commented 2 years ago

Sorry for replying late, I was not able to check yesterday. As I said earlier, the problem does not occur when using the AUR package. I tried the latest one too. I get an error when I use the AppImage version.

kimlimjustin commented 2 years ago

Could you please run the app image via terminal and send the error? It seems like some dependencies are missing...

aathif394 commented 2 years ago

I have already posted the output when I created the issue. I think you forgot to see that :)

kimlimjustin commented 2 years ago

Ah ye, my bad. After asking on Tauri discord for clues, this is actually a problem with Tauri itself, which is detailed on this PR, waiting for the PR to be merged to fix this issue.

Bleyom commented 2 years ago

Well I had the same error and the solution was to search for the file "WebKitNetworkProcess" sudo find / -name WebKitNetworkProcess 2>/dev/null and i find the file "WebKitNetworkProcess" in "/usr/lib/webkit2gtk-4.0/WebKitWebProcess" I created the /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/ and make a symlink to "/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess" And now the .AppImage works fine 🤙🏼

IamRezaMousavi commented 1 year ago

You may need to include WebKitWebProcess file in AppImage package too

I use: Arch linux and xplorer v0.3.1