From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24445: GNOME desktop session crash when re-arranging dock Date: Mon, 09 Oct 2017 11:51:14 +0200 Message-ID: <87zi907ip9.fsf@gnu.org> References: <871smdfzhx.fsf@gnu.org> <87infpr6om.fsf@thomasdanckaert.be> <87shetcut7.fsf@gnu.org> <20171009.105844.499787305255901703.post@thomasdanckaert.be> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1UjI-0000wM-4t for bug-guix@gnu.org; Mon, 09 Oct 2017 05:52:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1UjC-0001Fu-HY for bug-guix@gnu.org; Mon, 09 Oct 2017 05:52:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48467) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1UjC-0001Fj-Dw for bug-guix@gnu.org; Mon, 09 Oct 2017 05:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1UjC-0001gA-45 for bug-guix@gnu.org; Mon, 09 Oct 2017 05:52:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20171009.105844.499787305255901703.post@thomasdanckaert.be> (Thomas Danckaert's message of "Mon, 09 Oct 2017 10:58:44 +0200 (CEST)") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Thomas Danckaert Cc: sadiq@sadiqpk.org, 24445@debbugs.gnu.org Hey Thomas, Thomas Danckaert skribis: > From: ludo@gnu.org (Ludovic Court=C3=A8s) > Subject: Re: bug#24445: GNOME desktop session crash when re-arranging > dock > Date: Sun, 08 Oct 2017 21:18:28 +0200 > >> I think we should set XCURSOR_PATH via >> =E2=80=98session-environment-service-type=E2=80=99 like in the patch I p= osted. I >> find >> it marginally nicer than setting it in /etc/profile because that way >> it >> remains close to =E2=80=98gnome-service-type=E2=80=99; we need to do the= same in >> =E2=80=98xfce-service-type=E2=80=99 though. WDYT? > > Sure, I agree. My choice of /etc/profile was not really motivated: I > just looked for the first place I could set an environment variable, > and used that, thinking there would be someone to tell me if this was > a good place to put it, or not. Silly me: we cannot have $HOME/.guix-profile/share/icons and $HOME/.icons in =E2=80=98XCURSOR_PATH=E2=80=99 if we do it via =E2=80=98session-environment-service-type=E2=80=99. So I guess we have to go with /etc/profile as in your patch. Can you push the patch (with a comment linking to this issue)? >> Then, eventually, we can add XCURSOR_PATH as a search path >> definition of >> =E2=80=98libxcursor=E2=80=99, but due to bug 20255, it won=E2=80=99t be = effective here; so >> that=E2=80=99ll be a mostly cosmetic change. > > Adding it as a =E2=80=9Ccosmetic change=E2=80=9D is perhaps useful as a r= eminder that > we can improve this in the future. Also (bug 22138), I believe search > paths of dependencies are not propagated, so users would also have to > explicitly install libXcursor itself in a profile to have this take > effect? No strong opinion here :) Right. In the patch, I think you can add the extra =E2=80=98search-paths= =E2=80=99 entry, comment it out, and add a TODO comment. > One less bug for the 0.14 release (come and switch back already, > Mohammed... :-) ) Definitely. :-) Ludo=E2=80=99.