NetBSD Problem Report #58407

From mccd@bsd.lt  Sun Jul  7 16:32:25 2024
Return-Path: <mccd@bsd.lt>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 189001A9238
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  7 Jul 2024 16:32:25 +0000 (UTC)
Message-Id: <20240705185019.A1623B200A9@bsd.lt>
Date: Fri,  5 Jul 2024 13:50:19 -0500 (-05)
From: marc@mccd.space
Reply-To: marc@mccd.space
To: gnats-bugs@NetBSD.org
Subject: Adwaita icon theme is not installed correctly
X-Send-Pr-Version: 3.95

>Number:         58407
>Category:       pkg
>Synopsis:       Xcursor theme is not
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 07 16:35:00 +0000 2024
>Originator:     marc@mccd.space
>Release:        NetBSD 10.0
>Organization:
>Environment:
System: NetBSD bsd.lt 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	After installing adwaita-icon-theme, I had issues setting it up,
	even though I added Adwaita to my .Xresources.

	In most distros I've used, that should be sufficient.
>How-To-Repeat:
	Install netbsd, adwaita-icon-theme, add Xcursor*theme: Adwaita
	to .Xresources. On CWM, the cursor theme is not applied.

	Similarly adding Adwaita to Xresources for xdm does not apply 
	it.

>Fix:
	The reason I think it occurs is because XCURSOR_PATH does not include

	/usr/pkg/share/icons

	by default.

	Therefore, updating the environment variable to include the path
	should fix it.

	Another way to solve it is by symlinking Adwaita cursor theme folder to
	/usr/share/icons, but that seems like a less good solution.

	I am happy to supply my first patch as I want to contribute.  However
	before that, I'd love to get feedback on where it is most appropriate
	to make the changes.  My thinking is:

	- Change default Xsession for xdm to include the environment variable 
	XCURSOR_PATH set to include /usr/pkg/share/icons

	- Change default .profile to include the environment variable 
	XCURSOR_PATH set to include /usr/pkg/share/icons

	Would that be appropriate?

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.