all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adonay Felipe Nogueira <adfeno@openmailbox.org>
To: help-guix@gnu.org
Subject: Re: retroarch on Trisquel
Date: Wed, 12 Jul 2017 09:24:17 -0300	[thread overview]
Message-ID: <87o9spdery.fsf@openmailbox.org> (raw)
In-Reply-To: <1499845613.23898.24.camel@leela> (Caleb Herbert's message of "Wed, 12 Jul 2017 02:46:53 -0500")

I think what is missing is the icon themes and basic fonts that must be
installed via Guix, per
[[https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#X11-Fonts]],
as normal user, do (ignore the "$ ", this only indicates normal user
comamnds that you have to type):

$ guix package -i gs-fonts font-dejavu font-gnu-freefont-ttf

Note that, since I don't use RetroArch, I don't know which fonts it
needs exactly.

Also, about icons, assuming RetroArch only depends on the Adwaita and on
the Hicolor icon theme (which is probably right for most graphical
programs), do:

$ guix package -i adwaita-icon-theme hicolor-icon-theme

From this point on, since we installed the icon themes, we have two
options:

a. Locate each icon theme directory that's inside
   "${HOME}/.guix-profile/share/icons", and make symbolic links (shortcuts)
   to *each of them* from "${HOME}/.local/share/icons". This avoids
   having to interfere with fragile things probably left by Ubuntu
   (Trisquel's upstream/base). But this will often require your manual
   intervention for each font or icon theme installed. Besides, some
   programs installed from Guix might only work if (b) option is used.

b. Discard (a) entirely (even the symbolic links), and modify the
   ${XDG_DATA_DIRS} variable, putting our modifications inside the
   "${HOME}/.profile" file (as even Guix itself tells you to do
   sometimes when installing packages and also in the Guix
   documentation). For this option, follow what is written in the
   following message:
   [[https://lists.gnu.org/archive/html/bug-guix/2017-03/msg00243.html]]. Essentially
   that message tells you to do the following commands:

   $ echo ${XDG_DATA_DIRS}

   Take note/copy of what you get from this now. Now continue:

   $ nano "${HOME}/.profile"

   `nano` is a text editor, you can replace it with one of your choice.

   Inside the "${HOME}/.profile" file, see if you don't already have a
   mention of anything similar to "XDG_DATA_DIRS". If you do have it
   there, please tell us, otherwise: continue by typing the following
   line in the end of the file (remove the extra spaces, and read the
   text carefully to know what you have to do, it's not a simple
   copy-paste):

   # Begin of typing
   # This assumes that ${GUIX_PROFILE} is "${HOME}/.guix-profile".
   export XDG_DATA_DIRS="${GUIX_PROFILE}/share:[Replace what is between these braces, including the braces, with what you got from `echo ${XDG_DATA_DIRS}`.]"
   # End of typing

   Now press C-x (Control + x). If `nano` asks you if you want to save:
   confirm it. If `nano` asks in which place to save: simply press
   Enter/Return (don't change the path/file presented by `nano`, because
   we indeed want to replace the "${HOME}/.profile" file).

   Since we changed the "${HOME}/.profile" file, it's a good idea to
   restart your current user's session (no need to reboot the whole
   system).

That's all.
Happy hacking. :)

-- 
- [[https://libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre, por isso não uso. Iguais a ele prefiro
  GNU Ring, ou Tox. Quer outras formas de contato? Adicione o vCard
  que está no endereço acima aos teus contatos.
- Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu
  aceito, mas não repasso. Entrego apenas em formatos favoráveis ao
  /software/ livre. Favor entrar em contato em caso de dúvida.

  parent reply	other threads:[~2017-07-12 12:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-12  7:46 retroarch on Trisquel Caleb Herbert
2017-07-12 11:26 ` 宋文武
2017-07-12 12:24 ` Adonay Felipe Nogueira [this message]
2017-07-16  1:26   ` Adonay Felipe Nogueira
2017-12-04 19:20 ` Adonay Felipe Nogueira

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9spdery.fsf@openmailbox.org \
    --to=adfeno@openmailbox.org \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.