unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: Gottfried <gottfried@posteo.de>, help-guix@gnu.org
Subject: Re: /gnu/store
Date: Thu, 26 May 2022 13:10:25 +0200	[thread overview]
Message-ID: <87tu9cmtwe.fsf@xelera.eu> (raw)
In-Reply-To: <7ea0f1d7-4a90-360e-184e-63a35de6db2f@posteo.de>

Hello Gottfried,

are you using Guix System or Guix on a foreign distro?

Gottfried <gottfried@posteo.de> writes:

> Hi Guixers,
> After guix pull und guix update I have a new Emacs Version, Emacs 28
>
> 1. My earlier created icon for emacs, in Mate Desktop, opens the older 
> Version Emacs 27.2
> How to fix it?

have you tried logging out and in?

> 2. Opening /gnu/store/ in Mate Caja (File Manager) takes ages.

AFAIK it takes ages in every file manager

you'd better use "find" (man find) from your terminal if you want to
find a package in /gnu/store, see below

> To look for a the Emacs 28.1 file takes also ages.

What is "the Emacs 28.1 file"?

> Is there a quicker way to search for some directories in /gun/store?
> May be in the terminal emulator? With which commands?

yes: use the CLI in a terminal

to have the (too long) directory listing: "ls -lah /gnu/store"

to serach for every first level only directory having "emacs" in its
name under /gnu/store: "find /gnu/store -maxdepth 1 -type d -name '*emacs*'"

then you can inspect the store for each installed package,
e.g. "/gnu/store/r1zd92x4bh8zfz16rj9gh66pr950x2zr-emacs-guix-0.5.2-5.c9aef52"
with ls or Caja if you want

> I want to change the command for opening emacs in the starter,now 
> version 27.2 change into emacs 28. So that the emacs icon in the toolbar 
> opens Emacs 28. Or is the simplest way deleting the icon and after every 
> new emacs version creating a new icon?

You cannot change the .desktop files used to start applications
installed via Guix since they are stored read-only in the store

It's "just" a matter to refresh your graphical menu an usually we need
to logout and login (at least on a foreign distro)

> If I do a "emacs -ProfileManager" it opens the emacs 28

AFAIU you are starting emacs from a terminal, and yes: it starts emacs
28 because it does not use the *.desktop file used by the graphical menu
(which have the 27.2 version hardcoded in it)

> but does not  give me a possibility to set a new Profile.

AFAIK "ProfileManager" is not a valid emacs option :-)

> 3. Can somebody explain to me the structure of /gnu/store?

Please read the Guix manual at "8.9 The Store"

AFAIK the store is set read-only **but** in any case /do not/ directly
write to the store, it is accessed by the guix-daemon via the various
"guix..." command

use the guix cli (or the great emacs-guix interface [1]) to explore your
packages (et al)

[...]

> The date is allways the same,

it's a reproducibility requirement: our software is /eternal/ B-)

[...]

> thanks in advance
> I am "hacking" at the basics
> Gottfried

Happy hacking! Gio'



[1] I had to apply a workaround to make it working https://issues.guix.gnu.org/55013#2


[...]

-- 
Giovanni Biscuolo

Xelera IT Infrastructures


  reply	other threads:[~2022-05-26 11:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 20:13 /gnu/store Gottfried
2022-05-26 11:10 ` Giovanni Biscuolo [this message]
2022-05-27  4:16   ` /gnu/store Thiago Jung Bauermann

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=87tu9cmtwe.fsf@xelera.eu \
    --to=g@xelera.eu \
    --cc=gottfried@posteo.de \
    --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).