From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uJScOUBRdmIFIQEAbAwnHQ (envelope-from ) for ; Sat, 07 May 2022 13:00:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cFmTOUBRdmK28QAAauVa8A (envelope-from ) for ; Sat, 07 May 2022 13:00:16 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 83DCF13082 for ; Sat, 7 May 2022 13:00:15 +0200 (CEST) Received: from localhost ([::1]:35966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnIAY-00005W-1C for larch@yhetil.org; Sat, 07 May 2022 07:00:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnIAN-00005N-2V for bug-guix@gnu.org; Sat, 07 May 2022 07:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnIAM-0005lz-Nz for bug-guix@gnu.org; Sat, 07 May 2022 07:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nnIAM-0003Wq-E3 for bug-guix@gnu.org; Sat, 07 May 2022 07:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48796: Guix on Debian 11 - Cant run or find applications from Guix Resent-From: Giovanni Biscuolo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 07 May 2022 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48796 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Maxim Cournoyer , bo0od Cc: 48796@debbugs.gnu.org Received: via spool by 48796-submit@debbugs.gnu.org id=B48796.165192119713528 (code B ref 48796); Sat, 07 May 2022 11:00:02 +0000 Received: (at 48796) by debbugs.gnu.org; 7 May 2022 10:59:57 +0000 Received: from localhost ([127.0.0.1]:50602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnIAG-0003W8-UT for submit@debbugs.gnu.org; Sat, 07 May 2022 06:59:57 -0400 Received: from ns13.heimat.it ([46.4.214.66]:54744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnIAF-0003Vu-0s for 48796@debbugs.gnu.org; Sat, 07 May 2022 06:59:55 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 7602C3021A2; Sat, 7 May 2022 10:59:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dEoFcgGZLlre; Sat, 7 May 2022 10:59:28 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id A6AB030219E; Sat, 7 May 2022 10:59:28 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 393F41A6FF0E; Sat, 7 May 2022 12:59:28 +0200 (CEST) Received: (nullmailer pid 13900 invoked by uid 1000); Sat, 07 May 2022 10:59:27 -0000 From: Giovanni Biscuolo In-Reply-To: <8735hlbsnv.fsf@xelera.eu> Organization: Xelera.eu References: <87zgs3jxvr.fsf@gmail.com> <8735hlbsnv.fsf@xelera.eu> Date: Sat, 07 May 2022 12:59:27 +0200 Message-ID: <87tua1a9rk.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651921215; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=/MtbdnRlujlaTDBOUVcwcoUizBL7wiF/VDr/v8rJkpQ=; b=RaDJ0Lk1YStfQwPEz73mK1yt39nftjdytKH33M2DJgd9NA8kGd9nFmmciI10QTzz9RcCk/ UWSM/VXA9GDFD7V1bIdx99AsYj//JUtjsm9AnB/bHLUQFX6WrohvM6kshl7q1kAk+WR97W UdfAafFHQ4PdXV5c+ZkibWYYapI+l/vR89O+jHDXmHbP6MHTfxH63bUoJHG/wLuxckX3AL vj6XMBHDr9MOwDCxYwecXe1PdNLcTcPC2Ci9zCfQUEhyvZvOl7KY+hg9AX71pDP/J8rLqO 4zw366p5r0Vc2f2Og3oBeWlk1a1Rl6B3qMBRaQDqWdkwhns7F6AIyfLmwSa4Cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651921215; a=rsa-sha256; cv=none; b=jV32b/oGdntCVThv3pPC9Bsuot9akl1cjl0RxZF1i0UDYw9degFcx3JmyhFXKlgH4CHhvg ZG/hK07KYYz25hOchEcHzQhoa6o+mrzd6Ul4VfT5cLD/1RqZu/SyTUrudAaFN5QUbzSm8b 6fmYVa9uNOs0PlG4pkUnmJUS1ahiGXl4c32deDEH74YXXVgAsrsey0ULd1oYl6nGtQRVD4 8ab1bS1UDnqkhym/FghrG3Lw4DRlFPM6h0aJeqbgLRLeDvKX97Aot6Ez1QqtlrLNm9ne/f aO09/eUU/+FKz0n0PL9s0qwczpiF1Wfx3139C45unkEAc7HsE2xKT05LR52e2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.60 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 83DCF13082 X-Spam-Score: -3.60 X-Migadu-Scanner: scn1.migadu.com X-TUID: yIRG+0Yk5GIL --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Maxim, I finally was able to get a working Mate desktop environment, with all Guix installed apps listed in the graphical menu and all the mime->applications associations working as expected Getting a user Xsession environment suitable for Guix on a foreign distro unfortunately is a very hard task, because things seems to be dependant on many "things" related on what distro /and/ session-manager is used ;-( Giovanni Biscuolo writes: [...] > More unfortunately, if I try to login using a Mate session (with the > above configuration, thus with that environment) it fails with this > error (via journalctl): > > --8<---------------cut here---------------start------------->8--- > > mag 07 09:21:14 raifort mate-session[818]: GLib-GIO-ERROR: Settings sche= ma 'org.mate.session' is not installed > aborting... > > --8<---------------cut here---------------end--------------->8--- > > If I remove /etc/profile.d/guix.sh from the user's ~/.xsession Mate is > able to login with no problems (is this related to GIO_EXTRA_MODULES?) No, I found out why Mate was not starting: =C2=ABAt runtime, GSettings looks for schemas in the glib-2.0/schemas subdirectories of all directories specified in the XDG_DATA_DIRS environment variable.=C2=BB (from man glib-compile-schemas [1]) I figured out what was wrong when looking at XDG_DATA_DIRS env variable after a console login for that user: XDG_DATA_DIRS=3D/home/patrizia/.guix-profile/share XDG_DATA_DIR was missing the Debian default "/usr/share/" directory where all packages are installing schemas I fixed the problem with this workaround in /etc/profile.d/guix.sh: =2D-8<---------------cut here---------------start------------->8--- [...] # set XDG_DATA_DIRS to include Guix installations # export XDG_DATA_DIRS=3D"$GUIX_PROFILE/share:${XDG_DATA_DIRS:-/usr/local/s= hare/:/usr/share/}" export XDG_DATA_DIRS=3D"$XDG_DATA_DIRS:/usr/local/share/:/usr/share/" =2D-8<---------------cut here---------------end--------------->8--- I commented out that export because the sourced $GUIX_PROFILE/etc/profile already exports a proper XDG_DATA_DIRS variable, IMHO it should be removed from upstream Then I added the last line to (re)add "/usr/local/share/:/usr/share/", so now mate-session is happy again I'm still wondering how we can document and/or provide proper distro-agnostic configuration files for Xsessions on foreign disrtos. Unfortunately the situation is still /very/ confising for users Happy hacking! Gio' [1] https://manpages.debian.org/experimental/libglib2.0-bin/glib-compile-sc= hemas.1.en.html =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmJ2UQ8MHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSCCoQAKJT5TFa5MtLGNHWWSO/NRVgBNnnior9zk/nNWLV 7x0nw2+/xFD1y0fX3Olpxznkfiq8fjNdpYurbcnqDSPOe36iRj9dhw/zmpXoxF1t I6pL9yCc+BxdPtPZwfehSlQqmlHcsbWPW8FOWkSIDzCmi0u87lL3FGOY8BCy0QYG TMexCuxPUvoUY2+AbX3omdK/+hzgI/8sZgark0M+QMJTRBGAoi/SDHPUbfqaar1O B9FvzhyJiMcrtaTLJxmq9UrapVRwAb4YSZI5SyDVNqimrtTUnEu/PPdZHj22iVza GF22cPuujW5cJXp2WIHnYQMAE2GMVEV8J8O5xpc7APZi2OojBzmltcw9GuSXLsew yHPuAApl7Dskh789ZArF+H7tKSM8+uVLmDeHpo+yPg1kSOXJI+j1bkIPUnblpmuX RZPFxXx3kZgA+8S7h+TRfxrV9uxef6FRlK9YK86eBNiJ8WGC47bGdnr5t7480Rds JcFQc2qDByFsq0LlaPnrFxavSwF1TClU4Ky8GYWe1ra/th2JsbS/OfadIuG/zRa+ IXIk3AetCz43dR9T9y9BlfcKLCir0qdHFbn2KWM1BBNCClBjr2dCE5Tt65F/9Yar +/zNT9hPnTp3gKQ3m8KWgGmbIRmSw81QHhkPEXaTdBRNIKwopJzXjz0CGGl5eEsK 8wpl =Dn98 -----END PGP SIGNATURE----- --=-=-=--