You are not logged in.
Pages: 1
Topic closed
Hello.
I run urxvt in Xmonad, and whenever I try to use the MODKEY+RETURN hotkey, I get a terminal without UTF-8 support. I read this topic, but for me it occurs not only in Xmonad, but also in dwm, wmii and ratpoison.
However, if I call urxvt from inside a terminal, then it appears with unicode support.
Here is my .Xdefaults:
*font: xft:Terminus:pixelsize=13
*foreground: #bbbbbb
*background: #222222urxvt*scrollBar: false
urxvt*saveLines: 10000
URxvt.imLocale: pt_BR.utf8
urxvt.secondaryScroll: true
Last edited by Guilherme_Augusto (2008-06-30 14:25:34)
|_|o|_|
|_|_|o|
|o|o|o|
Offline
URxvt*termName: rxvt-unicode
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Hi, Mr. Elendig. Thanks for the quick reply.
It doesn't seem to work, anyway.
|_|o|_|
|_|_|o|
|o|o|o|
Offline
can you paste the locale line in rc.conf, and the output of locale -a ?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Here they are:
[~] $ cat /etc/rc.conf | grep LOCALE
LOCALE=pt_BR.utf8
[~] $ locale -a
C
POSIX
pt_BR
pt_BR.iso55891
pt_BR.utf8
|_|o|_|
|_|_|o|
|o|o|o|
Offline
Tried without URxvt.imLocale: pt_BR.utf8 ?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Yes. No difference.
I tried your .Xdefaults from the dotfiles in your sign, and it doesn't help either.
|_|o|_|
|_|_|o|
|o|o|o|
Offline
If you tried mine, then make sure you got /usr/share/fonts/local in your fontpath in xorg.conf
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I do. I just realized that I made some changes in the fonts stuff a while ago when I tried to install awesome3-git. It has some weird libxft-git dependencies, I guess. I'll try to rebuild all of these, and will post here as soon as it gets done.
|_|o|_|
|_|_|o|
|o|o|o|
Offline
You don't need to use xft with urxvt. I prefer not to, since xft is slow.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Ah, thanks, I removed the Xft stuff.
Well, I made some progress now. I have this in my .zshenv, to log directly into X case I use the first terminal (/dev/vc/1):
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/vc/1 ]]; then
startx >& .myXLog
fi
Looks like, if I log into another terminal (that is, logging into text mode and invoking X by typing 'startx'), the problem magically disappears. Any ideas?
Last edited by Guilherme_Augusto (2008-06-29 03:49:50)
|_|o|_|
|_|_|o|
|o|o|o|
Offline
Uhm, zsh? Try symlinking /etc/zprofile to /etc/profile
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Works great!
Thank you very much!
|_|o|_|
|_|_|o|
|o|o|o|
Offline
Here is the explanation why it works:
When you log in using zsh is tries to source /etc/zprofile _not_ /etc/profile, and therefor the /etc/profile.d/locale.sh neither get sourced, and so the locale ain't set right.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Dear All,
I seem to have a similar problem. I am running xmonad. My locale and locale -a are as follows
~$locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
~$locale -a
C
POSIX
pl_PL
pl_PL.iso88592
pl_PL.utf8
polish
The .Xresources
$cat .Xresources
! xterm ----------------------------------------------------------------------
xterm*geometry: 80x25
xterm*faceName: terminus:bold:pixelsize=18
!xterm*font: -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*
xterm*dynamicColors: true
xterm*utf8: 1
xterm*eightBitInput: true
xterm*saveLines: 512
xterm*scrollKey: true
xterm*scrollTtyOutput: false
xterm*scrollBar: true
xterm*rightScrollBar: true
xterm*jumpScroll: true
xterm*multiScroll: true
xterm*toolBar: false
! urxvt ----------------------------------------------------------------------
URxvt.foreground: white
!Set transparency
URxvt.depth: 100
URxvt*background: rgba:0000/0000/0000/cccc
URxvt.fadeColor: [0]black
URxvt.saveLines:10000
URxvt.scrollBar: false
!URxvt.scrollstyle: rxvt
!URxvt*font: xft:DejaVu Sans Mono:size=13
!URxvt*utf8: 1
URxvt*termName: rxvt-unicode
URxvt.imLocale: pl_Pl.utf8
I have already tried many variants but nothing seems to work. Also I changed the locale to pl_PL.utf8 temporarily but it didn't help. Generally, I would like to have an English language settings but with the possibility to write and display polish characters. So far only my browser (firefox) has this feature.
I will appreciate any assistance on this issue.
Last edited by AlmostSurelyRob (2012-03-17 11:07:39)
Offline
Just build the en_US.utf8 locale and use it. You do NOT want to use POSIX
(or en_GB is you want proper english )
Also, please do NOT necrobump 4 year old threads.
Last edited by Mr.Elendig (2012-03-17 12:34:42)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
AlmostSurelyRob, welcome to the forums. Please have a look at our Forum Etiquette, esp. the section on Old Threads/"Necro-Bumping".
You may always open an thread of your own if you experience a problem which you consider similar, and the link back to such a relevant, older thread.
Closing this thread.
To know or not to know ...
... the questions remain forever.
Offline
Pages: 1
Topic closed