* Re: retroarch on Trisquel
2017-07-12 7:46 retroarch on Trisquel Caleb Herbert
2017-07-12 11:26 ` 宋文武
@ 2017-07-12 12:24 ` Adonay Felipe Nogueira
2017-07-16 1:26 ` Adonay Felipe Nogueira
2017-12-04 19:20 ` Adonay Felipe Nogueira
2 siblings, 1 reply; 5+ messages in thread
From: Adonay Felipe Nogueira @ 2017-07-12 12:24 UTC (permalink / raw)
To: help-guix
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: retroarch on Trisquel
2017-07-12 7:46 retroarch on Trisquel Caleb Herbert
2017-07-12 11:26 ` 宋文武
2017-07-12 12:24 ` Adonay Felipe Nogueira
@ 2017-12-04 19:20 ` Adonay Felipe Nogueira
2 siblings, 0 replies; 5+ messages in thread
From: Adonay Felipe Nogueira @ 2017-12-04 19:20 UTC (permalink / raw)
To: csh; +Cc: help-guix
Continuing on this issue, I tried some ROMs by doing what is described in
[1]:
Load Core -> Download Core... -> mupen64plus_libretro.so.zip
Load Core -> mupen64plus_libretro.so
Online Updater -> Core Updater -> mupen64plus_libretro.so.zip
Load Content -> /path/to/Z64/files
And I can at least see the Z64 files. I wonder if in Caleb Herbert's
case they are somewhat naed with a leading dot (".example.z64" or
".z64"), in which case RetroArch will hide these unless you do the
following:
Load Content -> Settings -> Show Hidden Files and Folders = ON
I hope this helps. ;)
[1]
<https://lists.gnu.org/archive/html/help-guix/2017-07/msg00043.html>.
--
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
(apenas sem DRM), PNG, TXT, WEBM.
^ permalink raw reply [flat|nested] 5+ messages in thread