View previous topic :: View next topic |
Author |
Message |
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Sat Apr 21, 2018 9:56 pm Post subject: |
|
|
Hi drudox,
it seems that you want to use 'it_IT.UTF-8', right? But it doesn't seem to be installed on your system...
1) Add the line below to /etc/locale.gen:
and run 'locale-gen' as root.
2) The output of 'locale -a' should now show 'it_IT.UTF-8', right?
3) Run 'eselect locale list' as root and make sure that 'it_IT.UTF-8' is selected. To select it, run 'eselect locale set it_IT.UTF-8'.
4) Log out and log in - and your problem should be solved...
Mike |
|
Back to top |
|
|
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
Posted: Sat Apr 21, 2018 10:38 pm Post subject: |
|
|
ok now locale it's ok but i cannot open urxvt ... why ? also mate-terminal ... if I try to run one of this two they said me nothing but doesn't run |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Sat Apr 21, 2018 11:14 pm Post subject: |
|
|
Hmm... Look at the output of 'emerge --info'. One line shows global USE flags. The line starts with 'USE='. Are USE flags 'nls' and 'unicode' defined? |
|
Back to top |
|
|
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
Posted: Sat Apr 21, 2018 11:18 pm Post subject: |
|
|
yes there is a lot of flag .. and nls and unicode is there ... I have not defined USE flag in my make.conf ... bad way ? |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Sat Apr 21, 2018 11:38 pm Post subject: |
|
|
Quote: | I have not defined USE flag in my make.conf ... bad way ?
|
No problem. Many USE flags are defined in the profile you selected. I just wanted to make sure that those two USE flags are defined. They are - everything is fine
1) How did you start urxvt? From a bash prompt in a terminal? If you didn't start it from a terminal, please do. What exactly happens? Do you see a window? Does the program terminate? Or do you have to press Ctrl-C to continue? Do you see any messages?
2) Please run the command below and post the file /tmp/strace.log via pastebin or https://paste.pound-python.org
Code: | strace -o /tmp/strace.log -f urxvt
|
3) Just to make sure everything is fine: please post the output of
Code: | export | egrep "(LC|LANG)"
|
|
|
Back to top |
|
|
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
Posted: Sat Apr 21, 2018 11:54 pm Post subject: |
|
|
1) I run urxvt from xterm and nothing happens .. no message. the program doesn't run so doesn't terminate
2) https://paste.pound-python.org/show/5pBdoHvisyzzRonHjCJ8/
3) Code: |
export | egrep "(LC|LANG)"
declare -x LANG="it_IT.UTF-8"
declare -x LC_COLLATE="C"
|
thank you for your precious support |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Sun Apr 22, 2018 1:05 am Post subject: |
|
|
I looked at your strace file. It contains the following lines:
Code: | write(1, "urxvt: ", 7) = 7
write(1, "unable to load base fontset, ple"..., 77) = 77 |
That is the message below:
Code: | urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
|
I don't understand why you can't see that message. Anyway, the problem is that urxvt can't start because it doesn't find a suitable font.
1) Please make sure that you emerged 'x11-terms/rxvt-unicode' with USE flag xft. 'eix x11-terms/rxvt-unicode' will show you the flags which were used when you emerged urxvt. If you didn't emerge rxvt-unicode with USE flag 'xft': re-emerge it with USE flag 'xft'. This will probably solve your problem.
2) Did you install one of the fonts 'Bitstream' or 'DejaVu' on you computer? Try to start uxrvt with:
Code: | urxvt -fn "xft:DejaVu Sans Mono:pixelsize=15"
urxvt -fn "xft:Bitstream Vera Sans Mono:pixelsize=15"
|
3) If urxvt works with option '-fn', you could add a line like the one below to ~/.Xdefaults to set the default font:
Code: | URxvt.font: xft:Bitstream Vera Sans Mono:pixelsize=12 |
|
|
Back to top |
|
|
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
Posted: Sun Apr 22, 2018 2:03 am Post subject: |
|
|
I think that the problem is another one .. cause :
1) mate-terimnal have the same behavior without this message
2) I'm able to open xfce4-terminal and use the font defined for urxvt ! what do you think about ?
thanks again for help |
|
Back to top |
|
|
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
Posted: Sun Apr 22, 2018 10:36 am Post subject: |
|
|
thanks to your advise (use the flag xft ) now urxvt run |
|
Back to top |
|
|
|