Little projects for people who know how to code :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Hi gposil Barry mentioned in his blog that he altered the current one to fit widescreen monitors, did you read his response? I don't have a widescreen just 2x 19" Square LCD, I like square Lcd's over widescreens so its perfect for my desktops but here's the thread where he started changes for widescreen. http://www.puppylinux.com/blog/?viewDetailed=00864
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Gposil,
4 points if I may:
1. /usr/local/apps/Walpaper/set_bg :
from
to this:
to be compatible with 430
Edit: aah, yours doesn't have the strech option, so the tweak may no be necessary
2. Not to list all the ORIGINAL-xxx.jpg produced by background_reshape
3. can you list the images not with full path?
4. Current wallpaper text
Thanks
4 points if I may:
1. /usr/local/apps/Walpaper/set_bg :
from
Code: Select all
if [ "$1" = "-clear" ];then
IMAGE=""
fi
MODE="`cat $HOME/.config/wallpaper/backgroundmode`"
[ "$MODE" = "" ] && MODE="Stretch"
[ "$MODE" = "Centred" ] && MODE="Centre"
[ "$MODE" = "Scaled" ] && MODE="Scale"
Code: Select all
if [ "$1" = "-clear" ];then
IMAGE=""
fi
MODE="`cat $HOME/.config/wallpaper/backgroundmode`"
[ "$MODE" = "" ] && MODE="Scale"
[ "$MODE" = "Centred" ] && MODE="Centre"
[ "$MODE" = "Scaled" ] && MODE="Scale"
#w482 BK now have script that truncates an image vertically so that it has the right dimensions
#for a widescreen...
if [ "$MODE" = "Stretch" ];then
/usr/sbin/background_reshape ${1}
fi
Edit: aah, yours doesn't have the strech option, so the tweak may no be necessary
2. Not to list all the ORIGINAL-xxx.jpg produced by background_reshape
3. can you list the images not with full path?
4. Current wallpaper text
Thanks
- gposil
- Posts: 1300
- Joined: Mon 06 Apr 2009, 10:00
- Location: Stanthorpe (The Granite Belt), QLD, Australia
- Contact:
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.
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.
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
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
ttuuxxx
"Apply" "Open Folder" "Cancel".
Its just an idea, makes add/delete wallpapers easier
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
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
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
- gposil
- Posts: 1300
- Joined: Mon 06 Apr 2009, 10:00
- Location: Stanthorpe (The Granite Belt), QLD, Australia
- Contact:
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/ ... kages/src/
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/ ... kages/src/
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]
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 )
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 )
- Attachments
-
- pwallset.jpg
- (23.67 KiB) Downloaded 1008 times
-
- pwallpaper-1.1.tar.gz
- (7.57 KiB) Downloaded 542 times
well, I recreated it. here it is. works in 430 or 421
- Attachments
-
- pwallpaper-1.1-source.tar.gz
- (3.85 KiB) Downloaded 589 times
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
- Attachments
-
- pwallpaper-1.1-421-pwidgets.tar.gz
- (7.54 KiB) Downloaded 554 times
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
also don't forget to include the 2&3 series extra files trio left them out, his version open fine just couldn't do anything with it on 2.14Xgposil wrote:thanks trio,
I'll post 1.2 when i've got the additions ttuuxxx wanted, including the upup/dpup change
Cheers
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
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)
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)
- Attachments
-
- pwallpaper-1.1-source-430pwidgets.tar.gz
- (10.82 KiB) Downloaded 552 times
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Sounds good Gposil looking forward to it
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
I found this little home network chat client, I was thinking it would be really great if someone could convert it to a regular irc freenode chat client. The reason why is that its only 100kb in size, if freenode could be added boy that would make a great thin chat client with a gtk gui.
below is a screenshot and a pet I compiled
any takers?
ttuuxxx
homepage
http://vqcc-gtk.sourceforge.net/index.php?l=about
source
http://sourceforge.net/projects/vqcc-gt ... z/download
below is a screenshot and a pet I compiled
any takers?
ttuuxxx
homepage
http://vqcc-gtk.sourceforge.net/index.php?l=about
source
http://sourceforge.net/projects/vqcc-gt ... z/download
- Attachments
-
- vqcc-gtk-0.5-i386.pet
- (102.23 KiB) Downloaded 443 times
-
- chat.jpg
- (31.24 KiB) Downloaded 982 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)