ITADN

Zathura runs XWayland in a Wayland environment when run with a terminal file manager

#915Openthesteeltrooper 创建于 2026-04-17
question
T
thesteeltroopercommented
### Is there an existing issue for this? - [x] I have searched the existing issues ### Problem When I use a terminal file manager like lf, nnn or yazi, Zathura fires up XWayland, lives for an unpredictable amount of time, sometimes for a long or seemingly unlimited amount of time, and sometimes only for a couple seconds. I then ran Zathura directly "zathura filename.pdf", and saw that the issue doesn't occur this way. I used a graphical file manager like Thunar to open Zathura that way, and this issue doesn't occur there too. There's something happening when a terminal file manager is being used. I used xeyes tool to see if Zathura was running in XWayland, and it looked like it ran in Wayland, but opened up XWayland process for no reason. OS: Arch Linux WM: SwayWM Wayland Zathura version: 2026.03.27-1 Using zathura-pdf-mupdf, version 2026.02.03-6 ### Steps to reproduce 1. Open up a process viewer like btop, search for XWayland for convenience and focus, and put it aside. 2. Use a terminal file manager to open a pdf (I've tested and reproduced this bug with every one of them I tried, lf, nnn, yazi, etc.) 3. Quickly look at the process viewer, XWayland will appear, sometimes for a couple of seconds, sometimes indefinitely. ### Expected behavior Zathura runs in pure Wayland and doesn't open up any XWayland process, like when run with a GUI file manager or manually from the terminal. ### zathura version (zathura --version) 2026.03.27 ### girara version (zathura --version) 2026.02.04 ### zathura backend mupdf
1 条评论