Na, it's work as rg66 said, needs to be run in a bash script, not in a terminal, I just changed it to icons I have, tooltip works too.Bert wrote:Maybe the GTK version is important? I have this:
YAD - Tips
Re: "form-field-button"
- Attachments
-
- yadthing.png
- (19.3 KiB) Downloaded 1290 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
Hi Slavvo67,slavvo67 wrote:Has anyone noticed that you can drag your YAD scripts to the desktop and just click on them? Can't do that with a regular shell script.
Thanks for this tip. I knew this is possible for gtkdialog scripts, but didn't realize yad can do this too
Yes, nice to see such development.By the way, latest version is already 31.1
Actively being developed, for sure.
Version 31.1 is just one bug fix for the new HTML function.
For compiling in this HTML, webkit must be installed.
I briefly looked into this while compiling: according to PPM some 76 MB needed to be downloaded....A bit much for one still unknown yad feature.
And also I don't know if the user also needs to have webkit aboard in order to enjoy the new HTML function.
Have a nice day!
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
I compiled the latest yad-0.31.1 in Carolina with html support, I'm making this post from Yad, seems to work ok.
I'll update the repo and post in the Carolina thread when I've done so, it will need the webkit (7.5 MB) installed from the repo,
Code: Select all
yad --html --browser --uri="murga-linux.com/puppy"
- Attachments
-
- yad-browser.png
- (128.78 KiB) Downloaded 1212 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
Congrats Geoffrey
Looks like a very worthy addition to yad.
I know this was meant for Carolina, but I couldn't resist trying it in Puppy Precise... no luck:
If I could find a working webkit package for Precise, I would compile yad-0.31.1 for Precise.
Thanks.
Looks like a very worthy addition to yad.
I know this was meant for Carolina, but I couldn't resist trying it in Puppy Precise... no luck:
Code: Select all
yad: error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared object file: No such file or directory
Thanks.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
hi bert ,Bert wrote:Congrats Geoffrey
Looks like a very worthy addition to yad.
I know this was meant for Carolina, but I couldn't resist trying it in Puppy Precise... no luck:If I could find a working webkit package for Precise, I would compile yad-0.31.1 for Precise.Code: Select all
yad: error while loading shared libraries: libgstapp-0.10.so.0: cannot open shared object file: No such file or directory
Thanks.
libgstapp-0.10.so.0 is in libgstreamer-plugins-base0.10 from the PPM
webkit is also in precises PPM ... tick the .dev box as you'll probably need libwebkitgtk-dev for compiling
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Thanks for trying to help me 666philb.
I tried, but compiling webkit is not for daydreamers like me.
I tried, but compiling webkit is not for daydreamers like me.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
Icon-only button:
Again doesn't seem to work from terminal. Okay as a script.
Code: Select all
#!/bin/sh
yad --button="""!/root/spot/spot.png!Hey Spot..."
- Attachments
-
- capture32115.png
- (7.83 KiB) Downloaded 1111 times
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
I have found that commands with exclamation marks don't work in the terminal.Bert wrote:Icon-only button:
Again doesn't seem to work from terminal. Okay as a script.Code: Select all
#!/bin/sh yad --button="""!/root/spot/spot.png!Hey Spot..."
Ah, thanks for that!rcrsn51 wrote: I have found that commands with exclamation marks don't work in the terminal.
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
Geoffrey:
Oddly, your HTML example did not work for me in Quirky Unicorn:
YAD Version: 0.31.1 (GTK+ 2.24.25)
By the way, I stumbled upon this YAD man page if anyone is interested:
https://www.mankier.com/1/yad#Options-Html_Options
Oddly, your HTML example did not work for me in Quirky Unicorn:
I only receive the YAD box with the OK and Cancel buttons.yad --html --browser --uri="murga-linux.com/puppy"
YAD Version: 0.31.1 (GTK+ 2.24.25)
By the way, I stumbled upon this YAD man page if anyone is interested:
https://www.mankier.com/1/yad#Options-Html_Options
This format works for meslavvo67 wrote:Geoffrey:
Oddly, your HTML example did not work for me in Quirky Unicorn:
I only receive the YAD box with the OK and Cancel buttons.yad --html --browser --uri="murga-linux.com/puppy"
YAD Version: 0.31.1 (GTK+ 2.24.25)
By the way, I stumbled upon this YAD man page if anyone is interested:
https://www.mankier.com/1/yad#Options-Html_Options
Code: Select all
yad --html --browser --uri="google.com" --no-buttons --geometry=800x500
- Attachments
-
- yadbrowser.png
- (55.53 KiB) Downloaded 2329 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
- rg66
- Posts: 1158
- Joined: Mon 23 Jul 2012, 05:53
- Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!
It works from cli with single quotes.rcrsn51 wrote:I have found that commands with exclamation marks don't work in the terminal.
- Attachments
-
- Screenshot(2).jpg
- (19.31 KiB) Downloaded 2123 times
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]
[url=http://smokey01.com/rg66/]X-series repo[/url]
Single quotes, double quotes...it doesn't matter in a script. What I learned from rg66 is that the "" I used to indicate "no button text", is not even needed.
So my code:
can be written more elegantly:
Thanks rg66
So my code:
Code: Select all
#!/bin/sh
yad --button="""!/root/spot/spot.png!Hey Spot..."
Code: Select all
#!/bin/sh
yad --button="!/root/spot/spot.png!Hey Spot..."
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
@Geoffrey:
Do you happen to have Webkit 1.0 dev installed in the distro you're using?
I'm not getting a segmentation fault as described below but I'm not seeing websites.
http://sourceforge.net/p/yad-dialog/tickets/263/
It's really a minor issue for me but I'd love to get the feature working properly. I'm using Barry's QU.
Do you happen to have Webkit 1.0 dev installed in the distro you're using?
I'm not getting a segmentation fault as described below but I'm not seeing websites.
http://sourceforge.net/p/yad-dialog/tickets/263/
It's really a minor issue for me but I'd love to get the feature working properly. I'm using Barry's QU.
I have both the webkit and webkit-dev in Carolina installed, you may have to compile yad with the webkit-dev for your particular version of puppy for it to work effectively.slavvo67 wrote:@Geoffrey:
Do you happen to have Webkit 1.0 dev installed in the distro you're using?
I'm not getting a segmentation fault as described below but I'm not seeing websites.
http://sourceforge.net/p/yad-dialog/tickets/263/
It's really a minor issue for me but I'd love to get the feature working properly. I'm using Barry's QU.
I'll see if it works in any other pups I have and report back.
Well I tried the yad with webkit support with Tahr, Slacko and livid, had to install webkit in Slacko and livid, also glib-networks was needed.
Just need to run it from terminal to see what it's missing, I got a few glib object warnings but it still seems to work ok.
You are trying the correct yad package?, http://smokey01.com/carolina/pet_packag ... ersion.pet
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
Hi Geoffrey:
Thanks for your help. I'm going to leave this one alone as it seems easier to just create a menu and use the default browser via script. Thank you, though. I noticed you have a substantial set of pets for Carolina. I may need to revisit you Puppy.
UPDATE: YAD newest version is now 0.31.2
minor bugfix release availeble for download
in this release was fixed bug with segmentation fault in list dialog
when separators enabled but --sep-value is unset
Funny how Victor houses the program at Sourceforge but posts about the updates in the google forum.
Kind regards,
Slavvo67
Thanks for your help. I'm going to leave this one alone as it seems easier to just create a menu and use the default browser via script. Thank you, though. I noticed you have a substantial set of pets for Carolina. I may need to revisit you Puppy.
UPDATE: YAD newest version is now 0.31.2
minor bugfix release availeble for download
in this release was fixed bug with segmentation fault in list dialog
when separators enabled but --sep-value is unset
Funny how Victor houses the program at Sourceforge but posts about the updates in the google forum.
Kind regards,
Slavvo67
Buttons NOT closing dialog
Never thought it would be that simple
Found this in the man page slavvo67 posted. Thanks!
Code: Select all
yad --button="Home":rox --button="Edit":geany --button="BFN"
Found this in the man page slavvo67 posted. Thanks!
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]