qubes bug: UTF-8 in terminal in AppVM

107 views
Skip to first unread message

Nagaev Boris

unread,
May 16, 2014, 3:00:16 PM5/16/14
to qubes...@googlegroups.com
Hello,

Russian letters were shown as "?" in terminals in AppVMs by default.
Dom0 worked well. Problem was with default encoding latin1 in
"Terminal -> Set Character Encoding". To change this in persist
manner, I created in template VM file /etc/locale.conf with
"en_US.UTF-8" in it. Default terminal encoding became UTF-8, but
Russian letters in titles of windows are now rendered as "_".

--
Best regards,
Boris Nagaev

Marek Marczykowski-Górecki

unread,
May 16, 2014, 3:18:43 PM5/16/14
to Nagaev Boris, qubes...@googlegroups.com
http://wiki.qubes-os.org/trac/wiki/UserDoc/ConfigFiles#GUIandaudioconfigurationindom0
See "allow_utf8_titles" option.

--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

signature.asc

Nagaev Boris

unread,
May 17, 2014, 4:28:32 AM5/17/14
to Marek Marczykowski-Górecki, qubes...@googlegroups.com
On Fri, May 16, 2014 at 11:18 PM, Marek Marczykowski-Górecki
<marm...@invisiblethingslab.com> wrote:
> On 16.05.2014 21:00, Nagaev Boris wrote:
>> Hello,
>>
>> Russian letters were shown as "?" in terminals in AppVMs by default.
>> Dom0 worked well. Problem was with default encoding latin1 in
>> "Terminal -> Set Character Encoding". To change this in persist
>> manner, I created in template VM file /etc/locale.conf with
>> "en_US.UTF-8" in it. Default terminal encoding became UTF-8, but
>> Russian letters in titles of windows are now rendered as "_".
>
> http://wiki.qubes-os.org/trac/wiki/UserDoc/ConfigFiles#GUIandaudioconfigurationindom0
> See "allow_utf8_titles" option.
>

I enabled "allow_utf8_titles". Now titles with Russian letters can not
be set. When I change to firefox tab with Russian letters, title of
previous tab (English-only) remains.

Marek Marczykowski-Górecki

unread,
May 17, 2014, 4:36:34 AM5/17/14
to Nagaev Boris, qubes...@googlegroups.com
Did you restarted that VM after changing the configuration? If yes and it's
still not working, check guid log (accessible from Qubes Manager VM context menu).
signature.asc

Nagaev Boris

unread,
May 17, 2014, 4:53:25 AM5/17/14
to Marek Marczykowski-Górecki, qubes...@googlegroups.com
On Sat, May 17, 2014 at 12:36 PM, Marek Marczykowski-Górecki
<marm...@invisiblethingslab.com> wrote:
> On 17.05.2014 10:28, Nagaev Boris wrote:
>> On Fri, May 16, 2014 at 11:18 PM, Marek Marczykowski-Górecki
>> <marm...@invisiblethingslab.com> wrote:
>>> On 16.05.2014 21:00, Nagaev Boris wrote:
>>>> Hello,
>>>>
>>>> Russian letters were shown as "?" in terminals in AppVMs by default.
>>>> Dom0 worked well. Problem was with default encoding latin1 in
>>>> "Terminal -> Set Character Encoding". To change this in persist
>>>> manner, I created in template VM file /etc/locale.conf with
>>>> "en_US.UTF-8" in it. Default terminal encoding became UTF-8, but
>>>> Russian letters in titles of windows are now rendered as "_".
>>>
>>> http://wiki.qubes-os.org/trac/wiki/UserDoc/ConfigFiles#GUIandaudioconfigurationindom0
>>> See "allow_utf8_titles" option.
>>>
>>
>> I enabled "allow_utf8_titles". Now titles with Russian letters can not
>> be set. When I change to firefox tab with Russian letters, title of
>> previous tab (English-only) remains.
>
> Did you restarted that VM after changing the configuration? If yes and it's
> still not working, check guid log (accessible from Qubes Manager VM context menu).
>

When I switch to tab with Russian letters, the following 3 lines are
appended to guid log:

invalid PMaxSize for 0x4600065 (587/32767)
invalid PResizeInc for 0x4600065 (0/0)
invalid PBaseSize for 0x4600065 (0/0)

Full log:

