documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Document Running on Arch with Wayland

Open Corb3nik opened this issue 5 months ago • 0 comments

As reported by one of our users

@Corb3nik It's been a long time trying to launch Ciaod on Arch with Hyprland, but whatever I do, I never succeed, and every day I set a time and try to solve the issue until I found the problem is Caido being an Electron app, which might not yet support Wayland well unless specifically built for it. 

I used tar.gz, you can confirm that by running env -u WAYLAND_DISPLAY ./caido

To solve these issues is you need to force it to run on XWayland.

XWayland is an X server that allows X11 applications to run in a Wayland environment.

So you need to install it sudo pacman -S xorg-xwayland

After installing it successfully, you need to force run it with env ELECTRON_OZONE_PLATFORM_HINT=x11 ./caido  boom 💥  works

Here you are free to choose how you would like to run it:
Create a Launcher Script and symlink it
Add it to shell profile .bashrc || .zshrc
Make a desktop shortcut with Exec=env ELECTRON_OZONE_PLATFORM_HINT=x11 /full/path/to/caido

References:

  • https://github.com/electron/electron/issues/41551
  • https://discord.com/channels/843915806748180492/897575154526330960/1400938960804516112

Corb3nik avatar Aug 01 '25 20:08 Corb3nik