Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 2021 17:37:06 -0500
From:      George Mitchell <george+freebsd@m5p.com>
To:        Guido Falsi <mad@madpilot.net>, freebsd-ports@freebsd.org
Subject:   Re: Xfce, xfce4-terminal, and UTF-8
Message-ID:  <2a81a2dd-9986-4e7b-3478-91c3926bcb8e@m5p.com>
In-Reply-To: <90d5da8c-6cee-5c10-cf86-2f566ae89089@madpilot.net>
References:  <1db44c6b-de53-9990-3b12-0d583e86d42b@m5p.com> <5a858dc2-a657-c0e8-dd86-5e3fee1c6030@madpilot.net> <a8473438-1a23-5b79-78fb-22939d7a1f43@m5p.com> <90d5da8c-6cee-5c10-cf86-2f566ae89089@madpilot.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--6anVzQDL0W4VJLVM9usMWEteXFPDKrSkD
Content-Type: multipart/mixed; boundary="hRDAFHJ8vtlTjuVnJQwYLuPpoRRrHDtmq";
 protected-headers="v1"
From: George Mitchell <george+freebsd@m5p.com>
To: Guido Falsi <mad@madpilot.net>, freebsd-ports@freebsd.org
Message-ID: <2a81a2dd-9986-4e7b-3478-91c3926bcb8e@m5p.com>
Subject: Re: Xfce, xfce4-terminal, and UTF-8
References: <1db44c6b-de53-9990-3b12-0d583e86d42b@m5p.com>
 <5a858dc2-a657-c0e8-dd86-5e3fee1c6030@madpilot.net>
 <a8473438-1a23-5b79-78fb-22939d7a1f43@m5p.com>
 <90d5da8c-6cee-5c10-cf86-2f566ae89089@madpilot.net>
In-Reply-To: <90d5da8c-6cee-5c10-cf86-2f566ae89089@madpilot.net>

--hRDAFHJ8vtlTjuVnJQwYLuPpoRRrHDtmq
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 1/1/21 3:12 PM, Guido Falsi via freebsd-ports wrote:
> [...]
> .cshrc does not look like the correct place for it anyway. That file is=
=20
> executed multiple times during a session. I'm not sure how it can work =

> for everything else. Also the fact that XFCE has it's own configuration=
,=20
> if it's not configured from there could cause conflicts.
>=20
> IMHO a better place would be .xsession if using a display manager or=20
> Xinit if using startx.
>=20
> If using XFCE as your DE it's own settings tool would be the best place=
=2E
>=20

Regardless of where I put setxkbmap, xev shows this sequence of events
when I type the compose key (Left Win), ', and e to enter "=C3=A9":

KeyPress event, serial 37, synthetic NO, window 0x2e00001,
      root 0x50f, subw 0x2e00002, time 89630, (34,51), root:(905,493),
      state 0x10, keycode 133 (keysym 0xff20, Multi_key), same_screen YES=
,
      XLookupString gives 0 bytes:
      XmbLookupString gives 0 bytes:
      XFilterEvent returns: True

KeyRelease event, serial 37, synthetic NO, window 0x2e00001,
      root 0x50f, subw 0x2e00002, time 89758, (34,51), root:(905,493),
      state 0x10, keycode 133 (keysym 0xff20, Multi_key), same_screen YES=
,
      XLookupString gives 0 bytes:
      XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x2e00001,
      root 0x50f, subw 0x2e00002, time 92574, (34,51), root:(905,493),
      state 0x10, keycode 48 (keysym 0x27, apostrophe), same_screen YES,
      XLookupString gives 1 bytes: (27) "'"
      XmbLookupString gives 1 bytes: (27) "'"
      XFilterEvent returns: True

KeyRelease event, serial 37, synthetic NO, window 0x2e00001,
      root 0x50f, subw 0x2e00002, time 92750, (34,51), root:(905,493),
      state 0x10, keycode 48 (keysym 0x27, apostrophe), same_screen YES,
      XLookupString gives 1 bytes: (27) "'"
      XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x2e00001,
      root 0x50f, subw 0x2e00002, time 98926, (34,51), root:(905,493),
      state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,
      XLookupString gives 1 bytes: (65) "e"
      XmbLookupString gives 1 bytes: (65) "e"
      XFilterEvent returns: True

KeyPress event, serial 37, synthetic NO, window 0x2e00001,
      root 0x50f, subw 0x2e00002, time 98926, (34,51), root:(905,493),
      state 0x10, keycode 0 (keysym 0xe9, eacute), same_screen YES,
      XLookupString gives 0 bytes:
      XmbLookupString gives 1 bytes: (e9) "=EF=BF=BD"
      XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2e00001,
      root 0x50f, subw 0x2e00002, time 99062, (34,51), root:(905,493),
      state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,
      XLookupString gives 1 bytes: (65) "e"
      XFilterEvent returns: False

The same sequence in an xfce4-terminal window shows nothing, but
any following keypresses act normally.

I removed the setxkbmap command from my .cshrc and used the XFCE
keyboard settings to set the compose key to Left Win.  Then I logged
out and back in.  I verified that the keyboard settings dialog still
showed that Left Win was used for the compose key.  But it does not
work at all.  When I type Left Win, ', e in xfce4-terminal (or in
any other client in my session), it shows 'e.  Xev shows the three
keypresses and releases but no e with acute accent.      -- George


--hRDAFHJ8vtlTjuVnJQwYLuPpoRRrHDtmq--

--6anVzQDL0W4VJLVM9usMWEteXFPDKrSkD
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAl/vpBIFAwAAAAAACgkQwRES3m+p4fnv
2g//Ydl+O5tWtNEIj6R87yC6wva1lDYSY8oH86wmS3EEvjMA+DZAwXm0DlxmwOnO4x6Euqzl0QQC
6rKNmKTIPAFr5/gNn1H+7Z2azjEk+DB7UZvSHnGLncsH7VxZM4wJBZ2TSs0hRuW/9jAuYOXmR3OH
Grirq3LnEAE4gHnL5vBPNvMGh3nGc6QdF0G8IDDCVD+KnHoiN6oxymm7LSGt3rNMTZ6RmO7ZXTGK
g5FTVy/iSujodfPCxk+61f9cacEcOeoBqr7/3R82b1Nfpedkj7XpStVzAHF3OAcvoRLIEzyxzgkX
ln+a++lbf0oSDKGYtaF/PIawziEWz6/3kcmd534JC39hutejrj4Wt/xgZIxvq5RUXhQiYUkpzZf7
6+NPQACUorLVbSCCKwJxSsLVYyw4+vl+Kfo+gleIp5SqQPQgUsXvhkdmqPjjhLrq1BrnXUa9+Ao/
DhMJ/wC4Vbsway5M6S8RjAQedhY3d/++bulbvdyW5Nltg+xJTWi2DV8Y57eQd704uK0wRKBF51zA
u4NpX3+p+xjoLfPS1wrMTe3v2eA9A1C4dlwi40YRufFGWMLztl2owFyXYT52ffqmdIDk5XBbeWIc
4eR1qvGY8+crOtoMOKyzBsb3bmbCkz91DHOQQhRlPjRIzLlksQ+8tATmmsejxO08eAo+Hb4GKS21
JGY=
=ml7s
-----END PGP SIGNATURE-----

--6anVzQDL0W4VJLVM9usMWEteXFPDKrSkD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a81a2dd-9986-4e7b-3478-91c3926bcb8e>