| Author |
Message |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: 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
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
 |
| Description |
|
| Filesize |
22.07 KB |
| Viewed |
1469 Time(s) |

|
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: 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 The bin once compiled is only 14kb, now thats worth fixing
way smaller than the cursor selector above and doesn't use glade.
ttuuxxx
below is a screenshot and sources
| Description |
|

Download |
| Filename |
cwallpaper-0.3.tar.gz |
| Filesize |
70.84 KB |
| Downloaded |
538 Time(s) |
| Description |
|
| Filesize |
36.6 KB |
| Viewed |
2527 Time(s) |

|
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
gposil

Joined: 06 Apr 2009 Posts: 1305 Location: Stanthorpe (The Granite Belt), QLD, Australia
|
Posted: Thu 06 Aug 2009, 20:48 Post_subject:
|
|
I'll take the wallpaper setter ttuuxxx....back to you soon
_________________
Dpup Home
|
|
Back to top
|
|
 |
gposil

Joined: 06 Apr 2009 Posts: 1305 Location: Stanthorpe (The Granite Belt), QLD, Australia
|
Posted: Fri 07 Aug 2009, 03:20 Post_subject:
|
|
Here's what we've got so far...
| Description |
Update with dir sort and bin stripping
|

Download |
| Filename |
pwallset-0.2.pet |
| Filesize |
6.46 KB |
| Downloaded |
389 Time(s) |
| Description |
Screenshot |
| Filesize |
44.72 KB |
| Viewed |
1424 Time(s) |

|
_________________
Dpup Home
Edited_time_total
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Fri 07 Aug 2009, 03:47 Post_subject:
|
|
cool gposil you have it automatically displaying the backgrounds 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. 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 keep up the great work
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
gposil

Joined: 06 Apr 2009 Posts: 1305 Location: Stanthorpe (The Granite Belt), QLD, Australia
|
Posted: 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
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: 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

|
|
Back to top
|
|
 |
gposil

Joined: 06 Apr 2009 Posts: 1305 Location: Stanthorpe (The Granite Belt), QLD, Australia
|
Posted: Fri 07 Aug 2009, 04:18 Post_subject:
|
|
It already does that ttuuxxx...
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
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: 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 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 thanks
I bet it will be default in dpup also
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
ttuuxxx
| Description |
|
| Filesize |
43.89 KB |
| Viewed |
1372 Time(s) |

|
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: 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
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: 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  | Yes it is Lobster and did you see the size of the pet 6.46 KB man thats good
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: 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
ttuuxxx
| Description |
|

Download |
| Filename |
pwallset-0.2.1.pet |
| Filesize |
12.27 KB |
| Downloaded |
375 Time(s) |
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
gposil

Joined: 06 Apr 2009 Posts: 1305 Location: Stanthorpe (The Granite Belt), QLD, Australia
|
Posted: 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
|
|
 |
gposil

Joined: 06 Apr 2009 Posts: 1305 Location: Stanthorpe (The Granite Belt), QLD, Australia
|
Posted: 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....
Cheers
Guy
| Description |
Screenshot |
| Filesize |
45.6 KB |
| Viewed |
1306 Time(s) |

|
| Description |
Latest Version 1.0
|

Download |
| Filename |
pwallset-1.0.pet |
| Filesize |
12.48 KB |
| Downloaded |
384 Time(s) |
_________________
Dpup Home
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: 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
Yes It now works perfect on 2.14X great Job, and hats off to you gposil, very good work
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
|