Puppy 4.2 Deep Thought Development
Back to the thread for me. What is the favoured programming language for puppy 4.2?
Since TCL/TK, Gnocl, etc. were removed before are we just left with bash and gtkdialog? It feels like stone and chisel.
Since TCL/TK, Gnocl, etc. were removed before are we just left with bash and gtkdialog? It feels like stone and chisel.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
basically we are left with xdialog and bash.rarsa wrote:Back to the thread for me. What is the favoured programming language for puppy 4.2?
Since TCL/TK, Gnocl, etc. were removed before are we just left with bash and gtkdialog? It feels like stone and chisel.
But Lassie/Remnant is keeping Gnocl, as that's partially because that's what i'm planing to learn. And it would be good to have a puppy with gnocl on it for people who use gnocl.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
if you could get one around 500kb or less we could maybe see WhoDo preinstall it. SDl, maybe fox tools, I did like foxtools because how small and visually nice looking the programs were like goggles. rarsa is you workout a package and submit it on here I think that would be great, worst case it could just be part of the repo. But to have a new language and have some users bringing new applications built with it to the mix is always useful.
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 :)
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
As well as the mentioned languagesWhat is the favoured programming language for puppy 4.2?
C and C++
XUL, javascript and Actionscript (Flash)
are also available
For example here is some unfinished XUL code
Put it in a file called test.xul
and drag it into the seamonkey icon (or open it from Seamonkey)
Code: Select all
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<window
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<vbox flex="1" style="overflow: auto">
<hbox>
<button flex="1" type="menu" label="CLICK HERE for Tmxxine Services">
<menupopup>
<menuitem label="Time Travel News" oncommand="setText('menu-text','Option 1');" />
<action>
<label href="http://www.google.com" class="text-link" value="click"/>
</action>
<menuitem label="Upgrades" oncommand="setText('menu-text','Option 2');" />
<menuitem label="Resources" oncommand="setText('menu-text','Option 3');" />
<menuitem label="Option 4" oncommand="setText('menu-text','Option 4');" />
<menuitem label="Option 5" oncommand="setText('menu-text','Option 1');" />
<menuitem label="Option 6" oncommand="setText('menu-text','Option 2');" />
<menuitem label="Option 7" oncommand="setText('menu-text','Option 3');" />
<menuitem label="Option 8" oncommand="setText('menu-text','Option 4');" />
</menupopup>
</button>
</hbox>
<groupbox>
<tabbox flex="1">
<tabpanels flex="1" style="border-bottom: 0px solid" >
<hbox>
<vbox align="center">
<image src="lit.jpg" />
<label value="Puppy Toolbar f saf asf fsa f sa fs af sa f sa fs af ssa f sa f saf sa f sa f sa" />
<tooltip id="moretip" orient="vertical" style="background-color: #FFFFFF;">
<description value="Click here to see more information"/>
<description value="Really!" style="color: red;"/>
</tooltip>
</vbox>
</hbox>
<label value="Tuseful info" tooltip="moretip" />
<textbox multiline="true" value="
y
u
i
"/>
<hbox>
<vbox align="center">
<image src="p4.jpg" />
<label value="Ay Chiwawa" />
</vbox>
</hbox>
<label value="Facilities" />
<textbox multiline="true" value="
Created for Tmxxine and Puppy
By Lobster
November 2008
"/>
<hbox>
<vbox align="center">
<image src="p4.jpg" />
<label value="Ay Chiwawa"/>
</vbox>
</hbox>
<label value="Tips"/>
<label value="Facilities"/>
<label value="Tips"/>
<label value="credits info here . . . Created In XUL by Lobster"/>
</tabpanels>
<tabs flex="1" class="tabs-bottom">
<tab label="Welcome" class="tab-bottom" />
<tab label="Facilities" class="tab-bottom" />
<tab label="Tips" class="tab-bottom" />
<tab label="Welcome2" class="tab-bottom" />
<tab label="Facilities2" class="tab-bottom" />
<tab label="Credits" class="tab-bottom" />
</tabs>
</tabbox>
</groupbox>
</vbox>
</window>
Puppy 4.2alpha proposed changes from bug fix thread...
I'm handling most of these myself, because I'm doing the building and that's where they should be handled, but if anyone particularly wants to tackle something from the list then please, PLEAASSEEE let me know!
Update 23 Jan 2009: List reduced from 32 to 15 outstanding items. The rest have been completed and merged into the Unleashed build tree for Puppy 4.2a2 (scheduled for release 26 January 2009 - Australia Day )
Cheers
- Add gfxboot Grub bootsplash manager
- Autostart Xpad
- Find out why a theme switch blanks the JWM tray
- Add weather fonts for Pwidget
- Swap web desktop for current startup page
- Add wbar for launcher in both wm's (maybe - any objections?)
- Add gnocl run time
- Check differences with current remaster and Dougal's remaster
- Check Ctrl+Alt+Delete options in JWM - these work in Icewm
- Change rxvt console to white on black
- Add smb symlink for CUPS (if someone can get CUPS working first - sheesh!)
- Investigate problem with PUI and Grub not installing properly
- Missing pup_save.2fs file error dialog - what to do next
- Investigate boot script problems caused by pressing <space> during boot
- Investigate and/or update "underdog" functionality for Puppy 4.xx series
- Increase number of "default loops" for additional sfs files to be added with bootmanager (I'll need help to include this feature - I'm not sure what needs to be done here)
Update 23 Jan 2009: List reduced from 32 to 15 outstanding items. The rest have been completed and merged into the Unleashed build tree for Puppy 4.2a2 (scheduled for release 26 January 2009 - Australia Day )
Cheers
Last edited by WhoDo on Fri 23 Jan 2009, 20:46, edited 4 times in total.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Here's Xchat, Plus this one I made default Chat Client on the desktop.
I'll do if you want
6. Update to most recent Icewm-1.2.36-mini version
7. Add 24x24 icons for menus <-- I had these from before, all tango,or open source GPL
8. Swap Parcellite for Glipper (unless there are objections) ( I can make it autostart in Icewm)
9. Autostart Xpad( I can make start in icewm)
You'll have to do the xdg menu because you keep chopping or adding programs
Other
12. Look at Startx icewm vs icewm-session for timing issues (need icewm-seesion or no blinky, free memory applet)
19. Add wbar for launcher in both wm's (maybe - any objections?) <-- extra weight, I really don't like wbar, Happy with desktop icons.
ttuuxxx
I'll do if you want
6. Update to most recent Icewm-1.2.36-mini version
7. Add 24x24 icons for menus <-- I had these from before, all tango,or open source GPL
8. Swap Parcellite for Glipper (unless there are objections) ( I can make it autostart in Icewm)
9. Autostart Xpad( I can make start in icewm)
You'll have to do the xdg menu because you keep chopping or adding programs
Other
12. Look at Startx icewm vs icewm-session for timing issues (need icewm-seesion or no blinky, free memory applet)
19. Add wbar for launcher in both wm's (maybe - any objections?) <-- extra weight, I really don't like wbar, Happy with desktop icons.
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 :)
... and I'm onto the weather icons and other Pwidgets stuff
Puppy Linux Blog - contact me for access
number 13 lost jwm-tray
fix the code at the end of /usr/local/jwmconf2/theme_switcherIf John's original sed failed then nothing would be output into jwmrc-tray. The removal of xload from the original tray definition caused $lineNumber2 to equal 0 this in turn made sed fail. My fix checks for zeros and also operates interactively directly on jwmrc-tray so if sed fails the tray is left untouched.
fix the code at the end of /usr/local/jwmconf2/theme_switcher
Code: Select all
#fixed by hairywill 20-01-09 handle case where linenumber/2 is zero
[ ! "$lineNumber" = 0 ] && sed -ie "$lineNumber"d $TrayFile && sed -ie "$lineNumber"i"$blinkyline" $TrayFile
[ ! "$lineNumber2" = 0 ] && sed -ie "$lineNumber2"d $TrayFile && sed -ie "$lineNumber2"i"$xloadline" $TrayFile
#sed -e "$lineNumber"i"$blinkyline" -e "$lineNumber"d -e "$lineNumber2"i"$xloadline" -e "$lineNumber2"d $TrayFileBak > $TrayFile
#end John Doe's code.
18 and 23
the following key binding in jwm can be used to launch an action on CTRL-ALT-DELbut we need a sensible action to bind it to. This action should probably be the same as that launched by the top-tray exit which currently causes a shutdown with no option to cancel. I'm sure that numerous puplets out there have little shutdown dialogs, ttuuxxx, ecomoney?
@whodo
for 18 the updated tray definition do you want me to patch zigberts tray pet and update the version or do you just want the file jwmrc-tray-top
the following key binding in jwm can be used to launch an action on CTRL-ALT-DEL
Code: Select all
<Key mask="CA" key="Delete">exec:rox</Key>
@whodo
for 18 the updated tray definition do you want me to patch zigberts tray pet and update the version or do you just want the file jwmrc-tray-top
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
I still have my shutdown script I made for 3.02, The only button that didn't work was restart Icewm But Now I know how to do it, should be simple, Basically you pressed the power button on the taskbar and this menu popup happened.HairyWill wrote:18 and 23
the following key binding in jwm can be used to launch an action on CTRL-ALT-DELbut we need a sensible action to bind it to. This action should probably be the same as that launched by the top-tray exit which currently causes a shutdown with no option to cancel. I'm sure that numerous puplets out there have little shutdown dialogs, ttuuxxx,?Code: Select all
<Key mask="CA" key="Delete">exec:rox</Key>
image below.
If you wanted it, I could adapt it for icewm and probably JWM also. and change the icons&Banner of course , I quickly made those icons.
ttuuxxx
- Attachments
-
- 302.jpg
- (34.71 KiB) Downloaded 1005 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 :)
Re: Puppy 4.2alpha proposed changes from bug fix thread...
Does this mean that tcl/tk - Gnocl will be back to the main Puppy trunk?WhoDo wrote: [*]Add tcl/tk libraries
[*]Add gnocl run time
That's good news.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to
Re: Puppy 4.2alpha proposed changes from bug fix thread...
Yes it does, rarsa. I hope that makes things easier for you to contribute. I understand what Barry was hoping to achieve by leaving these out, but at the moment we lose too much flexibility. We will have runtime versions only, however. 8.5.a4 or later for tcl/tk.rarsa wrote:Does this mean that tcl/tk - Gnocl will be back to the main Puppy trunk?WhoDo wrote: [*]Add tcl/tk libraries
[*]Add gnocl run time
That's good news.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Nice functionality ... I like it, so please adapt! What Will and I were also talking about was binding this to a key definition for Ctrl+Alt+Del which is the standard "Help, get me outa here" combination for refugees in trouble with their mouse or a rabid program. We need both ... in both wm's ... IMHO. If this will provide both, we're on a winner!ttuuxxx wrote:If you wanted it, I could adapt it for icewm and probably JWM also. and change the icons&Banner of course , I quickly made those icons.
Last edited by WhoDo on Tue 20 Jan 2009, 19:56, edited 1 time in total.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Just the file will do, Will. Patch the pet if you think it will be useful to others.HairyWill wrote:...for 18 the updated tray definition do you want me to patch zigberts tray pet and update the version or do you just want the file jwmrc-tray-top
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
@ttuuxxx in your shutdown dialog - maybe add pprocess to handle shutting down runaway programs/processes for redmond's refugees
Also I have been dilligently working on a bash script derived from the remaster script that will make an sfs addon puplet its less than 2k and its here:
http://www.murga-linux.com/puppy/viewtopic.php?t=37856
It could save ~100MB bandwidth per puplet download
Any testers are welcome to bash my bash capabilities (or lack thereof) and clean up the code.
Also I have been dilligently working on a bash script derived from the remaster script that will make an sfs addon puplet its less than 2k and its here:
http://www.murga-linux.com/puppy/viewtopic.php?t=37856
It could save ~100MB bandwidth per puplet download
Any testers are welcome to bash my bash capabilities (or lack thereof) and clean up the code.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- TheBlackSheep
- Posts: 20
- Joined: Sun 23 Nov 2008, 09:24
- Location: Lancashire, UK
Downloaded 4.2 Alpha and really liked the first impressions, congrats to all involved so far.
I remember some discussions several weeks back about what the default desktop image should be although at that time the images being suggested were of an Australian origin/flavour (not that that is an issue of course). In the end I guess it was never agreed upon and the current desktop appears to be a blended grey/orange one - looks ok but not really what I wanted to see.
I was hoping for something more inline with the HHGTTG theme (this release is called "Deep Thought" for a reason) being an avid fan for what must be 30 years (I actually met the author at one point!). I decided to look for an image that relayed something more in keeping with this and thought that an obvious choice would be a Norwegian Fjord (albeit this part of the story relates to the computer that is yet to come!) and came across this image on Flickr
http://www.flickr.com/photos/kiim/114070564/
Take a look, it looks really good with the Orange icon theme.
If the default desktop position is still open then I think this image could be used - I believe it's under a Creative Commons licence on this so as long as the originator (a hoopy frood called Kim Erlandsen) gets the credit for it then it should be fine to be used. If not, it's definitely ok for personal use.
Enjoy!
Chris
I remember some discussions several weeks back about what the default desktop image should be although at that time the images being suggested were of an Australian origin/flavour (not that that is an issue of course). In the end I guess it was never agreed upon and the current desktop appears to be a blended grey/orange one - looks ok but not really what I wanted to see.
I was hoping for something more inline with the HHGTTG theme (this release is called "Deep Thought" for a reason) being an avid fan for what must be 30 years (I actually met the author at one point!). I decided to look for an image that relayed something more in keeping with this and thought that an obvious choice would be a Norwegian Fjord (albeit this part of the story relates to the computer that is yet to come!) and came across this image on Flickr
http://www.flickr.com/photos/kiim/114070564/
Take a look, it looks really good with the Orange icon theme.
If the default desktop position is still open then I think this image could be used - I believe it's under a Creative Commons licence on this so as long as the originator (a hoopy frood called Kim Erlandsen) gets the credit for it then it should be fine to be used. If not, it's definitely ok for personal use.
Enjoy!
Chris
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Bit tired tonight hard a 12hr workday, but I don't think it would be too hard to do, I'll look into it tomorrow after workWhoDo wrote:Nice functionality ... I like it, so please adapt! What Will and I were also talking about was binding this to a key definition for Ctrl+Alt+Del which is the standard "Help, get me outa here" combination for refugees in trouble with their mouse or a rabid program. We need both ... in both wm's ... IMHO. If this will provide both, we're on a winner!ttuuxxx wrote:If you wanted it, I could adapt it for icewm and probably JWM also. and change the icons&Banner of course , I quickly made those icons.
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 :)
whodo here is my .jwmrc-tray-topIts not actually very different. I have assumed that there is a shutdown dialog called shutdown-dialog.
ttuuxxx
excellent, I think that it would look better if the cancel button was the same style as the others and you might consider including a button "task manager" which launches pprocess. This would be especially useful for icewm as I don't think kill is one of the options you get when you right click on a window.
I'm not sure what you intend for the restart window manager button, but it should be possible to look in /etc/windowmanager to decide which window manager is currently running. I suggest you code this so that it only appears if the window manager is icewm or jwm, unless of course you know how to restart some other common window managers.
I wonder if the jwm menu Shutdown should be converted to launch shutdown-dialog rather than opening a submenu.
edit: fixed the calculator button in the tray def
Code: Select all
<JWM>
<Tray autohide="true" insert="right" valign="top" halign="center" height="36" >
<TrayButton popup="Edit tray" icon="star48.png">exec:ptray</TrayButton>
<TrayButton popup="" icon="nothing.png">exec:</TrayButton>
<TrayButton popup="" icon="nothing.png">exec:</TrayButton>
<TrayButton popup="" icon="nothing.png">exec:</TrayButton>
<TrayButton popup="Home" icon="/usr/local/lib/X11/pixmaps/home48.png">exec:rox</TrayButton>
<TrayButton popup="Seamonkey - web browser" icon="/usr/local/lib/X11/pixmaps/www48.png">exec:defaultbrowser</TrayButton>
<TrayButton popup="Rxvt - terminal emulator" icon="/usr/local/lib/X11/pixmaps/console48.png">exec:rxvt</TrayButton>
<TrayButton popup="Leafpad - text editor" icon="/usr/local/lib/X11/pixmaps/leafpad48.png">exec:leafpad</TrayButton>
<TrayButton popup="Pfind - file finder" icon="/usr/local/lib/X11/pixmaps/search48.png">exec:pfind</TrayButton>
<TrayButton popup="Pprocess - process manager" icon="/usr/local/lib/X11/pixmaps/process48.png">exec:pprocess</TrayButton>
<TrayButton popup="Pwireless - wireless scanner" icon="/usr/local/lib/X11/pixmaps/wifi48.png">exec:Pwireless</TrayButton>
<TrayButton popup="Galculator - scientific calculator" icon="/usr/local/lib/X11/pixmaps/calc48.png">exec:galculator</TrayButton>
<TrayButton popup="" icon="nothing.png">exec:</TrayButton>
<TrayButton popup="" icon="nothing.png">exec:</TrayButton>
<TrayButton popup="" icon="nothing.png">exec:</TrayButton>
<TrayButton popup="Show desktop" icon="show-desktop24.png">showdesktop</TrayButton>
<TrayButton popup="Power OFF computer" icon="exit24.png">exec:shutdown-dialog</TrayButton>
</Tray>
</JWM>
ttuuxxx
excellent, I think that it would look better if the cancel button was the same style as the others and you might consider including a button "task manager" which launches pprocess. This would be especially useful for icewm as I don't think kill is one of the options you get when you right click on a window.
I'm not sure what you intend for the restart window manager button, but it should be possible to look in /etc/windowmanager to decide which window manager is currently running. I suggest you code this so that it only appears if the window manager is icewm or jwm, unless of course you know how to restart some other common window managers.
I wonder if the jwm menu Shutdown should be converted to launch shutdown-dialog rather than opening a submenu.
edit: fixed the calculator button in the tray def
Last edited by HairyWill on Wed 21 Jan 2009, 12:17, edited 1 time in total.