| Author |
Message |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Tue 17 May 2011, 22:43 Post subject:
|
|
No probs lithpr - thanks for making .pet
|
|
Back to top
|
|
 |
lithpr

Joined: 10 Mar 2011 Posts: 186
|
Posted: Fri 27 May 2011, 18:06 Post subject:
|
|
hi all. Finally got around to messing with yad.. it's awesome. So fun and easy to use (at least for the simple case). Here's my first experiment: a little script to help find wallpapers at the users current screen resolution:
| Code: |
#!/bin/bash
dataline=$(wmctrl -d | grep '*')
width=$(echo "$dataline" | cut -d ' ' -f 5 | cut -d \x -f 1)
height=$(echo "$dataline" | cut -d ' ' -f 5 | cut -d \x -f 2)
search=$(yad \
--title="Find Wallpapers" \
--text="This will help you find wallpapers that fit well within your current screen resolution.\n" \
--window-icon=/usr/share/pixmaps/google-chrome.png \
--entry --entry-label="Wallpaper Search:")
search=$(echo "$search" | sed "s/ /%20/g")
searchURL="http://images.google.com/images?q=imagesize%3A${width}x${height}+${search}"
defaultbrowser "$searchURL"
|
I'l definitelyl be messing with it more in the coming weeks.
|
|
Back to top
|
|
 |
Iguleder

Joined: 11 Aug 2009 Posts: 1614 Location: Israel, somewhere in the beautiful desert
|
Posted: Fri 10 Jun 2011, 14:39 Post subject:
|
|
Another PET, this time of 0.12.1
Clean install, no extras or patches.
| Description |
|

Download |
| Filename |
yad-0.12.1.pet |
| Filesize |
67.89 KB |
| Downloaded |
347 Time(s) |
_________________ Shahor, my Puppy concept
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1230 Location: Ukraine
|
Posted: Sat 11 Jun 2011, 01:50 Post subject:
Yad icon browser |
|
Dear lguleder,
Thanks for the new yad pet. I also compiled it (in lucid) and included in my ./configure the option to create the little yad-icon-browser (18k). Here it is. I think it is useful if you are designing gtkdialog/yad/zenity/gtkdialog-splash scripts and want to see what icons you have available that are part of the system.
With kind regards,
vovchik
PS. It installs a menu entry in System.
| Description |
|

Download |
| Filename |
yad-icon-browser-0.12.1.pet |
| Filesize |
7.93 KB |
| Downloaded |
359 Time(s) |
| Description |
|
| Filesize |
43.82 KB |
| Viewed |
2098 Time(s) |

|
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Sat 11 Jun 2011, 08:21 Post subject:
|
|
| Iguleder wrote: | Another PET, this time of 0.12.1
Clean install, no extras or patches. |
Thanks for .pet Iguleder
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1706 Location: Burghaslach, Germany
|
Posted: Sat 18 Jun 2011, 17:33 Post subject:
|
|
| Iguleder wrote: | Another PET, this time of 0.12.1
Clean install, no extras or patches. |
latest is 0.12.2 now
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Tue 21 Jun 2011, 07:04 Post subject:
|
|
Yad .pet for 0.12.2 compiled on Lucid puppy - nothing stripped out.
| Description |
yad-0.12.2-i486.pet
|

