Yad --html stop working

445 views
Skip to first unread message

Tider

unread,
Apr 18, 2023, 9:41:57 PM4/18/23
to yad-common
After upgrading Yad 0.39 to Yad 0.40, the --html option stop working.
Here is my code example:
yad --html --browser --uri="http://wttr.in/$location" : returns empty dialog.
How can i fix that?
Any help will be appreciated.

s3idani

unread,
Apr 18, 2023, 9:46:18 PM4/18/23
to yad-common
Not working for me either

Johnny Rosenberg

unread,
Apr 19, 2023, 2:10:15 PM4/19/23
to yad-c...@googlegroups.com
Den ons 19 apr. 2023 kl 03:41 skrev Tider <fb.s3...@gmail.com>:
After upgrading Yad 0.39 to Yad 0.40, the --html option stop working.
Here is my code example:
yad --html --browser --uri="http://wttr.in/$location" : returns empty dialog.
How can i fix that?

Have you tried one of the many later versions? I think the latest version is 12.3 or something like that.


Kind regards

Johnny Rosenberg
 
Any help will be appreciated.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/yad-common/63a067ab-b7e2-4297-8428-395c80e0ba3en%40googlegroups.com.
Message has been deleted

Tider

unread,
Apr 19, 2023, 6:26:11 PM4/19/23
to yad-common

I'm using the only available version from official Ubuntu repository (yad 0.40.0). I just compiled the 12.3 from Github and --html still not working.

Johnny Rosenberg

unread,
Apr 20, 2023, 4:34:49 PM4/20/23
to yad-c...@googlegroups.com
I have never used that feature myself, but does this link give some kind of clue?




Kind regards

Johnny Rosenberg

Victor Ananjevsky

unread,
Apr 21, 2023, 12:37:54 AM4/21/23
to yad-c...@googlegroups.com

All works fine for me. Did you build yad with webkit support?
And is there any kind of messages in terminal?

Wed, 19 Apr 2023 15:26:11 -0700 (PDT)
Tider <fb.s3...@gmail.com> написав:

>
> I'm using the only available version from official Ubuntu repository (yad
> 0.40.0). I just compiled the 12.3 from Github and --html still not working.
> Le mercredi 19 avril 2023 à 19:10:15 UTC+1, gurus....@gmail.com a écrit :
>
> > Den ons 19 apr. 2023 kl 03:41 skrev Tider <fb.s3...@gmail.com>:
> >
> >> After upgrading Yad 0.39 to Yad 0.40, the --html option stop working.
> >> Here is my code example:
> >> *yad --html --browser --uri="http://wttr.in/$location
> >> <http://wttr.in/$location>"* : returns empty dialog.
> >> How can i fix that?
> >>
> >
> > Have you tried one of the many later versions? I think the latest version
> > is 12.3 or something like that.
> >
> >
> > Kind regards
> >
> > Johnny Rosenberg
> >
> >
> >> Any help will be appreciated.
> >>
> >> --
> >> 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.
> >> To view this discussion on the web visit
> >> https://groups.google.com/d/msgid/yad-common/63a067ab-b7e2-4297-8428-395c80e0ba3en%40googlegroups.com
> >> <https://groups.google.com/d/msgid/yad-common/63a067ab-b7e2-4297-8428-395c80e0ba3en%40googlegroups.com?utm_medium=email&utm_source=footer>
> >> .
> >>
> >
>



--
wbr
Victor Ananjevsky <vic...@sanana.kiev.ua>
yad-wthr.png

Tider

unread,
Apr 21, 2023, 4:44:34 PM4/21/23
to yad-common
@Victor, yes i installed build-essential libgtk-3-dev as recommended then configure make make install.. yad package successfully installed, all options works fine except --html.

Tider

unread,
Apr 21, 2023, 4:51:42 PM4/21/23
to yad-common
@Victor, there is one message when launch code in terminal; (yad:5372): Gtk-WARNING **: Theme parsing error: gtk.css:225:32: The :insensitive pseudo-class is deprecated. Use :disabled instead.

Victor Ananjevsky

unread,
Apr 23, 2023, 8:13:02 AM4/23/23
to yad-c...@googlegroups.com

is the string "Build with Webkit" presents in yad --about ?

Fri, 21 Apr 2023 13:51:42 -0700 (PDT)

Tider

unread,
Apr 23, 2023, 12:18:13 PM4/23/23
to yad-common
No !

Victor Ananjevsky

unread,
Apr 23, 2023, 1:56:10 PM4/23/23
to yad-c...@googlegroups.com

if so, please install webkit2-dev package and rebuild yad

Sun, 23 Apr 2023 09:18:12 -0700 (PDT)

Robert Cooper

unread,
May 11, 2023, 11:28:37 AM5/11/23
to yad-common

Obtain Source Code 

You should only obtain the YAD Source code from its Author's official Repsitory which resides on Github.  https://github.com/v1cont/yad/releaseshttps://github.com/v1cont/yad/releases

If your are new to Linux, I suggest that you download the Yad*.zip file.

 

Decompress Source Code -

Decompress Source code to a folder on the computer for which you will be compiling and installing YAD. 

Terminal Method - (Commands are after -> arrow)

1. Open terminal (From Desktop you can use ctrl+t)

2. Decompress Yad Source code: 

"Change to directory that contains the yad*.zip file", for example: -> cd Downloads (on my pc for example its -> cd /home/linux/Downloads)

"unzip the yad*.zip file" -> unzip ./yad*.zip

3. Install Compile Specific Dependices:

-> sudo apt-get update

->  sudo apt-get upgrade

-> sudo apt-get install automake build-essential intltool


Also, verify you have these plugins, at very least gstreamer1.0-plugins-good & gstreamer1.0-libav

 

Versions of packages libwebkit2gtk-4.0-37:amd64 recommends: gstreamer1.0-alsa 1.16.2-4 gstreamer1.0-libav 1.16.2-2 (this lib fixes "No Video" issue with ffmpeg & mpv) gstreamer1.0-plugins-good 1.16.2-3 gstreamer1.0-pulseaudio 1.16.2-3 libgl1-mesa-dri 20.1.1-1

4. Install YAD Specific Dependies: (for "--html --browser" functionality)

-> sudo apt-get install libwebkit2gtk-4.0 libwebkit2gtk-4.0-dev

---------------------------

(Updated: 9-18-22: If you are going to compile yad with text-info box script hightlighting option, --sourceview | then install these:)

-> sudo apt-get install libgtksourceview-3.0-1 libgtksourceview-3.0-common libgtksourceview-3.0-dev

----------------------------

 5. Compile YAD (sudo -s is root access !!!! BE VERY CAREFUL !!!)
Word of Caution: sudo -s may not be necessary unless you are re-installing yad as it needs to over-write root owned files
 

-> cd yad-12.0 (or whatever yad* folder was created by unzipping. On my pc its: -> cd /home/linux/Downloads/yad-12.0 )

-> sudo -s- 

-> autoreconf -ivf && intltoolize

-> ./configure --enable-html --enable-sourceview

-> make

 
6. Install YAD

-> make install

-> exit

 You must manually run gtk-update-icon-cache after yad installation.
 

-> gtk-update-icon-cache

DONE !  - Test yad.  in terminal type ->  yad

Reply all
Reply to author
Forward
0 new messages