Skip to content

Xwayland

Xwayland is an X11 server that allows legacy X11 applications to run under Wayland.

Disabling

You can start Pinnacle without xwayland by passing in the --no-xwayland flag.

You can disable xwayland permanently by adding the following to your pinnacle.toml:

toml
no_xwayland = true

Scaling

X11 does not handle scaling well. As a result, on outputs with a scale above 1, X11 windows will look blurry. To mitigate this, you can tell X11 clients to ignore Wayland scaling and attempt to scale themselves using set_xwayland_self_scaling.

lua
require("pinnacle").set_xwayland_self_scaling(true)

If the application does not support scaling, it will render as if the output had a scale of 1.

If you do not want to do that, you can instead change the upscale filter to nearest_neighbor to make blurry windows pixelated instead.

lua
require("pinnacle.render").set_upscale_filter("nearest_neighbor")