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 Sun 21 Dec 2014, 12:40
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 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Author Message
ttuuxxx


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

PostPosted: Thu 06 Aug 2009, 19:48    Post_subject:  Little projects for people who know how to code :)  

Ok I was looking for a cursor selector viewer type app and came across a gnome one, well it had a few gnome deps and So I removed the main ones and it compiled, Basically its a C and glade based application,.
currently your able to view the cursors in usr/share/icons and select them, but the 'Install theme' and 'go to folder' button doesn't work and someone with some better C/glade understanding could probably fix the sources and we could have a nice cursor viewer/selector application.
It also would be nice to have it set the desktop background, because the 4 series background setter doesn't have a built in preview. and as this does have built in previewer it would make sense to use part of the code and make it a 2 purpose application.

Anyways this is the almost working application on 2.14X
http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=20664
and this is the altered sources
http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=20665
and here's a image of it almost working.
So if anyone wants a little project to get this working, here ya go Smile
ttuuxxx

ps for it to work it should take a theme selected in usr/share/icons or in root/icons and copy and then rename the folder copied to default and restart jwm
test.jpg
 Description   
 Filesize   22.07 KB
 Viewed   1699 Time(s)

test.jpg


_________________
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_website 
ttuuxxx


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

PostPosted: Thu 06 Aug 2009, 20:26    Post_subject:  

Here another application that could work better on puppy, Its call Cwallpaper.
Basically its a gtk2 wallpaper setter built in C and its almost works.
The part which has to be altered on it is that right now each wallpaper you have to list in /root/.config/cwallpaper/wallpapers
where it should just automatically look in usr/share/backgrounds and load all the wallpapers. and when you set the wallpaper it doesn't set, probably just needs to be configured for rox.
here's what it looks like on 2.14x, having a actual real-time preview in the main window is what we need in 4+ series, we used to have one in 3 series and but it was gtk1.2 and when we switched to gtk2 only we lost the built in preview option, this could bring it back Smile The bin once compiled is only 14kb, now thats worth fixing Smile
way smaller than the cursor selector above and doesn't use glade.
ttuuxxx
below is a screenshot and sources
cwallpaper-0.3.tar.gz
Description 
gz

 Download 
Filename  cwallpaper-0.3.tar.gz 
Filesize  70.84 KB 
Downloaded  652 Time(s) 
wall.jpg
 Description   
 Filesize   36.6 KB
 Viewed   2819 Time(s)

wall.jpg


_________________
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_website 
gposil


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

PostPosted: Thu 06 Aug 2009, 20:48    Post_subject:  

I'll take the wallpaper setter ttuuxxx....back to you soon
_________________
Dpup Home
Back to top
View user's profile Send_private_message Visit_website MSNM 
gposil


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

PostPosted: Fri 07 Aug 2009, 03:20    Post_subject:  

Here's what we've got so far...
pwallset-0.2.pet
Description  Update with dir sort and bin stripping
pet

 Download 
Filename  pwallset-0.2.pet 
Filesize  6.46 KB 
Downloaded  454 Time(s) 
ss-pws.jpg
 Description   Screenshot
 Filesize   44.72 KB
 Viewed   1700 Time(s)

ss-pws.jpg


_________________
Dpup Home

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website MSNM 
ttuuxxx


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

PostPosted: Fri 07 Aug 2009, 03:47    Post_subject:  

cool gposil you have it automatically displaying the backgrounds Smile on 2.14X now just the set function, and I see that you didn't strip the bin, when I strip it, it resorts back to the 14KB from 45kb so that's great no extra weight yet. Smile By the looks of things its your little script that's doings the work for the list, nice, so you probably haven't altered the sources yet Smile keep up the great work 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_website 
gposil


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

PostPosted: Fri 07 Aug 2009, 03:55    Post_subject:  

I had to change the source, it uses the FluxBox background setter so I reset it to pupp's own /usr/local/apps/Wallpaper/set_bg and add writing to the pup bg files...still a little work to do but it should be very Puppy.
_________________
Dpup Home
Back to top
View user's profile Send_private_message Visit_website MSNM 
ttuuxxx


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

PostPosted: Fri 07 Aug 2009, 04:08    Post_subject:  

Yes it just needs to change the settings in /root/.config/rox.sourceforge.net/ROX-Filer/pb_Default
and then it should be great for 4&5 series
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_website 
gposil


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

PostPosted: Fri 07 Aug 2009, 04:18    Post_subject:  

It already does that ttuuxxx... Very Happy

BTW a little update with dir alpha sort and stripping...see above

