SimpleWALL

Miscellaneous tools
Post Reply
Message
Author
stu90

SimpleWALL

#1 Post by stu90 »

version 0.3a
added gtk button icons
the wallpaper directory you are in is now shown in Wallpapers bar.

Important update to version-0.3
fixed big bug with wallpaper remover.

latest version-0.2:

SimpleWALL is a Yad GUI for setting your desktop wallpaper.
Image

updated for version-0.2:
Imagemagic dependency for the wallpaper preview has been replaced with vovchik's excellent and tiny picscale-0.1b
New option to select any directory as your wallpaper directory. (folder button)
New option to remove wallpapers from the wallpaper directory. (remove button)

Dependencies (for simpleWALL-0.2):

Yad: available for download here (this is .pet for lucid puppy):
http://www.murga-linux.com/puppy/viewto ... 647#539647

Picscale-0.1b:
Download is attached below.

--------------------------------------------------------------
OLD version

Wasn't sure to post this or not as a simple application it has a big dependence (imagemagic) but maybe some one knows or a lighter alternative to convert the wallpapers to thumb nails for the preview and also get image dimensions?
Image

Dependencies (for simpleWALL-0.1):

Yad: available for download here (this is .pet for lucid puppy):
http://www.murga-linux.com/puppy/viewto ... 647#539647

Imagemagic (for simpleWALL-0.1 only: available for download here (this is .pet for lucid puppy):
http://www.mediafire.com/file/ubt8a3twn ... .7.8-1.pet

Only tested on Lucid Puppy.
Attachments
simpleWALL-0.3a.pet
version 0.3a
(1.86 KiB) Downloaded 670 times
simpleWALL-0.3.pet
version 0.3
(1.81 KiB) Downloaded 611 times
simpleWALL-0.2.pet
simpleWALL-0.2.pet
(1.66 KiB) Downloaded 640 times
picscale-0.1b.pet
picscale-0.1b.pet
(14 KiB) Downloaded 1323 times
simpleWALL-0.1.pet
simpleWALL v0.1
(1.32 KiB) Downloaded 633 times
Last edited by stu90 on Fri 08 Jul 2011, 11:22, edited 4 times in total.

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

IM dependencies

#2 Post by vovchik »

Dear Stu,

You could try my little prog picscale http://murga-linux.com/puppy/viewtopic. ... h&id=34703 for creating the thumbnails, thereby eliminating the megs of ugly IM dependency. Don't get me wrong, I like IM, but picscale weighs in at about 38k and can handle lots of formats - most everything that gdk_pixbuf knows about - and could do this job nicely. It can also adjust h/w ratios on the fly.

With kind regards,
vovchik

stu90

#3 Post by stu90 »

Hello vovchik,

I have just been trying your picscale .pet in the simplewall script now - this is a lot better for size and does what i need to generate a thumb nail for the preview, however i seem to have run into a problem being unable to converting image files that contain white space in the name :cry:

picscale /root/wallpaper image file.jpg /tmp/thumb.jpg 300 350 80

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

picscale

#4 Post by vovchik »

Dear Stu,

Just noticed that myself. Thanks. I'll see whether I can change it to parse filenames with spaces. I think my argument parser is OK, so it must be elsewhere in the source. I'll have a look....

With kind regards,
vovchik

PS. If you have a jpg of 1200x800, say, and you want to preserve the ratio with a max width of 256, you could say: picscale infile outfile 256 900 9 and you would get the ratio preserved.

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

picscale fixed

#5 Post by vovchik »

Dear Stu,

Please try out the attached mod of picscale. It now seems to handle files with spaces OK. I had to change the syntax slightly (now -i inputfile -o outputfile paramters) to simplify argument parsing. Just run it without parameters in a terminal and you will see the proper syntax. The source and binary (compiled in Lucid) are in the archive.

With kind regards,
vovchik
Attachments
picscale-0.1b.tar.gz
(16.03 KiB) Downloaded 637 times

stu90

Re: picscale fixed

#6 Post by stu90 »

vovchik wrote:Dear Stu,

Please try out the attached mod of picscale. It now seems to handle files with spaces OK. I had to change the syntax slightly (now -i inputfile -o outputfile paramters) to simplify argument parsing. Just run it without parameters in a terminal and you will see the proper syntax. The source and binary (compiled in Lucid) are in the archive.

With kind regards,
vovchik
Hello vovchik,
Thank you for the update to picscale - i have been testing it out this morning and it works great, no problems with white space - and such a tiny size compared to imagemagic, great work. 8)

I have made picscale-0.1b into a .pet and added to first post.

cheers.

stu90

#7 Post by stu90 »

minor update to version 0.3a see first post.

Post Reply