Re: wayland desktop mouse cursor size

Jan Beich <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
(x11@ may still be better than questions@ for Wayland stuff)

<[email protected]> writes:

> I'm having trouble with mouse cursor size. On my 14" 2650x1600 display,
> the mouse cursor is about half a terminal character in height. The
> wayland compositor I'm using, labwc, recommends to set the size with the
> XCURSOR_SIZE environment variable, however this does nothing on my box.
> I am not using moused with `moused_nondefault_enable="NO"` in rc.conf.

Did you set XCURSOR_THEME as well? Setting XCURSOR_SIZE alone is illegal.

> Anyone know how this works?

Depends on app. There're 3 ways cursors are set:
- by client (default, via XCURSOR_SIZE + XCURSOR_THEME)
- by server (cursor-shape-v1 protocol, via compositor config)
- by xwayland (via Xcursor.size + Xcursor.theme in ~/.Xdefaults or xrdb)

See also https://blogs.kde.org/2024/10/09/cursor-size-problems-in-wayland-explained/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.