From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QPH4ORYWmWLQCwAAbAwnHQ (envelope-from ) for ; Thu, 02 Jun 2022 21:57:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UDb6OBYWmWJzHAEAG6o9tA (envelope-from ) for ; Thu, 02 Jun 2022 21:57:10 +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 2CF3620FD2 for ; Thu, 2 Jun 2022 21:57:07 +0200 (CEST) Received: from localhost ([::1]:51736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwqwL-0006FL-Mw for larch@yhetil.org; Thu, 02 Jun 2022 15:57:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwqvm-0006Eo-Jj for help-guix@gnu.org; Thu, 02 Jun 2022 15:56:30 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:56398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwqvj-0007R7-KR for help-guix@gnu.org; Thu, 02 Jun 2022 15:56:30 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 387d4e29; Thu, 2 Jun 2022 19:56:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=OQjjpXsaDAgN 4AEATDoaG402ZmRY5btn2hSvcDBoS1w=; b=MaCTrfWlDP154tmmIdza+2FBt+AO JhFTZH9MKkxNB13kuhfjvO7kWpO6XXmiT6aQE82SPoq2ziHU6A5cQ48Xk4fWeTNe tV4r7dsLjg0S8koPH/UoANeU1lmU+wHf7+gfDtiJ6sI/raLKaR5KLda1Ay59N2hp lr8vE+/hTCCKfqgppR/lv15BiImbKNCvIuayUu0auuvNZZ80Gjeko5Odo4RQ/l2a QB6q3UvgLxMjFU7Kj6PzMaL4Lm9H67UPkuYkczsujkHbSocWArH3F4lIMpR9gELX nGn4Hil/6bjB3AzlFKYdXkZrjyTPtzkNFDyWaMShxS4PH8rkafgfOLcSNw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 07008326 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 2 Jun 2022 19:56:21 +0000 (UTC) Date: Thu, 2 Jun 2022 21:56:19 +0200 From: Julien Lepiller To: Gottfried Cc: help-guix@gnu.org Subject: Re: what is the difference among files in /gnu/store Message-ID: <20220602215619.70c10610@sybil.lepiller.eu> In-Reply-To: <85f20ecc-0aa9-6a08-b7f0-c61a5e477d0a@posteo.de> References: <2d588f16-c719-9098-4b70-84d8b82b1334@posteo.de> <5B8D6728-7DBE-4408-AA6F-57C58197CA3E@lepiller.eu> <85f20ecc-0aa9-6a08-b7f0-c61a5e477d0a@posteo.de> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-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=1654199830; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WXXisAO9jsCVMn6Wek+MbmSAd0Hizgj1nILlO6AcayY=; b=rClWV7dMap3ShvZPB3LUEQH4pKi8UiVpr7zv9ILIAS6W+bVPTJ9kwWRHBNiXVsBHOaMCWJ omg13ECI62vBbIXWNTG8am/ApYxbcIiP3XY614C3gG9KdfbII3CggwewjN4rNKR3ZBKYHE 025+DUlZFtITkviVVD6U+x+tl/c55Kq6v+Mn3hxIywShuvkzQNGlZaXc+i+Vd1RxO6ay3Z vpPKwCU5k+KCCidnH+M0V3xY37MzXYmMitAESqsvsjP2dtXOadeOtMLWukLwBsy4AV8eX0 1d9C8jt4Jb64b3mdAQFQNmsfjQKli9h29RECx6z6tpd9WCnOBTRuk87dPzJ+fg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654199830; a=rsa-sha256; cv=none; b=Nm5beq6zw835KcCHkNCBBrAUtbvrBBkrk4hfgdDtVtEiAak4XdhQoKwDFi/HUAuQkUbLGp O1DfzXKwkUy+I8jlcxlpq7gBJr9/QQCcg/MHJoSCCStIT+QZmSA89coWKFXZ4d41gJCsrS xZ6slHTo1lv659wbji6t5eFekCpQQMZ43nJxhOhpseWHzzGc7/4A25BtMb8VqXWQceYMog vG88emiDmRylwLG4+uaGSXuzUzCjblsvz9cq3cFrAtGOJ9bSsxvO/yKfpZmnF0C4m2g3UA bmV1+um3lKCDVUZXJlGyMzMNaYxa8STf8jRyy+uqTR9ZP0BA4TegTuRtJOd+QQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=MaCTrfWl; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=MaCTrfWl; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2CF3620FD2 X-Spam-Score: -5.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9yrS5azYc+PU Le Thu, 2 Jun 2022 18:24:20 +0000, Gottfried a =C3=A9crit : > Hi Julien, >=20 > thanks for your explanation >=20 > >> How did you get this list of store items? =20 >=20 > I simply used "catfish" to look for "TraditionalGreen" and it gave me=20 > those 4 packages. I see. In general, it's not very useful to figure out what the exact store path for a file is. I'm not very familiar with Mate, but I suppose it has some sort of theme chooser? You should use it and select your favorite theme directly. >=20 > >> The second is the content of a system generation. You probably > >> installed mate in your system :). The system generation is also > >> the union of packages that you declared, so it includes mate, and > >> consequently, the theme. =20 >=20 > When I installed Guix, it gave me only 3 options of desktops: MATE,=20 > Enlightment and Awesome. That's why I installed all three of them. >=20 > I knew only MATE, I didn't know what Enlightment and Awesome was, so > I installed them to get to know them. There was no Gnome, XFCE, KDE > ... available. So I was wondering why some Guixers have e.g. Gnome or > XFCE installed. > Now checking in the Guix Packages I found Gnome and XFCE available, > but no KDE. KDE, AFAIK isn't available at the moment. Is that right? Correct, KDE is a bit difficult to package, and we don't have enough people interested in making the effort. >=20 > >> If possible, please don't use a store path in your configuration. > >> If you update the system, the new version will be at a different > >> location (even if the version number is the same, as you've seen > >> with mate-themes). It might get garbage-collected and will > >> definitely get out of date.=20 >=20 > I didn't do anything. It was installed this way when I installed Guix=20 > System. > In which other location Guix will install the new version? That's the problem: I don't know, because I can't predict it. A store path looks like this: /gnu/store/--/ The and parts are easy to understand. The part is a string that is derived from the part of the dependencies of the package. Every time the package is updated, or one of its dependencies, or a dependency of a dependency, etc, is updated, the part changes. That's why you have two "mate-themes" packages in your store. They're both at the same version, but they were built with different packages, because at least one of their dependencies is different. After an update, guix will create a new store path for the new item. Guix never updates anything in place, which guarantees that if something works one day, it will always work. >=20 > >> Instead, you should reference a theme by its name only. If mate > >> lets you, try to set the theme to "TraditionalGreen" and that will > >> always be the latest version. =20 >=20 > In my home folder there is a hidden folder with the name > .icons and another one with the name .themes. > I thought that in one ot those my "themes" will be stored. > But when I looked for them, catfish found them in /gnu/store. > Those tho folders are empty. > So if I would be able to install new themes, I thought to install > them there, but I don't know if Guix will find them, because as far > as I know Guix will look in /gnu/store. Some themes come from guix packages, such as TraditionalGreen, but you could install custom themes (outside of guix) in your .themes folder. Mate will look both at this folder and in the store, at a location that Guix will provide it (which is the location that contains the up-to-date version). If you select a store path directly, your config will always point to that fixed version (remember a store path is immutable, it doesn't change even with updates). So, you won't get updates. Instead, you should just use the name of the theme, so Mate will look for a theme by that name, and find it in the latest store path that Guix configured for it. After an update, Guix will configure the new path and Mate will be able to load the new version transparently. >=20 > Gottfried > "hacking" on the basics >=20 >=20 > Am 02.06.22 um 07:12 schrieb Julien Lepiller: > > Hi Gottfried, > >=20 > > How did you get this list of store items? > >=20 > > The first one comes from "mate". That's a meta-package that > > contains the union of a bunch of packages that are needed to run > > mate. > >=20 > > The second is the content of a system generation. You probably > > installed mate in your system :). The system generation is also the > > union of packages that you declared, so it includes mate, and > > consequently, the theme. > >=20 > > The last two are different versions of "mate-themes". I don't know > > which is more recent. > >=20 > > If possible, please don't use a store path in your configuration. > > If you update the system, the new version will be at a different > > location (even if the version number is the same, as you've seen > > with mate-themes). It might get garbage-collected and will > > definitely get out of date. > >=20 > > Instead, you should reference a theme by its name only. If mate > > lets you, try to set the theme to "TraditionalGreen" and that will > > always be the latest version. > >=20 > > HTH! > >=20 > > On June 1, 2022 9:03:39 PM GMT+02:00, Gottfried > > wrote: =20 > >> Hi guixers, > >> > >> e.g. > >> > >> I have in my MATE desktop a theme called "TraditionalGreen" > >> > >> There are several files. > >> What is the difference? > >> > >> /gnu/store/09bi02ldaqsykdfi8szv225z4adl98hj-mate-1.24.1/share/themes/T= raditionalGreen > >> > >> /gnu/store/65dvsqhxly3cs33m935amvg1wc38s1ii-system/profile/share/theme= s/TraditionalGreen > >> > >> /gnu/store/aqpb71z7nl1jbaxi7q2364x5hm2lsab9-mate-themes-3.22.21/share/= themes/TraditionalGreen > >> > >> /gnu/store/y3cwrifdqvainwddij7zvk0lspvbpsia-mate-themes-3.22.21/share/= themes/TraditionalGreen > >> > >> > >> The 1. and 2. have a different Icon, it has something to do with a > >> link (Verkn=C3=BCpfung german). > >> > >> Which one is used for the desktop? > >> > >> I want to learn the basics! > >> > >> Gottfried =20 > > =20 >=20