gentoo niri桌面下的xwayland兼容层

gentoo niri桌面下的xwayland兼容层

niri没有内置的xwayland兼容层,现在最好的解决方案是xwayland-satellite

安装xwayland-satellite

sudo emerge -av gui-apps/xwayland-satellite

niri开机自动启动xwayland-satellite

在niri的config文件里添加:

spawn-at-startup "xwayland-satellite"
spawn-sh-at-startup "export DISPLAY=:0"
posted @ 2026-05-10 21:56  酒舯  阅读(4)  评论(0)    收藏  举报