From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adonay Felipe Nogueira Subject: Re: retroarch on Trisquel Date: Wed, 12 Jul 2017 09:24:17 -0300 Message-ID: <87o9spdery.fsf@openmailbox.org> References: <1499845613.23898.24.camel@leela> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVGis-00044Q-TG for help-guix@gnu.org; Wed, 12 Jul 2017 08:26:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVGip-000155-OO for help-guix@gnu.org; Wed, 12 Jul 2017 08:26:30 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:47479 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVGip-00011M-F0 for help-guix@gnu.org; Wed, 12 Jul 2017 08:26:27 -0400 In-Reply-To: <1499845613.23898.24.camel@leela> (Caleb Herbert's message of "Wed, 12 Jul 2017 02:46:53 -0500") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org 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]]. E= ssentially 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=3D"${GUIX_PROFILE}/share:[Replace what is between t= hese 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. :) --=20 - [[https://libreplanet.org/wiki/User:Adfeno]] - Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com gratis). - "WhatsApp"? Ele n=C3=A3o =C3=A9 livre, por isso n=C3=A3o uso. Iguais a el= e prefiro GNU Ring, ou Tox. Quer outras formas de contato? Adicione o vCard que est=C3=A1 no endere=C3=A7o acima aos teus contatos. - Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu aceito, mas n=C3=A3o repasso. Entrego apenas em formatos favor=C3=A1veis = ao /software/ livre. Favor entrar em contato em caso de d=C3=BAvida.