Re: pkg/59768: Firefox-efr: mouse pointer does no change over links

"David H. Gutteridge via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
The following reply was made to PR pkg/59768; it has been noted by GNATS.

From: "David H. Gutteridge" <[email protected]>
To: RVP <[email protected]>, [email protected]
Cc: 
Subject: Re: pkg/59768: Firefox-efr: mouse pointer does no change over links
Date: Fri, 21 Nov 2025 13:16:59 -0500

 On Fri, 2025-11-21 at 16:19 +0000, RVP wrote:
 > There're a few things going on here which is causing this issue:
 >=20
 > 1. /usr/xsrc/external/mit/xcursor-themes/ exists, but, is not being
 > built.
 > =C2=A0=C2=A0=C2=A0 So, no modern Xcursor themes are installed--even thoug=
 h the
 > Xcursor library is.
 >=20
 > 2. /usr/pkg/share/icons probably should be appended to
 > ICONDIR/XCURSORPATH/...
 > =C2=A0=C2=A0=C2=A0 in /usr/src/external/mit/xorg/lib/libXcursor/Makefile =
 so that
 > pkgsrc-installed
 > =C2=A0=C2=A0=C2=A0 themes can be found.
 >=20
 > 3. The GTK3 package should have a dependency on one of the icon theme
 > packages:
 > =C2=A0=C2=A0=C2=A0 adwaita-icon-theme, or xcursor-themes-1.0.7, or someth=
 ing.
 
 Well, empirically, this doesn't help, if we're talking adwaita, since I
 have it installed and this doesn't cause the hand pointer icon to
 appear in firefox140.
 
 Historically, there were reasons why gtk3 didn't record a dependency on
 adwaita in pkgsrc, see for example:
 
 https://mail-index.netbsd.org/tech-pkg/2020/02/16/msg022641.html
 
 It is a pain because with some applications switching to CSDs, without
 ensuring it's installed, they will have completely missing icons. That
 means individual gtk3-using packages end up with the dependency
 expressed there instead in pkgsrc (at least, some I've worked on).
 
 I haven't looked into how different things are "these days".
 
 >=20
 > Ayway, this works--for now:
 >=20
 > 1. Install one of the icon themes:
 >=20
 > =C2=A0	pkgin -y in xcursor-themes-1.0.7
 >=20
 > 2. Tell Xorg to use the `whiteglass' theme (which has a `cursors'
 > subdir., unlike
 > =C2=A0=C2=A0=C2=A0 the `hicolor' dir.):
 >=20
 > =C2=A0	~/.Xresources:
 > =C2=A0	Xcursor.theme:		whiteglass
 > =C2=A0	Xcursor.theme_core:	true
 >=20
 > 3. Tell Xorg where the themes are:
 >=20
 > =C2=A0	~/.xinitrc (or ~/.xsession):
 > =C2=A0	export XCURSOR_PATH=3D/usr/pkg/share/icons
 >=20
 > 4. If you start firefox from xterm(1), then know that xterm(1) removes
 > XCURSOR_PATH
 > =C2=A0=C2=A0=C2=A0 from the environment, so you'll have to run firefox li=
 ke this:
 >=20
 > =C2=A0	env XCURSOR_PATH=3D/usr/pkg/share/icons firefox ...
 >=20
 > =C2=A0=C2=A0=C2=A0 or, symlink `~/.local/share/icons' to `/usr/pkg/share/=
 icons'.
 
 Sure, or change the internal Firefox setting "widget.gtk.legacy-
 cursors.enabled" instead. That works with "native" NetBSD Xorg. If
 one's fine with the legacy look. :)
 
 Regards,
 
 Dave
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.