problem displaying some characters

114 views
Skip to first unread message

Julien SCORDIA

unread,
May 11, 2018, 3:14:57 AM5/11/18
to yad-common
Hello,

I have a problem with a basic YAD popup:

$ yad --text '<'

** (yad:3920): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(yad:3920): Gtk-WARNING **: Failed to set text '<' from markup due to error parsing markup: Error on line 1 char 12: '<' is not a valid name

(yad:3920): Gtk-WARNING **: Failed to set text '<' from markup due to error parsing markup: Error on line 1 char 12: '<' is not a valid name

(yad:3920): Gtk-WARNING **: Failed to set text '<' from markup due to error parsing markup: Error on line 1 char 12: '<' is not a valid name

which results in



i.e. the '<' is not displayed. How to make it work?

Thanks in advance,

Julien

Auto Generated Inline Image 1

Victor Ananjevsky

unread,
May 11, 2018, 3:37:10 AM5/11/18
to yad-c...@googlegroups.com

yad --no-markup --text='<'

В Fri, 11 May 2018 00:14:57 -0700 (PDT)
Julien SCORDIA <julien....@free.fr> писал:

> Hello,
>
> I have a problem with a basic YAD popup:
>
> $ yad --text '<'
>
> ** (yad:3920): WARNING **: Couldn't register with accessibility bus: Did
> not receive a reply. Possible causes include: the remote application did
> not send a reply, the message bus security policy blocked the reply, the
> reply timeout expired, or the network connection was broken.
>
> (yad:3920): Gtk-WARNING **: Failed to set text '<' from markup due to error
> parsing markup: Error on line 1 char 12: '<' is not a valid name
>
> (yad:3920): Gtk-WARNING **: Failed to set text '<' from markup due to error
> parsing markup: Error on line 1 char 12: '<' is not a valid name
>
> (yad:3920): Gtk-WARNING **: Failed to set text '<' from markup due to error
> parsing markup: Error on line 1 char 12: '<' is not a valid name
>
> which results in
>
>
>
> i.e. the '<' is not displayed. How to make it work?
>
> Thanks in advance,
>
> Julien
>
> --
> You received this message because you are subscribed to the Google Groups "yad-common" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


--
Victor Ananjevsky <anan...@gmail.com>

Милош Павловић

unread,
May 11, 2018, 11:38:34 AM5/11/18
to yad-common
You can use html entities
&#60;
&#x3c;

&lt;
yad --text '&#60;'
yad --text '&#x3c;'
yad --text '&lt;'
Reply all
Reply to author
Forward
0 new messages