Icon size: 48x48
Created 0x4600003(0xa00001) parent 0x0(0x176) ovr=0 x/y 10/10 w/h 10/10
Created 0x4600004(0x800001) parent 0x0(0x176) ovr=0 x/y 10/10 w/h 10/10
Created 0x4600005(0x1000001) parent 0x0(0x176) ovr=0 x/y 10/10 w/h 10/10
Created 0x4600006(0x1400001) parent 0x0(0x176) ovr=0 x/y 10/10 w/h 10/10
XDestroyWindow 0x4600006
cannot lookup 0x4600006 in wid2windowdata
cannot lookup 0x4600006 in wid2windowdata
cannot lookup 0x4600006 in wid2windowdata
cannot lookup 0x4600006 in wid2windowdata
cannot lookup 0x4600006 in wid2windowdata
cannot lookup 0x4600006 in wid2windowdata
cannot lookup 0x4600006 in wid2windowdata
cannot lookup 0x4600006 in wid2windowdata
cannot lookup 0x4600006 in wid2windowdata
Created 0x4600007(0xa00003) parent 0x0(0x176) ovr=0 x/y 0/0 w/h 10/10
Created 0x4600008(0x1200002) parent 0x0(0x176) ovr=0 x/y 0/0 w/h 16/16
XDestroyWindow 0x4600008
cannot lookup 0x4600008 in wid2windowdata
cannot lookup 0x4600008 in wid2windowdata
cannot lookup 0x4600008 in wid2windowdata
cannot lookup 0x4600008 in wid2windowdata
cannot lookup 0x4600008 in wid2windowdata
cannot lookup 0x4600008 in wid2windowdata
cannot lookup 0x4600008 in wid2windowdata
cannot lookup 0x4600008 in wid2windowdata
cannot lookup 0x4600008 in wid2windowdata
Created 0x4600009(0x800003) parent 0x0(0x176) ovr=0 x/y 0/0 w/h 20/20
docking window 0x4600009
Created 0x460000d(0x100003b) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
Created 0x460000e(0xa00004) parent 0x0(0x176) ovr=0 x/y 0/0 w/h 10/10
XDestroyWindow 0x460000d
Created 0x460000f(0x100005f) parent 0x0(0x176) ovr=0 x/y 0/0 w/h 200/200
cannot lookup 0x460000d in wid2windowdata
cannot lookup 0x460000d in wid2windowdata
cannot lookup 0x460000d in wid2windowdata
cannot lookup 0x460000d in wid2windowdata
cannot lookup 0x460000d in wid2windowdata
cannot lookup 0x460000d in wid2windowdata
cannot lookup 0x460000d in wid2windowdata
cannot lookup 0x460000d in wid2windowdata
cannot lookup 0x460000d in wid2windowdata
Created 0x4600010(0x100007f) parent 0x0(0x176) ovr=0 x/y 0/0 w/h 200/200
Created 0x4600011(0x1000084) parent 0x0(0x176) ovr=1 x/y -100/-100 w/h 10/10
force_on_screen(from handle_create) returns 1 (reason 2): window
0x4600011, xy -100 -100, wh 10 10, root 1368 768 borderwidth 0
Created 0x4600012(0x100008d) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
Created 0x4600013(0x1000093) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
Created 0x4600018(0x10000d2) parent 0x0(0x176) ovr=1 x/y -1/-1 w/h 1/1
Created 0x4600019(0x1000167) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
Created 0x460001a(0x100016c) parent 0x0(0x176) ovr=1 x/y -100/-100 w/h 10/10
force_on_screen(from handle_create) returns 1 (reason 2): window
0x460001a, xy -100 -100, wh 10 10, root 1368 768 borderwidth 0
Created 0x4600053(0x1000607) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
invalid PMaxSize for 0x4600053 (587/32767)
invalid PResizeInc for 0x4600053 (0/0)
invalid PBaseSize for 0x4600053 (0/0)
Created 0x4600056(0x100060c) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
invalid PMaxSize for 0x4600009 (0/0)
invalid PResizeInc for 0x4600009 (0/0)
Created 0x4600057(0x800008) parent 0x0(0x176) ovr=1 x/y -1/-1 w/h 1/1
XDestroyWindow 0x4600009
cannot lookup 0x4600009 in wid2windowdata
cannot lookup 0x4600009 in wid2windowdata
cannot lookup 0x4600009 in wid2windowdata
cannot lookup 0x4600009 in wid2windowdata
cannot lookup 0x4600009 in wid2windowdata
cannot lookup 0x4600009 in wid2windowdata
cannot lookup 0x4600009 in wid2windowdata
cannot lookup 0x4600009 in wid2windowdata
cannot lookup 0x4600009 in wid2windowdata
cannot lookup 0x4600009 in wid2windowdata
Created 0x4600058(0x1000a32) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
invalid PMaxSize for 0x4600058 (587/32767)
invalid PResizeInc for 0x4600058 (0/0)
invalid PBaseSize for 0x4600058 (0/0)
Created 0x460005b(0x1002542) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
invalid PMaxSize for 0x460005b (32767/32767)
invalid PResizeInc for 0x460005b (0/0)
invalid PBaseSize for 0x460005b (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600010 (32767/32767)
invalid PResizeInc for 0x4600010 (0/0)
invalid PBaseSize for 0x4600010 (0/0)
invalid PMaxSize for 0x4600058 (587/32767)
invalid PResizeInc for 0x4600058 (0/0)
invalid PBaseSize for 0x4600058 (0/0)
Created 0x4600061(0x1400001) parent 0x0(0x176) ovr=0 x/y 10/10 w/h 10/10
Created 0x4600062(0x1400041) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
XDestroyWindow 0x4600062
Created 0x4600063(0x1400065) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
cannot lookup 0x4600062 in wid2windowdata
cannot lookup 0x4600062 in wid2windowdata
cannot lookup 0x4600062 in wid2windowdata
cannot lookup 0x4600062 in wid2windowdata
cannot lookup 0x4600062 in wid2windowdata
cannot lookup 0x4600062 in wid2windowdata
cannot lookup 0x4600062 in wid2windowdata
cannot lookup 0x4600062 in wid2windowdata
cannot lookup 0x4600062 in wid2windowdata
Created 0x4600064(0x1400083) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
Created 0x4600065(0x10066a0) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
invalid PMaxSize for 0x4600065 (587/32767)
invalid PResizeInc for 0x4600065 (0/0)
invalid PBaseSize for 0x4600065 (0/0)
invalid PMaxSize for 0x4600053 (587/32767)
invalid PResizeInc for 0x4600053 (0/0)
invalid PBaseSize for 0x4600053 (0/0)
Created 0x460006b(0x100865f) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
invalid PMaxSize for 0x460006b (32767/32767)
invalid PResizeInc for 0x460006b (0/0)
invalid PBaseSize for 0x460006b (0/0)
invalid PMaxSize for 0x4600065 (587/32767)
invalid PResizeInc for 0x4600065 (0/0)
invalid PBaseSize for 0x4600065 (0/0)
Created 0x4600078(0x1009a28) parent 0x0(0x176) ovr=1 x/y 0/0 w/h 200/200
invalid PMaxSize for 0x4600078 (32767/32767)
invalid PResizeInc for 0x4600078 (0/0)
invalid PBaseSize for 0x4600078 (0/0)
Created 0x460007b(0x1009c60) parent 0x0(0x176) ovr=0 x/y 0/0 w/h 200/200
invalid PMaxSize for 0x460007b (32767/32767)
invalid PResizeInc for 0x460007b (0/0)
invalid PBaseSize for 0x460007b (0/0)
XDestroyWindow 0x460007b
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
cannot lookup 0x460007b in wid2windowdata
XDestroyWindow 0x4600064
XDestroyWindow 0x4600061
XDestroyWindow 0x4600063
cannot lookup 0x4600064 in wid2windowdata
cannot lookup 0x4600064 in wid2windowdata
cannot lookup 0x4600064 in wid2windowdata
cannot lookup 0x4600064 in wid2windowdata
cannot lookup 0x4600064 in wid2windowdata
cannot lookup 0x4600064 in wid2windowdata
cannot lookup 0x4600064 in wid2windowdata
cannot lookup 0x4600064 in wid2windowdata
cannot lookup 0x4600064 in wid2windowdata
cannot lookup 0x4600061 in wid2windowdata
cannot lookup 0x4600061 in wid2windowdata
cannot lookup 0x4600061 in wid2windowdata
cannot lookup 0x4600061 in wid2windowdata
cannot lookup 0x4600061 in wid2windowdata
cannot lookup 0x4600061 in wid2windowdata
cannot lookup 0x4600061 in wid2windowdata
cannot lookup 0x4600061 in wid2windowdata
cannot lookup 0x4600061 in wid2windowdata
cannot lookup 0x4600063 in wid2windowdata
cannot lookup 0x4600063 in wid2windowdata
cannot lookup 0x4600063 in wid2windowdata
cannot lookup 0x4600063 in wid2windowdata
cannot lookup 0x4600063 in wid2windowdata
cannot lookup 0x4600063 in wid2windowdata
cannot lookup 0x4600063 in wid2windowdata
cannot lookup 0x4600063 in wid2windowdata
cannot lookup 0x4600063 in wid2windowdata
invalid PMaxSize for 0x4600065 (587/32767)
invalid PResizeInc for 0x4600065 (0/0)
invalid PBaseSize for 0x4600065 (0/0)

Nagaev Boris

unread,
May 17, 2014, 5:23:07 AM5/17/14
to Marek Marczykowski-Górecki, qubes...@googlegroups.com
I have fixed this myself.

vzw...@gmail.com

unread,
May 20, 2014, 8:09:01 AM5/20/14
to qubes...@googlegroups.com, Marek Marczykowski-Górecki
> I have fixed this myself.

Great, but HOW?

Reply all
Reply to author
Forward
0 new messages