Download |
| Filename |
yad-0.12.2-i486.pet |
| Filesize |
70.63 KB |
| Downloaded |
499 Time(s) |
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2174 Location: UK
|
Posted: Tue 21 Jun 2011, 07:27 Post subject:
|
|
as far as I know, as mentioned before, all puppies seem to say GTK 2.10, but that is only the DEV part of it.. Correct me if I am wrong, but I have 2.10 listed from pkconfig, but am using 2.12.1
I tried to compile Yad on 4.2 and it did say GTK was too old.
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Tue 21 Jun 2011, 07:43 Post subject:
|
|
| sc0ttman wrote: | as far as I know, as mentioned before, all puppies seem to say GTK 2.10, but that is only the DEV part of it.. Correct me if I am wrong, but I have 2.10 listed from pkconfig, but am using 2.12.1
I tried to compile Yad on 4.2 and it did say GTK was too old. |
Hi sc0ttman,
Does it still compile when you get this message?
I can't recall if i get this message or not as i just bash enter all the way through with out reading the display
Any idea of what the GTK package would be called? looking though the packages downloaded in woof for squeeze puppy there is a gtk2-engines-pixbuf_2.20.1-2_i386.deb
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1706 Location: Burghaslach, Germany
|
Posted: Tue 21 Jun 2011, 07:50 Post subject:
yad Subject description: version |
|
| stu90 wrote: | | Yad .pet for 0.12.2 compiled on Lucid puppy - nothing stripped out. |
Thanks for compiling.
Here is a code snippet to control required version
| Code: | # test of yad version
yad_version_min_required="0.12.1"
yad_version=`yad --version`
yad_version1="`yad --version | cut -d '.' -f 1`"
yad_version2="`yad --version | cut -d '.' -f 2`"
yad_version3="`yad --version | cut -d '.' -f 3`"
#echo $yad_version3
#echo $yad_version_min_required | cut -d '.' -f 3
if [ "$yad_version1" -lt "`echo $yad_version_min_required | cut -d '.' -f 1`" ]; then ver_err=1
elif [ "$yad_version2" -lt "`echo $yad_version_min_required | cut -d '.' -f 2`" ]; then ver_err=1
elif [ "$yad_version3" -lt "`echo $yad_version_min_required | cut -d '.' -f 3`" ]; then ver_err=1
fi
[ "$ver_err" = "1" ] && printf "your yad version %s is less than the required version %s \n" $yad_version $yad_version_min_required && exit
# /test of yad version |
Note, [ "$ver_err" = "1" ] && ......... && exit is ONE line.
Tested succesfully simulating a higher yad_version_min_required
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 833
|
Posted: Tue 21 Jun 2011, 10:11 Post subject:
|
|
I think technosaurus made a pet for Gtk216 (which apparently works with fewer problems than 218 in Puppy).
However, the pet seems to have been lost when one of the housing sites went down.
Anyone seen this one somewhere?
Cheers,
s
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2174 Location: UK
|
Posted: Fri 24 Jun 2011, 06:11 Post subject:
|
|
| stu90 wrote: | | sc0ttman wrote: | as far as I know, as mentioned before, all puppies seem to say GTK 2.10, but that is only the DEV part of it.. Correct me if I am wrong, but I have 2.10 listed from pkconfig, but am using 2.12.1
I tried to compile Yad on 4.2 and it did say GTK was too old. |
Hi sc0ttman,
Does it still compile when you get this message?
I can't recall if i get this message or not as i just bash enter all the way through with out reading the display
Any idea of what the GTK package would be called? looking though the packages downloaded in woof for squeeze puppy there is a gtk2-engines-pixbuf_2.20.1-2_i386.deb |
No it does not compile.
And the package would be the DEV package of GTK - something like gtk+-2.12.1-i486-w5.pet (i made that from memory, may be wrong)
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2174 Location: UK
|
Posted: Fri 24 Jun 2011, 06:41 Post subject:
Yad 0.9.1 Subject description: should work in puppy 4 and later |
|
Here is Yad 0.9.1
The 0.9.x series is the last to work in puppy 4, as far as I know.
it should work in puppy 4 and later, alhtough I am not sure..
Maybe only my mongrel install.. For testing only, I guess...
EDIT... NOPE, this one won't run pur-gui, but it runs the icon browser..
| Description |
should work in most pups
|

Download |
| Filename |
yad-0.9.1-1-i486-pup4.pet |
| Filesize |
63.25 KB |
| Downloaded |
292 Time(s) |
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Fri 01 Jul 2011, 07:36 Post subject:
|
|
update for yad-0.12.4
compiled on lucid puppy
| Description |
yad-0.12.4.pet
|

Download |
| Filename |
yad-0.12.4-i486.pet |
| Filesize |
51.21 KB |
| Downloaded |
455 Time(s) |
|
|
Back to top
|
|
 |
Geoffrey

Joined: 30 May 2010 Posts: 919 Location: Queensland Australia ɹǝpu∩uʍop
|
Posted: Fri 01 Jul 2011, 23:46 Post subject:
|
|
stu90,
Here it is, my monster yad compiled on quirky 1.20, I don't know how it will work with other quirky's as it was compile on my hybrid, let me know if it is ok , if not I will kill the beast.
| Description |
yad compiled on quirky 1.20 may not work with stock quirky
|

Download |
| Filename |
yad_quirky_1.20-0.12.4-i486.pet |
| Filesize |
185.49 KB |
| Downloaded |
259 Time(s) |
|
|
Back to top
|
|
 |
|