unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Icecat doesn't display any text
@ 2019-07-09 16:03 TK
  2019-07-09 16:19 ` Raghav Gururajan
  0 siblings, 1 reply; 8+ messages in thread
From: TK @ 2019-07-09 16:03 UTC (permalink / raw)
  To: help-guix@gnu.org

It substitutes anything textual on a page with boxes. I am running  a hybrid system CentOS 7/ Guix package manager.

guix --version returns this string:
guix (GNU Guix) 710f027765079db7e5a9ea31faedf42e8748600c!

I have the usual font- packages installed and other X11 apps have no such problems (e.g. chromium)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Icecat doesn't display any text
  2019-07-09 16:03 Icecat doesn't display any text TK
@ 2019-07-09 16:19 ` Raghav Gururajan
  2019-07-09 16:32   ` Todor Kondić
  0 siblings, 1 reply; 8+ messages in thread
From: Raghav Gururajan @ 2019-07-09 16:19 UTC (permalink / raw)
  To: TK, help-guix@gnu.org


> It substitutes anything textual on a page with boxes.

Custom fonts have been disabled my default I persume. Usually in
IceCat, if you create new tab, it would show list of options. Try
enabling the custom fonts. ☺

Regards,
RG.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Icecat doesn't display any text
  2019-07-09 16:19 ` Raghav Gururajan
@ 2019-07-09 16:32   ` Todor Kondić
  2019-07-09 16:52     ` Raghav Gururajan
  2019-07-10  1:20     ` Mike Gerwitz
  0 siblings, 2 replies; 8+ messages in thread
From: Todor Kondić @ 2019-07-09 16:32 UTC (permalink / raw)
  To: help-guix@gnu.org

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, 9 July 2019 18:19, Raghav Gururajan <rvgn@disroot.org> wrote:

>
>
> > It substitutes anything textual on a page with boxes.
>
> Custom fonts have been disabled my default I persume. Usually in
> IceCat, if you create new tab, it would show list of options. Try
> enabling the custom fonts. ☺
>
> Regards,
> RG.

I solved it by either,

* installing bunch of new fonts
* running fc-cache -f
* re-sourcing .guix-profile/etc/profile
* hash guix

or some combination of the above.

Now gotta kill and reload all those VNC connections to the server in case sourcing the profile somehow did it (not likely)...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Icecat doesn't display any text
  2019-07-09 16:32   ` Todor Kondić
@ 2019-07-09 16:52     ` Raghav Gururajan
  2019-07-10  1:20     ` Mike Gerwitz
  1 sibling, 0 replies; 8+ messages in thread
From: Raghav Gururajan @ 2019-07-09 16:52 UTC (permalink / raw)
  To: Todor Kondić, help-guix@gnu.org


> I solved it by either,
> 
> * installing bunch of new fonts
> * running fc-cache -f
> * re-sourcing .guix-profile/etc/profile
> * hash guix
> 
> or some combination of the above.
> 
> Now gotta kill and reload all those VNC connections to the server in
> case sourcing the profile somehow did it (not likely)...

Cool! ☺

Regards,
RG.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Icecat doesn't display any text
  2019-07-09 16:32   ` Todor Kondić
  2019-07-09 16:52     ` Raghav Gururajan
@ 2019-07-10  1:20     ` Mike Gerwitz
  2019-07-10  7:18       ` Todor Kondić
  1 sibling, 1 reply; 8+ messages in thread
From: Mike Gerwitz @ 2019-07-10  1:20 UTC (permalink / raw)
  To: Todor Kondić; +Cc: help-guix@gnu.org

[-- Attachment #1: Type: text/plain, Size: 876 bytes --]

On Tue, Jul 09, 2019 at 16:32:45 +0000, Todor Kondić wrote:
> I solved it by either,
>
> * installing bunch of new fonts
> * running fc-cache -f
> * re-sourcing .guix-profile/etc/profile
> * hash guix
>
> or some combination of the above.

Sourcing the profile would define XDG_DATA_DIRS, which is required for
font display.  Installing fonts and running fc-cache may have provided
fonts in ~/.guix-profile/share/fonts, which is part of XDG_DATA_DIRS.

This is a known issue (which I experience when running Icecat in a
container) that hopefully can be addressed by someone who knows a bit
more than me about the proper way to fix the problem. :)  It's a problem
for people on foreign distros.

-- 
Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B  2388 FEF6 3574 5E6F 6D05
https://mikegerwitz.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Icecat doesn't display any text
  2019-07-10  1:20     ` Mike Gerwitz
@ 2019-07-10  7:18       ` Todor Kondić
  2019-07-10  9:32         ` Todor Kondić
  2019-07-13 23:00         ` ison
  0 siblings, 2 replies; 8+ messages in thread
