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 Thu 28 Aug 2014, 09:18
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Little projects for people who know how to code :)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [38 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Sun 09 Aug 2009, 01:22    Post subject:  

Trio,

1.) I don't get the problem with widescreen or the need to use the background_reshape script, I have 2 widescreens, 19" an 22" and works fine without it...

2.) No reshaping, so no need to worry about files produced.

3.) Yes, I will change wallpaper list to not include path.

4.) Yes, will rewrite code to show current background on startup.

Hope that helps.

_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ttuuxxx


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

PostPosted: Sun 09 Aug 2009, 07:32    Post subject:  

Hi gposil I was thinking maybe a "Open Folder" button to open the wall the wallpaper folder up in rox? So like a 3 in the row button
"Apply" "Open Folder" "Cancel".
Its just an idea, makes add/delete wallpapers easier Smile
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 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Fri 14 Aug 2009, 01:37    Post subject:  

gposil,

Did you read Barry's blog?

It's a pity that your hacked Cwallpaper didn't make it into the Beta1. But I think it is easy enough for you to adhere to what the /usr/local/apps/Wallpaper/AppRun does in 430, as follows (if I may):

1. Exclude any ORIGINAL-xxx.jpg in list
2. Pipe $MODE = streched, tiled, centred, scaled (please find the correct terms, I forgot) to /usr/local/apps/Wallpaper/set_bg
3. name it /usr/local/apps/Wallpaper/AppRun to replace the original only

Then it should do exactly what the original should do, but with preview!

Other (not too important) functions in original AppRun:
1. Current background text
2. Selectable directory
3. Slideshow (but who needs it?)
4. Edit button (to go to mtpaint)
5. Maybe like ttuuxx said, go to the current directory (maybe to add or delete wallpapers)

Anything else? I think that's enough

C'mon gposil, you can do it! Let's make puppy more professional. Thanks

ttuuxxx

I hacked pcursorsel (used in 421) so:
1. It will not list ROX and default in the available cursor list
2. refresh x instead of restart X (so we won't loose any opened window) - thanks to xrefresh by Big Bass

Maybe it can be useful to you to replace the cursor selector you proposed.

Thanks all

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Fri 14 Aug 2009, 01:46    Post subject:  

trio...

It already does all that and Barry has a copy and the source, so he can fiddle with it, you'll find it here http://www.gposil.com/test/woof-alpha9/dpup/dpup476d-2.6.27.4/packages/src/

_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Fri 14 Aug 2009, 03:19    Post subject:  

Ok,

Now here's my own version (modified from your source). I include binary & source.


I name it pwallset-1.1 just to differentiate
It is only 1 file, called AppRun, you replace the original /usr/local/apps/Wallpaper/AppRun

It is 1 file only, no need other files, so it will adhere to original AppRun in 430
and it won't list all the ORIGINAL-xxx.jpg

Hope someone can find it useful

Cheers

Edit: The attached contains binary and source, but somewhat the source became BLANK, dunno why ..(I lost it Sad )
pwallset.jpg
 Description   
 Filesize   23.67 KB
 Viewed   957 Time(s)

pwallset.jpg

pwallpaper-1.1.tar.gz
Description 
gz

 Download 
Filename  pwallpaper-1.1.tar.gz 
Filesize  7.57 KB 
Downloaded  391 Time(s) 

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Fri 14 Aug 2009, 05:00    Post subject:  

trio can track down the source...it doesn't work in dpup so i'll have to have a look at source.

Cheers

_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Fri 14 Aug 2009, 05:07    Post subject:  

I have to recreate it first.. Crying or Very sad let me see
_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Fri 14 Aug 2009, 05:18    Post subject:  

well, I recreated it. here it is. works in 430 or 421
pwallpaper-1.1-source.tar.gz
Description 
gz

 Download 
Filename  pwallpaper-1.1-source.tar.gz 
Filesize  3.85 KB 
Downloaded  404 Time(s) 

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Fri 14 Aug 2009, 05:30    Post subject:  

thanks trio,

I'll post 1.2 when i've got the additions ttuuxxx wanted, including the upup/dpup change

Cheers

_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Fri 14 Aug 2009, 10:43    Post subject:  

This one is especially for 421 (compatible with pwidgets), and it will not list /usr/share/backgrounds/Pwidgets_background (produced by sidebar), replace your /usr/local/apps/Wallpaper/AppRun with this one
pwallpaper-1.1-421-pwidgets.tar.gz
Description 
gz

 Download 
Filename  pwallpaper-1.1-421-pwidgets.tar.gz 
Filesize  7.54 KB 
Downloaded  395 Time(s) 

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
ttuuxxx


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

PostPosted: Fri 14 Aug 2009, 10:58    Post subject:  

gposil wrote:
thanks trio,

I'll post 1.2 when i've got the additions ttuuxxx wanted, including the upup/dpup change

Cheers

also don't forget to include the 2&3 series extra files Smile trio left them out, his version open fine just couldn't do anything with it on 2.14X
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 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Fri 14 Aug 2009, 11:06    Post subject:  

Hi ttuuxxx

Just use /usr/local/apps/Wallaper/set_bg from any other puppy, it should work just fine

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Sat 15 Aug 2009, 02:26    Post subject:  

Here's another one, compiled in 430beta1, the differences are:

1. Will not list ORIGINAL-xxx.jpg and also Pwidgets_background
2. Compatible with pwidgets users (not native in 430)
3. This compiled app seems can't run in 421
4. tar.gz consists of AppRun and source
5. Please replace original /usr/local/apps/Wallpaper/AppRun with this one (you may want to back it up first)
pwallpaper-1.1-source-430pwidgets.tar.gz
Description 
gz

 Download 
Filename  pwallpaper-1.1-source-430pwidgets.tar.gz 
Filesize  10.82 KB 
Downloaded  385 Time(s) 

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Sat 15 Aug 2009, 02:58    Post subject:  

I should have pwallset-1.2 ready tonight...just testing at the moment, works in all versions from 2-5 with or without pwidgets, and a few new features that ttuuxxx wanted included...

Cheers

_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Sat 15 Aug 2009, 03:11    Post subject:  

gposil wrote:
I should have pwallset-1.2 ready tonight...just testing at the moment, works in all versions from 2-5 with or without pwidgets, and a few new features that ttuuxxx wanted included...

Cheers


Great!

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [38 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0809s ][ Queries: 12 (0.0062s) ][ GZIP on ]