Page 1 of 1

wallpaper-0.5 backdrop image setter

Posted: Tue 27 May 2008, 21:11
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

Posted: Thu 05 Jun 2008, 03:52
by Nathan F
Added French translation file supplied by esmourguit.

Nathan

Posted: Mon 08 Dec 2008, 19:30
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> 

Posted: Tue 09 Dec 2008, 03:21
by Nathan F
Will do. I'll see about merging into svn this week when I get home.

Nathan

Posted: Sun 14 Dec 2008, 11:58
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

Posted: Sat 20 Dec 2008, 19:37
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

Posted: Tue 06 Jan 2009, 09:35
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.

Posted: Tue 06 Jan 2009, 11:23
by MU
I attach the german language file, extract it in /usr/local/apps/Wallpaper/locale/.
Mark

Posted: Tue 06 Jan 2009, 15:18
by zigbert
works great !!!

Posted: Wed 04 Feb 2009, 16:25
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

Posted: Wed 25 Feb 2009, 18:17
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

Posted: Fri 27 Feb 2009, 11:19
by zigbert
and one more....
- added 'sidebar' button
- ensure 'stretch' is default mode

Pwidgets 1.8 requires this for full effect.


Sigmund

Posted: Thu 19 Mar 2009, 00:24
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

Posted: Sat 26 Feb 2011, 05:55
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?

Posted: Sun 15 May 2011, 16:02
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