From: Todor Kondić @ 2019-07-10  7:18 UTC (permalink / raw)
  To: Mike Gerwitz; +Cc: help-guix\@gnu.org

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, 10 July 2019 03:20, Mike Gerwitz <mtg@gnu.org> wrote:

> On Tue, Jul 09, 2019 at 16:32:45 +0000, Todor Kondić wrote:
>
> > I solved it by either,
> >
> > -   installing bunch of new fonts
> > -   running fc-cache -f
> > -   re-sourcing .guix-profile/etc/profile
> > -   hash guix
> >
> > or some combination of the above.
>
> Sourcing the profile would define XDG_DATA_DIRS, which is required for
> font display. Installing fonts and running fc-cache may have provided
> fonts in ~/.guix-profile/share/fonts, which is part of XDG_DATA_DIRS.
>
> This is a known issue (which I experience when running Icecat in a
> container) that hopefully can be addressed by someone who knows a bit
> more than me about the proper way to fix the problem. :) It's a problem
> for people on foreign distros.
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Mike Gerwitz
> Free Software Hacker+Activist | GNU Maintainer & Volunteer
> GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05
> https://mikegerwitz.com

... for some reasong XDG_DATA_DIRS does not exist anymore in my profile; you were right, the fact that this env var is not defined causes icecat garbage; do you by any chance know what package to install in order to set the variable?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Icecat doesn't display any text
  2019-07-10  7:18       ` Todor Kondić
@ 2019-07-10  9:32         ` Todor Kondić
  2019-07-13 23:00         ` ison
  1 sibling, 0 replies; 8+ messages in thread
From: Todor Kondić @ 2019-07-10  9:32 UTC (permalink / raw)
  To: Mike Gerwitz; +Cc: help-guix\@gnu.org

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, 10 July 2019 09:18, Todor Kondić <tk.code@protonmail.com> wrote:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Wednesday, 10 July 2019 03:20, Mike Gerwitz mtg@gnu.org wrote:
>
> > On Tue, Jul 09, 2019 at 16:32:45 +0000, Todor Kondić wrote:
> >
> > > I solved it by either,
> > >
> > > -   installing bunch of new fonts
> > > -   running fc-cache -f
> > > -   re-sourcing .guix-profile/etc/profile
> > > -   hash guix
> > >
> > > or some combination of the above.
> >
> > Sourcing the profile would define XDG_DATA_DIRS, which is required for
> > font display. Installing fonts and running fc-cache may have provided
> > fonts in ~/.guix-profile/share/fonts, which is part of XDG_DATA_DIRS.
> > This is a known issue (which I experience when running Icecat in a
> > container) that hopefully can be addressed by someone who knows a bit
> > more than me about the proper way to fix the problem. :) It's a problem
> > for people on foreign distros.
> >
> > Mike Gerwitz
> > Free Software Hacker+Activist | GNU Maintainer & Volunteer
> > GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05
> > https://mikegerwitz.com
>
> ... for some reasong XDG_DATA_DIRS does not exist anymore in my profile; you were right, the fact that this env var is not defined causes icecat garbage; do you by any chance know what package to install in order to set the variable?



My workaround at the moment is to create a bash script,
#!/bin/bash
XDG_DATA_DIRS="$HOME/.guix-profile/share" icecat "$@"

called icecat and residing earlier in the path than the real icecat.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Icecat doesn't display any text
  2019-07-10  7:18       ` Todor Kondić
  2019-07-10  9:32         ` Todor Kondić
@ 2019-07-13 23:00         ` ison
  1 sibling, 0 replies; 8+ messages in thread
From: ison @ 2019-07-13 23:00 UTC (permalink / raw)
  To: Todor Kondić; +Cc: help-guix

On Wed, Jul 10, 2019 at 07:18:35AM +0000, Todor Kondić wrote:
> ... for some reasong XDG_DATA_DIRS does not exist anymore in my profile; you were right, the fact that this env var is not defined causes icecat garbage; do you by any chance know what package to install in order to set the variable?

Are you able to verify that the file $HOME/.guix-profile/etc/profile contains
no reference to XDG_DATA_DIRS?
For example:
grep $HOME/.guix-profile/etc/profile -e XDG_DATA_DIRS

If it doesn't and you have icecat installed then that could be a bug. I don't
think there's any special package you need to install to get the correct env
vars.

Can you also check the value of $GUIX_PROFILE and set it to $HOME/.guix-profile
if it's blank, and then try icecat again?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-07-13 23:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-09 16:03 Icecat doesn't display any text TK
2019-07-09 16:19 ` Raghav Gururajan
2019-07-09 16:32   ` Todor Kondić
2019-07-09 16:52     ` Raghav Gururajan
2019-07-10  1:20     ` Mike Gerwitz
2019-07-10  7:18       ` Todor Kondić
2019-07-10  9:32         ` Todor Kondić
2019-07-13 23:00         ` ison

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).