From: Daniel Hatton <dan.hatton@btinternet.com>
To: Guix help list <help-guix@gnu.org>
Subject: Re: Gnome startup applications and Guix updates
Date: Fri, 29 Nov 2024 18:29:46 +0000 [thread overview]
Message-ID: <d8f1b097-e630-42fc-8b17-cd53d43a4e54@btinternet.com> (raw)
In-Reply-To: <87cyiednnl.fsf@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2209 bytes --]
On 29/11/2024 16:12, Simon Tournier wrote:
> Do you mean
> https://yhetil.org/guix/88266131-fd36-48da-bfb8-5876a4547bc4@btinternet.com
Yes, that's the thread I was referring to.
> I am not sure to understand the question. IIRC, Clément tries to
> manage third-party packages of IceCat with Guix. Well, I am not sure to
> well understand, both your question and Clément work. :-)
The present thread (as opposed to the linked thread) isn't just about
IceCat - AFAICT, this problem applies to all Guix packages:
Imagine I install some Guix package. For concreteness, let's say the
package is IceCat 115.15.0, but again, I think the problem occurs in all
Guix packages. Guix installs the package in a directory
/gnu/store/c93r1gl7li1sy2p7r2chkg94gskjz6z4-icecat-115.15.0-guix1
Now I launch the GUI Gnome Tweaks app, and use it to add IceCat to the
startup applications list. This creates a file
$HOME/.config/autostart/icecat.desktop
which includes the lines
Exec=/gnu/store/c93r1gl7li1sy2p7r2chkg94gskjz6z4-icecat-115.15.0-guix1/bin/icecat
%u
Exec=/gnu/store/c93r1gl7li1sy2p7r2chkg94gskjz6z4-icecat-115.15.0-guix1/bin/icecat
-new-window
Exec=/gnu/store/c93r1gl7li1sy2p7r2chkg94gskjz6z4-icecat-115.15.0-guix1/bin/icecat
-private-window
which causes IceCat to be launched automatically when I start a Gnome
session.
Now, somewhat later, I run
guix pull
guix package -u
which upgrades IceCat to version 115.17.0. The new version is installed
in a directory
/gnu/store/sxb7vrqmbxyc5l1n3g6pwv5lawil8iqg-icecat-115.17.0-guix1
But the directory
/gnu/store/c93r1gl7li1sy2p7r2chkg94gskjz6z4-icecat-115.15.0-guix1
is still present, and still contains the old version of IceCat. Now
here's the critical point: the upgrade process does not edit the Exec
lines in
$HOME/.config/autostart/icecat.desktop
So they still point to the old version of IceCat, and it's still the old
version of IceCat that is automatically launched when I start a Gnome
session.
Once more to be on the safe side: I do not think this problem is unique
to IceCat, I think it applies to all Guix packages.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2024-11-29 18:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-21 18:21 Gnome startup applications and Guix updates Daniel Hatton
2024-11-29 16:12 ` Simon Tournier
2024-11-29 18:29 ` Daniel Hatton [this message]
2024-11-30 15:02 ` Simon Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d8f1b097-e630-42fc-8b17-cd53d43a4e54@btinternet.com \
--to=dan.hatton@btinternet.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).