sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?
- From: Sukneet Basuta <sukneet AT gmail.com>
- To: Javier Vasquez <j.e.vasquez.v AT gmail.com>
- Cc: "sm, discuss" <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?
- Date: Mon, 14 Jan 2013 22:47:56 -0500
Perhaps check the output of "setxkbmap -print" to make sure the level
3 key is being set correctly in terminals. Doing something like
http://shtrom.ssji.net/skb/xorg-ligatures.html works for me.
On Mon, Jan 14, 2013 at 7:48 PM, Javier Vasquez <j.e.vasquez.v AT gmail.com>
wrote:
> Hi,
>
> This is sort of embarrassing, since I should have noticed weeks ago, :-)
>
> I'm using terminus font for console and set us_en.utf as locale, see:
>
> /etc/sysconfig/keymap
> KEYMAP=la-latin1
> INCLUDEMAPS=
> SETFONT_ARGS="ter-v24n"
> TTY_NUMS=*
> UNICODE_START=true
>
> /etc/sysconfig/locale
> LANG="en_US.utf8"
> LC_ALL=
> ...
> LC_MEASUREMENT=
>
> That allows me to type correctly "í", notice the accent, :-)
>
> For X I have the setting:
>
> /etc/X11/xorg.conf.d/10-evdev.conf
> Section "InputClass"
> Identifier "evdev keyboard catchall"
> MatchIsKeyboard "on"
> MatchDevicePath "/dev/input/event*"
> Driver "evdev"
> Option "XkbLayout" "latam,us"
> Option "XkbOptions" "lv3:ralt_switch, grp:alt_shift_toggle"
> EndSection
>
> ~/.Xresources
> ...
> URxvt.font: -xos4-terminus-medium-*-*-*-24-*-*-*-*-*-*-*
> ...
> Aterm.font: -xos4-terminus-medium-*-*-*-24-*-*-*-*-*-*-*
> ...
> XTerm*font: -xos4-terminus-medium-*-*-*-24-*-*-*-*-*-*-*
>
> ~/.xinitrc
> ...
> userresources=$HOME/.Xresources
> if [ -f "$userresources" ]; then
> xrdb -merge "$userresources"
> fi
> unset userresources
>
> But on urxvt or xterm when I type "í" which is typing the accent
> followed by the character to be accented, what I get is "´i", meaning
> the accent first and the character later (in the order typed).
>
> I don't use any DE, plain fluxbox, and for some reason gtk+
> applications don't suffer this misbehavior. Just the X terminals such
> as xterm, aterm, urxvt (rxvt-unicode).
>
> It's not the dead keys, cause the work OK, ~, ^, etc, work OK...
>
> Some relevant output on urxvt:
>
> % locale
> LANG=en_US.utf8
> LC_CTYPE="en_US.utf8"
> LC_NUMERIC="en_US.utf8"
> LC_TIME="en_US.utf8"
> LC_COLLATE="en_US.utf8"
> LC_MONETARY="en_US.utf8"
> LC_MESSAGES="en_US.utf8"
> LC_PAPER="en_US.utf8"
> LC_NAME="en_US.utf8"
> LC_ADDRESS="en_US.utf8"
> LC_TELEPHONE="en_US.utf8"
> LC_MEASUREMENT="en_US.utf8"
> LC_IDENTIFICATION="en_US.utf8"
> LC_ALL=
>
> % env | grep 'LC_|LANG'
> LANG=en_US.utf8
>
> % ps auxww | grep urxvt
> <username> 32658 0.0 0.3 119712 14112 ? Ss 17:41 0:01 urxvt
>
> % xargs -0 -n1 < /proc/32658/environ | grep 'LC_|LANG'
> LANG=en_US.utf8
>
> It seems everything is OK, and I should get the accented chars in the
> X terminals, but I don't.
>
> Worse of all, it does work on console, :-). And my settings have
> always worked on other binary distros such as debian or arch... So
> I'm wondering if there's anything special to be set on SM for this to
> work...
>
> Thanks,
>
>
> --
> Javier.
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
-
[SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Javier Vasquez, 01/14/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Sukneet Basuta, 01/14/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Javier Vasquez, 01/15/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Sukneet Basuta, 01/15/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Javier Vasquez, 01/15/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Sukneet Basuta, 01/15/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Javier Vasquez, 01/16/2013
- Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?, Sukneet Basuta, 01/16/2013
- Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?, Javier Vasquez, 01/16/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Javier Vasquez, 01/16/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Sukneet Basuta, 01/15/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Javier Vasquez, 01/15/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Sukneet Basuta, 01/15/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Javier Vasquez, 01/15/2013
-
Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?,
Sukneet Basuta, 01/14/2013
Archive powered by MHonArc 2.6.24.