The setting works already in 4 & 5, I don't have 2.14x so i'll have to have a look at what is different

_________________
Dpup Home
Back to top
View user's profile Send_private_message Visit_website MSNM 
ttuuxxx


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

PostPosted: Fri 07 Aug 2009, 04:37    Post_subject:  

it wasn't working on 2.14x because 2.14X uses the older but better than 4 series setter that did display thumbnails, So when I copied /usr/local/apps/Wallpaper from 4 series over to 2.14X it worked perfect, thats a great achievement for 4&5 series that I really hated about since 4 series was released. great to have it now Smile below is what it used to look like in 2-3 series gtk1.2 version before they went to the newer non-preview one currently being used, this one you just fixed really will be a nice step forward Smile thanks
I bet it will be default in dpup also Smile
hmmm you might even want to bundle up the sources maybe and give it Rox-Filer developer to add to his page, I'm sure a lot of other Rox distros would like to have it also, just remember the missing /usr/local/apps/Wallpaper stuff, maybe that file could be thinned out if most of it isn't in use. or maybe your script could be place inside it Smile
ttuuxxx
wall-gtk1.2.jpg
 Description   
 Filesize   43.89 KB
 Viewed   1622 Time(s)

wall-gtk1.2.jpg


_________________
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_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Fri 07 Aug 2009, 09:24    Post_subject:  

Mark (MU) created the earlier version I believe. Lately we had all sorts of options (edit in mtpaint and inkscape for example) but the most essential feature is the image previewer. Good to see its return.

Thanks Guys Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
ttuuxxx


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

PostPosted: Fri 07 Aug 2009, 09:50    Post_subject:  

Lobster wrote:
Mark (MU) created the earlier version I believe. Lately we had all sorts of options (edit in mtpaint and inkscape for example) but the most essential feature is the image previewer. Good to see its return.

Thanks Guys Smile
Yes it is Lobster and did you see the size of the pet 6.46 KB Smile man thats good 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_website 
ttuuxxx


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

PostPosted: Fri 07 Aug 2009, 16:36    Post_subject:  

Hi Gposil below is a repackage that has the needed files for 2&3 series to work, plus I changed the .desktop icon name only to the one that works with 2,3,4,5 series so everybody gets a icon now, and I moved the setter pwallset script to /usr/local/apps/Wallpaper/pwallset so it can be with the others. Actually the way its packaged its would work with 4&5 series also without the extras in /usr/local/apps/Wallpaper/pwallset, its a slimmed down version, the only thing not working is the stretch/tile feature on 2.14X it looks like it goes by the image size, like if the image can fit the background, it goes with that and if it can't then it tiles.
Anyways its a great start Smile
ttuuxxx
pwallset-0.2.1.pet
Description 
pet

 Download 
Filename  pwallset-0.2.1.pet 
Filesize  12.27 KB 
Downloaded  435 Time(s) 

_________________
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_website 
gposil


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

PostPosted: Fri 07 Aug 2009, 18:19    Post_subject:  

ttuuxxx,

Does 2 & 3 have /root/.config/wallpaper/backgroundmode file, if it does let me know and i'll fix the stretch/tile option in a jiffy...

Cheers

_________________
Dpup Home
Back to top
View user's profile Send_private_message Visit_website MSNM 
gposil


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

PostPosted: Sat 08 Aug 2009, 02:22    Post_subject:  

Ok...here's version 1.0 with all the bugs for 4 & 5 ironed out, could you test it now ttuuxxx and see if the tiling and centre work in Puppy 2 & 3. If they do, it's a done deal unless you want any other changes.... Very Happy

Cheers
Guy
pws-v1.jpg
 Description   Screenshot
 Filesize   45.6 KB
 Viewed   1562 Time(s)

pws-v1.jpg

pwallset-1.0.pet
Description  Latest Version 1.0
pet

 Download 
Filename  pwallset-1.0.pet 
Filesize  12.48 KB 
Downloaded  449 Time(s) 

_________________
Dpup Home
Back to top
View user's profile Send_private_message Visit_website MSNM 
ttuuxxx


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

PostPosted: Sat 08 Aug 2009, 02:41    Post_subject:  

Sorry I didn't answer sooner, I'm at a all day church conference from 9am-9:30PM, I came home for my 3hr supper break Smile
Yes It now works perfect on 2.14X Smile great Job, and hats off to you gposil, very good work 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_website 
Display_posts:   Sort by:   
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0903s ][ Queries: 12 (0.0132s) ][ GZIP on ]