wallpaper-0.5 backdrop image setter

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

wallpaper-0.5 backdrop image setter

#1 Post by Nathan F »

This is an update to the wallpaper setter in Puppy. It is several generations more advanced now because I was absent from the forums here for so long, but continued developing many of my little projects while I was away. Advantages over the version currently in Puppy (0.1) -
  • doubleclick on an image file sets that image immediately
    clicking a mode button at top right applies setting immediately
    configurable slideshow option
    native language capable, English and Italian translations available
    installed graphics programs will automatically show up in the "edit" and "view" menus
    current mode shows up on top when the program starts
    can set defaults for "Edit" "View" and "Filer" buttons
    can be run from the command line with an image as argument
    dragging an image file to the icon sets that image
The Italian translation is courtesy of Angelo Gemmi, who has helped already with other translation efforts. Code was borrowed from Zigbert to support nls.

Requires: CAUTION! You must manually stop the slideshow before shutting down X or your ROX pinboard file will become corrupted. This is automatically taken care of in Grafpup but will have to be sorted out in Puppy if this is to be adopted.

UPDATE: added French translation courtesy of esmourguit.

Nathan
Attachments
wallpaper-it.png
Wallpaper application showing Italian language support
(67.65 KiB) Downloaded 2443 times
wallpaper-0.5.pet
(8.96 KiB) Downloaded 1569 times
wallpaper_nls-0.5.pet
Wallpaper nls language translations
(3.1 KiB) Downloaded 1560 times
Last edited by Nathan F on Fri 13 Jun 2008, 18:08, edited 1 time in total.
Bring on the locusts ...

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#2 Post by Nathan F »

Added French translation file supplied by esmourguit.

Nathan
Bring on the locusts ...

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#3 Post by zigbert »

Hi Nathan

I must hack your wallpaper setter to get it to update Pwidgets after changed background. Are you willing to add it to the official branch?

The hack is simple. Code start from line 238 in /usr/local/apps/wallpaper/AppRun. I have added the 2 lines in the middle.

Code: Select all

     <button>
      <label>$LOC_APPLY</label>
      <input file stock=\"gtk-apply\"></input>
      <action>$APPDIR/slideshow -stop</action>
      <action>$APPDIR/set_bg \"\$IMAGE\"</action>
      <action>echo \"\$IMAGE\" > \$HOME/.config/wallpaper/bg_img</action>

<action>fixwidgets &</action>
<action>cat /root/.config/tmp/bg_img</action>

      <action type=\"refresh\">TEXT</action>
     </button> 

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#4 Post by Nathan F »

Will do. I'll see about merging into svn this week when I get home.

Nathan
Bring on the locusts ...

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#5 Post by zigbert »

Could 'stretched' mode be the default choice. It sounds more logical that just clicking 'Apply' makes the chosen wallpaper cover the desktop.


Sigmund

User avatar
Botanic
Posts: 240
Joined: Wed 05 Sep 2007, 10:54
Location: Toulouse, France

#6 Post by Botanic »

It's all very well, but if you want no wallpaper, say a black background, how is it done? There was this possibility in previous Puppies
Puppy 2.16 on HP Vectra VL400 - PIII 800 MHz - 320M RAM
Wary on Acer Aspire X3200 - Phenom X4 - 2.2GHz - 4G RAM

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#7 Post by HairyWill »

I've done some work on this. So that it will work better as a right-click open-with handler.
It is probably no longer compatible with grafpup because I have updated the location of the pinboard to $HOME/Choices/ROX-Filer/PuppyPin


#last edited by hairywill 5th January 2009
#handle AppDir and image paths with spaces
#add -nextslide parameter so that caller can decide whether the wallslide is killed
#updated pinboard location
#added support for multiple images in parameter string (dropped on roxapp), this creates a slideshow from all images dropped onto the roxapp
#calls fixwidgets to allow it to work with pwidgets

@Botanic
I think you will have to create a small image of the correct colour and then use the image stretched.
Attachments
wallpaper-0.5.1.pet
(9.79 KiB) Downloaded 2417 times
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

I attach the german language file, extract it in /usr/local/apps/Wallpaper/locale/.
Mark
Attachments
german.po.tar.gz
(908 Bytes) Downloaded 1311 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#9 Post by zigbert »

works great !!!

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#10 Post by HairyWill »

YoN sent a japanese po file plus patches to the scripts to check for it.

The NLS pet will need updating with japanese and german
Attachments
420wallpapersetterJP.zip
(6.67 KiB) Downloaded 1194 times
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#11 Post by zigbert »

- Fixed HairyWills slideshow function
- Better cooperation with fixwidgets
- Render widgets only when 'Apply' - speed issue
- Added some new language detection.

- With this version, Pwidgets-1.8 keeps chosen sidebar when changing wallpaper (only for stretched mode).

Please test

Sigmund
Attachments
wallpaper-0.5.2.pet
(9.81 KiB) Downloaded 1286 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#12 Post by zigbert »

and one more....
- added 'sidebar' button
- ensure 'stretch' is default mode

Pwidgets 1.8 requires this for full effect.


Sigmund
Attachments
wallpaper-0.5.3.pet
(9.93 KiB) Downloaded 2552 times

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#13 Post by ttuuxxx »

Maybe you could add a image preview, Thats the single most needed Feature to any wallpaper setter, People want to know what it looks like before setting the images, 3 series by far was the better wallpaper setter, I tried compiling it for 4 series, even with Mu's patch and it didn't work.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
TwoPuppies
Posts: 77
Joined: Wed 29 Dec 2010, 05:13
Location: Melbourne, Australia

#14 Post by TwoPuppies »

‭I notice that when using wallpaper-0.5.3 in Puppy 4.3 (or later versions of Puppy) I get a little thumbnail image of the actual wallpaper next to its file name. However, these thumbnails are not present when using the application in Puppy 4.2. Any idea how to get the thumbnails working in 4.2 as well?
[color=#006699]What you really need is two puppies:
Puppy Linux, and the sort with four legs and a tail.[/color]

User avatar
m.a.k
Posts: 9
Joined: Sun 24 Apr 2011, 13:26
Location: Egypt
Contact:

#15 Post by m.a.k »

wallpaper 5.3 doesn't work for me
it tells me

Code: Select all

# wallpaper
dirname: extra operand `X'
Try `dirname --help' for more information.

** ERROR **: gtkdialog: Error in line 37, near token '<separator>': syntax error

aborting...
/usr/local/apps/Wallpaper/AppRun: line 321:  7984 Aborted                 gtkdialog3 --program BG_DLG

Post Reply