Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 04:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
wallpaper-0.5 backdrop image setter
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 27 May 2008, 17:11    Post subject:  wallpaper-0.5 backdrop image setter  

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
wallpaper_nls-0.5.pet
Description  Wallpaper nls language translations
pet

 Download 
Filename  wallpaper_nls-0.5.pet 
Filesize  3.1 KB 
Downloaded  1115 Time(s) 
wallpaper-it.png
 Description   Wallpaper application showing Italian language support
 Filesize   67.65 KB
 Viewed   1680 Time(s)

wallpaper-it.png

wallpaper-0.5.pet
Description 
pet

 Download 
Filename  wallpaper-0.5.pet 
Filesize  8.96 KB 
Downloaded  1113 Time(s) 

_________________
Bring on the locusts ...

Last edited by Nathan F on Fri 13 Jun 2008, 14:08; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Wed 04 Jun 2008, 23:52    Post subject:  

Added French translation file supplied by esmourguit.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Mon 08 Dec 2008, 15:30    Post subject:  

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:
     <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>

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Mon 08 Dec 2008, 23:21    Post subject:  

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

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Sun 14 Dec 2008, 07:58    Post subject:  

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


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Botanic


Joined: 05 Sep 2007
Posts: 241
Location: Toulouse, France

PostPosted: Sat 20 Dec 2008, 15:37    Post subject:  

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
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Tue 06 Jan 2009, 05:35    Post subject:
Subject description: upgraded to 0.5.1
 

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.
wallpaper-0.5.1.pet
Description 
pet

 Download 
Filename  wallpaper-0.5.1.pet 
Filesize  9.79 KB 
Downloaded  1576 Time(s) 

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 06 Jan 2009, 07:23    Post subject:  

I attach the german language file, extract it in /usr/local/apps/Wallpaper/locale/.
Mark
german.po.tar.gz
Description 
gz

 Download 
Filename  german.po.tar.gz 
Filesize  908 Bytes 
Downloaded  894 Time(s) 

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Tue 06 Jan 2009, 11:18    Post subject:  

works great !!!
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Wed 04 Feb 2009, 12:25    Post subject:  

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
420wallpapersetterJP.zip
Description 
zip

 Download 
Filename  420wallpapersetterJP.zip 
Filesize  6.67 KB 
Downloaded  861 Time(s) 

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Wed 25 Feb 2009, 14:17    Post subject:  

- 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
wallpaper-0.5.2.pet
Description 
pet

 Download 
Filename  wallpaper-0.5.2.pet 
Filesize  9.81 KB 
Downloaded  886 Time(s) 

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Fri 27 Feb 2009, 07:19    Post subject:  

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

Pwidgets 1.8 requires this for full effect.


Sigmund
wallpaper-0.5.3.pet
Description 
pet

 Download 
Filename  wallpaper-0.5.3.pet 
Filesize  9.93 KB 
Downloaded  1723 Time(s) 

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10821
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 18 Mar 2009, 20:24    Post subject:  

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 Smile
Back to top
View user's profile Send private message Visit poster's website 
TwoPuppies


Joined: 29 Dec 2010
Posts: 25
Location: Melbourne, Australia

PostPosted: Sat 26 Feb 2011, 01:55    Post subject:  

‭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?
_________________
What you really need is to have two puppies:
Puppy Linux, and the sort with four legs and a tail.
Back to top
View user's profile Send private message 
m.a.k


Joined: 24 Apr 2011
Posts: 9
Location: Egypt

PostPosted: Sun 15 May 2011, 12:02    Post subject:  

wallpaper 5.3 doesn't work for me
it tells me
Code:
# 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
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0820s ][ Queries: 13 (0.0048s) ][ GZIP on ]