help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: retroarch on Trisquel


From: Adonay Felipe Nogueira
Subject: Re: retroarch on Trisquel
Date: Wed, 12 Jul 2017 09:24:17 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]