Puppy Stardust 004

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#31 Post by zigbert »

trio
This is how the shutdown patch looks in the stardust generator script

Code: Select all

sed -ie 's%#!/bin/sh%#!/bin/sh\n/usr/local/pshutdownsound/sound #Stardust%' $MOUNT_PATH/usr/bin/wmpoweroff
sed -ie 's%#!/bin/sh%#!/bin/sh\n/usr/local/pshutdownsound/sound #Stardust%' $MOUNT_PATH/usr/bin/wmreboot

Thank you
Sigmund

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#32 Post by 01micko »

That's nice Sigmund.

Simple replace shebang with new shebang, new line, call to trio's prog.

Guess there's more things going on in your generator script... better take a peek... :D
Puppy Linux Blog - contact me for access

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#33 Post by zigbert »

prehistoric wrote:While installing packages, after initial setup, I again noticed strange behavior when I installed pets by clicking on them. The first time I do this the message about the category is often wrong. I don't think I've seen exactly this misbehavior on stock 4.3.1. I've spent too much time with different 431 puplets recently to keep everything straight in my head. Has this kind of bug been reported on other puppies?

Once again, I added gimp 2.4.6, this time without problems. I suspect the bug I'm seeing is only for the first pet installed by clicking on it. There might be some data carried over from your development environment.
I don't think data is carried over from my development environment. - just because I don't use my personal environment as base for Stardust. - The base is plain Puppy 4.3.1. - But it could be that I have removed something..... I checked the stardust generator script, and the only call for petget is to move it from 'System' menu (gone in Stardust) to 'Desktop' menu. Hmmmmmm.......please keep this in mind next time use Puppy 4.3.1. It would be good to confirm that this differs from Puppy 4.3.1 or not.
prehistoric wrote:I tried your GUI for changing settings for trays, so I could make galculator the default calculator. Here it looks like I reached the leading edge of development. I could remove calcoo through the GUI, but not edit the program name, or add a new icon.
If you have installed Galculator it is available already as a tray-button. After added to menu(list), you can drag item to give it right position.

Image

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#34 Post by zigbert »

Mick
Here's the script.

Code: Select all

#!/bin/sh


mkdir /mnt/iso
mkdir /mnt/sda6/tmp/iso
rm -r /mnt/sda6/tmp/rootfs-complete/*
rm -r /mnt/sda6/tmp/iso/*
mount -o loop /mnt/sda6/puppy/pup-431.iso /mnt/iso
mount -o loop /mnt/iso/pup-431.sfs /mnt/data
cp -a /mnt/iso/* /mnt/sda6/tmp/iso/
cp -a /mnt/data/* /mnt/sda6/tmp/rootfs-complete/ 
umount /mnt/data
umount /mnt/iso



STARDUST_PATH=/mnt/sda6/puppy/Puppy_Stardust
MOUNT_PATH=/mnt/sda6/tmp/rootfs-complete #where I have copied mounted sfs-file





###### Remove  #######

#### Programs ###
#misc
rm $MOUNT_PATH/usr/sbin/ptooltips #tool to show tooltips in gtkdialog - not longer in use
rm $MOUNT_PATH/sbin/gtklogfileviewer #Does any script use anymore ???


#burniso2cd
rm $MOUNT_PATH/usr/sbin/burniso2cd
rm $MOUNT_PATH/usr/sbin/burniso2cdTEST
rm $MOUNT_PATH/usr/share/applications/Burniso2cd-burn-iso-file-to-CD-DVD.desktop
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/burniso2cd.xpm
#calcoo - remove calcoo if galculator is added 
#rm $MOUNT_PATH/usr/bin/calcoo
#rm $MOUNT_PATH/usr/share/applications/calcoo-calculator.desktop
#rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/calcoo.xpm
#cdp
rm $MOUNT_PATH/usr/bin/cdp
rm $MOUNT_PATH/usr/bin/cdplay
rm $MOUNT_PATH/usr/share/doc/cdp.htm
#cgtkcalc
rm $MOUNT_PATH/usr/bin/cgtkcalc
rm $MOUNT_PATH/usr/share/applications/Cgtkcalc-complex-numbers.desktop
rm -r $MOUNT_PATH/usr/share/cgtkcalc
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/cgtkcalc.xpm
#didiwiki
rm $MOUNT_PATH/usr/bin/didiwiki
rm $MOUNT_PATH/usr/sbin/didiwiki-gui
rm $MOUNT_PATH/usr/share/doc/didiwiki.htm
rm $MOUNT_PATH/usr/share/applications/DidiWiki-personal-wiki.desktop
#e3
rm $MOUNT_PATH/usr/sbin/floppy-format.sh
rm $MOUNT_PATH/usr/share/applications/Format-floppy-disk.desktop
#floppyformat
rm $MOUNT_PATH/bin/e3*
rm $MOUNT_PATH/usr/share/applications/e3-console-editor.desktop
#gcolor2 (color chooser)
rm $MOUNT_PATH/usr/bin/gcolor2
rm $MOUNT_PATH/usr/share/applications/gcolor2.desktop
rm -r $MOUNT_PATH/usr/share/pixmaps/gcolor2
rm $MOUNT_PATH/usr/share/pixmaps/gcolor2.png
#gdmap
rm $MOUNT_PATH/usr/bin/gdmap
rm $MOUNT_PATH/usr/share/applications/Gdmap-graphical-disk-usage.desktop
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/gdmap.xpm
rm -r $MOUNT_PATH/usr/share/gdmap
#geany - use ttuuxx package which saves 100kb
#rm -r $MOUNT_PATH/root/.config/geany
#rm $MOUNT_PATH/usr/bin/geany
#rm -r $MOUNT_PATH/usr/lib/geany
#rm $MOUNT_PATH/usr/share/applications/Geany-text-editor.desktop
#rm -r $MOUNT_PATH/usr/share/doc/geany
#rm -r $MOUNT_PATH/usr/share/geany
#rm $MOUNT_PATH/usr/share/icons/hicolor/16x16/apps/classviewer-class.png
#rm $MOUNT_PATH/usr/share/icons/hicolor/16x16/apps/classviewer-macro.png
#rm $MOUNT_PATH/usr/share/icons/hicolor/16x16/apps/classviewer-member.png
#rm $MOUNT_PATH/usr/share/icons/hicolor/16x16/apps/classviewer-method.png
#rm $MOUNT_PATH/usr/share/icons/hicolor/16x16/apps/classviewer-namespace.png
#rm $MOUNT_PATH/usr/share/icons/hicolor/16x16/apps/classviewer-other.png
#rm $MOUNT_PATH/usr/share/icons/hicolor/16x16/apps/classviewer-struct.png
#rm $MOUNT_PATH/usr/share/icons/hicolor/16x16/apps/classviewer-var.png
#rm $MOUNT_PATH/usr/share/icons/hicolor/48x48/apps/geany.png
#rm $MOUNT_PATH/usr/share/pixmaps/geany.png
#rm $MOUNT_PATH$HOME/.config/rox.sourceforge.net/OpenWith/geany
#gexec
rm $MOUNT_PATH/usr/bin/gexec
rm $MOUNT_PATH/usr/share/applications/gexec.desktop
#gfnrename - maybe better than PRename, but PRename is bash and easy updated.
rm $MOUNT_PATH/usr/bin/gfnrename
rm $MOUNT_PATH/usr/share/applications/gFnRename.desktop
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/gfnrename.png
#glightoff
rm $MOUNT_PATH/usr/bin/glightoff
rm $MOUNT_PATH/usr/share/applications/glightoff.desktop
rm -r $MOUNT_PATH/usr/share/pixmaps/glightoff
#gtkdialog markup editor - devx ???
rm $MOUNT_PATH/usr/sbin/markup
rm $MOUNT_PATH/usr/share/applications/picpuz.desktop
rm $MOUNT_PATH/usr/share/pixmaps/picpuz.png
#Isomaster - developer app, and Pburn does the basics
#rm $MOUNT_PATH/usr/bin/isomaster
#rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/isomaster.xpm
#rm $MOUNT_PATH/usr/share/applications/ISOMaster-iso-file-editor.desktop
#rm -r $MOUNT_PATH/usr/share/isomaster
#libgtksourceview
rm $MOUNT_PATH/usr/lib/libgtksourceview*
rm -r $MOUNT_PATH/usr/share/gtksourceview*
  #PuppyBrowser
  rm -r $MOUNT_PATH/root/.PuppyBrowser
  rm $MOUNT_PATH/usr/local/bin/bareview
  rm $MOUNT_PATH/usr/local/bin/bareviewshell
  rm $MOUNT_PATH/usr/local/bin/cupsview
  rm $MOUNT_PATH/usr/local/bin/gtkmoz
  rm $MOUNT_PATH/usr/local/bin/gtkmozshell
  rm $MOUNT_PATH/usr/local/bin/PuppyBrowser
  rm -r $MOUNT_PATH/usr/local/PuppyBrowser
  rm $MOUNT_PATH/usr/share/applications/puppy-browser.desktop
  rm $MOUNT_PATH/usr/share/pixmaps/gtkmoz.png
  rm $MOUNT_PATH/usr/share/pixmaps/PuppyBrowser.png
  #NicoEdit
  rm $MOUNT_PATH/root/.NicoEdit.rc
  rm $MOUNT_PATH/usr/bin/nicoedit
  rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/nicoedit.png
  rm $MOUNT_PATH/usr/share/applications/nicoedit-text-editor.desktop
  rm -r $MOUNT_PATH/usr/share/pixmaps/NicoEdit
  #notecase in Puppy 4.3.1 also needs gtksourceview, but will be overwritten by ttuuxxx pack (libgio)
#libmad
rm $MOUNT_PATH/usr/lib/libmad*
  #madplay
  rm $MOUNT_PATH/usr/bin/madplay
  rm $MOUNT_PATH/usr/bin/abxtest
  #aqualung
  rm -r $MOUNT_PATH/root/.aqualung
  rm $MOUNT_PATH/usr/bin/aqualung
  rm $MOUNT_PATH/usr/share/applications/aqualung-audio-player.desktop
  rm -r $MOUNT_PATH/usr/share/aqualung
  rm $MOUNT_PATH/usr/share/pixmaps/aqualung.png
#Net-setup (old version)
rm -r $MOUNT_PATH/usr/local/net_setup
rm $MOUNT_PATH/usr/share/applications/Network-Wizard-retro.desktop
#pcdripper
rm $MOUNT_PATH/usr/sbin/pcdripper
rm $MOUNT_PATH/usr/share/applications/pcdripper.desktop
rm $MOUNT_PATH/usr/share/doc/pcdripper.htm
#Pdisk - could maybe be in use by some wizard
rm $MOUNT_PATH/usr/sbin/Pdisk
rm $MOUNT_PATH/usr/share/applications/Pdisk-partition-manager.desktop
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/Pdisk.xpm
#picpuz
rm $MOUNT_PATH/usr/local/bin/picpuz
rm -r $MOUNT_PATH/usr/local/picpuz
rm $MOUNT_PATH/usr/share/applications/gtkdialog-markup.desktop
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/gtkdialog2.xpm
#pictureviewer
rm $MOUNT_PATH/usr/local/bin/Pictureviewer
rm -r $MOUNT_PATH/usr/local/Pictureviewer
rm $MOUNT_PATH/usr/share/applications/Pictureviewer.desktop
rm $MOUNT_PATH/usr/share/pixmaps/Pictureviewer.png
#pmirror/mirdir
rm $MOUNT_PATH/usr/local/bin/pmirror
rm -r $MOUNT_PATH/usr/local/pmirror
rm $MOUNT_PATH/usr/share/applications/pmirror.desktop
rm $MOUNT_PATH/usr/bin/mirdir
#pmwget (PMirrorget) - replaced by getez
rm $MOUNT_PATH/usr/bin/pmwget
rm $MOUNT_PATH/usr/share/applications/pmwget.desktop
#pnetnood
rm $MOUNT_PATH/usr/sbin/pnethood
#rm $MOUNT_PATH/usr/sbin/nbtscan # ----> needed by lameSMBexplorer
rm -r $MOUNT_PATH/usr/local/apps/pnethood
rm $MOUNT_PATH/usr/share/applications/pnethood.desktop
rm $MOUNT_PATH/usr/share/doc/pnethood.html
#pwsget - getez doesn't allow password
#rm $MOUNT_PATH/usr/sbin/pwsget
#rm $MOUNT_PATH/usr/share/applications/pmwget.desktop
#pplog
rm $MOUNT_PATH/usr/sbin/pplog_gui
rm $MOUNT_PATH/usr/share/applications/pplog-blog.desktop
#pstreamvid
rm -r $MOUNT_PATH/usr/local/pstreamvid
rm $MOUNT_PATH/usr/share/applications/pstreamvid.desktop
#PuppyPdf - Abiword does exactly the same
rm $MOUNT_PATH/usr/sbin/puppypdf
rm $MOUNT_PATH/usr/share/applications/puppyPDF-convert-file-to-PDF.desktop
#quisp
rm $MOUNT_PATH/etc/profile.d/quisp
rm -r $MOUNT_PATH/root/Web-Server/cgi-bin
rm -r $MOUNT_PATH/root/Web-Server/Quisp
rm $MOUNT_PATH/usr/bin/buildix
rm $MOUNT_PATH/usr/bin/catofs
rm $MOUNT_PATH/usr/bin/dataedit
rm $MOUNT_PATH/usr/bin/dbcat
rm $MOUNT_PATH/usr/bin/newproject.sh
rm $MOUNT_PATH/usr/bin/quisputil
rm $MOUNT_PATH/usr/bin/shsql
rm $MOUNT_PATH/usr/bin/shsql_alter
rm $MOUNT_PATH/usr/bin/shsql_create
rm $MOUNT_PATH/usr/bin/shsql_fldsel
rm $MOUNT_PATH/usr/bin/shsql_join
rm $MOUNT_PATH/usr/bin/tabdef
rm $MOUNT_PATH/usr/bin/tabmaint
rm $MOUNT_PATH/usr/bin/tabo
rm $MOUNT_PATH/usr/lib/libshsql.so
rm $MOUNT_PATH/usr/sbin/quisp_shell
rm -r $MOUNT_PATH/usr/share/doc/quisp
rm $MOUNT_PATH/usr/share/applications/Quisp-network-SQL-database.desktop
#rsync / gadmin-rsync - crashes on first run
rm $MOUNT_PATH/usr/bin/rsync
rm $MOUNT_PATH/usr/sbin/gadmin-rsync
rm $MOUNT_PATH/usr/share/applications/gadmin-rsync.desktop
rm $MOUNT_PATH/usr/share/pixmaps/gadmin-rsync/gadmin-rsync.png
rm $MOUNT_PATH/usr/share/pixmaps/gadmin-rsync.png
#Secure ssh telnet
rm $MOUNT_PATH/usr/sbin/securetelnetshell
rm $MOUNT_PATH/usr/share/applications/Secure-ssh-telnet.desktop
#tile
rm $MOUNT_PATH/usr/local/bin/tile
rm $MOUNT_PATH/usr/share/applications/tile-game.desktop
#waveplay - In use by modem-wizard, video-wizard
rm $MOUNT_PATH/usr/local/bin/wavplay
rm $MOUNT_PATH/usr/local/bin/wavrec
rm $MOUNT_PATH/usr/share/doc/wavplay.htm
ln -s /usr/bin/aplay $MOUNT_PATH/usr/local/bin/wavplay #make a link to aplay
#xAutoconnect - Pwireless2 should do the job
rm $MOUNT_PATH/usr/local/autoconnect/run-ac.sh
rm $MOUNT_PATH/usr/share/applications/autoconnect.desktop
#xcalc
rm $MOUNT_PATH/usr/bin/xcalc
rm $MOUNT_PATH/usr/share/applications/Xcalc-scientific-calculator.desktop
#xclipboard
rm $MOUNT_PATH/usr/bin/xclipboard
rm $MOUNT_PATH/usr/share/applications/Xclipboard.desktop
#Xconsole
rm $MOUNT_PATH/usr/bin/xconsole
rm $MOUNT_PATH/usr/share/applications/xconsole.desktop
#xfontsel
rm $MOUNT_PATH/usr/bin/xfontsel
rm $MOUNT_PATH/usr/share/applications/Xfontsel-font-viewer.desktop
#ycalc
rm $MOUNT_PATH/usr/local/bin/ycalc
rm $MOUNT_PATH/usr/share/applications/Ycalc-TI-59-scientific-calculator.desktop
rm $MOUNT_PATH/usr/share/doc/ycalc.txt
#zfind
rm $MOUNT_PATH/usr/bin/zfind
rm $MOUNT_PATH/usr/share/applications/zfind.desktop

### Trimming ###

#cdrkit (trimming) - Pburn has very few dependencies
rm $MOUNT_PATH/usr/bin/cdda2mp3
rm $MOUNT_PATH/usr/bin/cdda2ogg
rm $MOUNT_PATH/usr/bin/dirsplit
rm $MOUNT_PATH/usr/bin/pitchplay
rm $MOUNT_PATH/usr/bin/readcd
rm $MOUNT_PATH/usr/bin/readmult
rm $MOUNT_PATH/usr/bin/readom
#cups
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/images/cups-large.gif
ln -s $MOUNT_PATH/usr/share/doc/cups-1.1.23/images/cups-small.gif $MOUNT_PATH/usr/share/doc/cups-1.1.23/images/cups-large.gif
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/images/cups-medium.gif
ln -s $MOUNT_PATH/usr/share/doc/cups-1.1.23/images/cups-small.gif $MOUNT_PATH/usr/share/doc/cups-1.1.23/images/cups-medium.gif
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/images/cups-block-diagram.gif
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/cmp.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/documentation.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/idd.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/ipp.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/overview.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/sam.html #administartors manual should maybe stay (61kb compressed)
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/sdd.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/spm.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/sps.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/ssr.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/stp.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/svd.html
rm $MOUNT_PATH/usr/share/doc/cups-1.1.23/translation.html
#libsnd (only mhwaveedit (aqualung) use libsnd)
rm $MOUNT_PATH/usr/bin/sndfile-*
#jwmconfig2
rm $MOUNT_PATH/usr/local/jwmconfig2/jwmConfigMgr
rm $MOUNT_PATH/usr/local/jwmconfig2/panel-buttons
rm $MOUNT_PATH/usr/local/jwmconfig2/taskbar*
rm $MOUNT_PATH/usr/local/jwmconfig2/trayInsert
rm $MOUNT_PATH/usr/local/jwmconfig2/virtualDesk




#Control Panel make the following not usable
#countrywizard
rm $MOUNT_PATH/usr/sbin/countrywizard
#XserverWizard
rm $MOUNT_PATH/usr/sbin/xserverwizard #pcc autodetects which xserver is in use
#wizardwizard
rm $MOUNT_PATH/usr/sbin/wizardwizard
rm $MOUNT_PATH/usr/share/applications/Wizard-Wizard.desktop
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/WizardWizard.xpm
#menu-items
rm $MOUNT_PATH/usr/share/applications/ALSA-sound-Wizard.desktop
rm $MOUNT_PATH/usr/share/applications/BootFlash-usb-installer.desktop
rm $MOUNT_PATH/usr/share/applications/BootManager-configure-bootup.desktop
rm $MOUNT_PATH/usr/share/applications/CD-DVD-drive-Wizard.desktop
rm $MOUNT_PATH/usr/share/applications/Chooselocale-country-localisation.desktop
rm $MOUNT_PATH/usr/share/applications/cups.desktop
#rm $MOUNT_PATH/usr/share/applications/Desktop-drive-icons.desktop
rm $MOUNT_PATH/usr/share/applications/gfontsel.desktop
rm $MOUNT_PATH/usr/share/applications/Grub-bootloader-config.desktop
rm $MOUNT_PATH/usr/share/applications/GTK-chtheme.desktop
rm $MOUNT_PATH/usr/share/applications/icon_switcher.desktop
rm $MOUNT_PATH/usr/share/applications/JWM-configuration.desktop
rm $MOUNT_PATH/usr/share/applications/jwmthememaker.desktop
rm $MOUNT_PATH/usr/share/applications/Linux-Firewall-Wizard.desktop
rm $MOUNT_PATH/usr/share/applications/Mouse-keyboard-Wizard.desktop
rm $MOUNT_PATH/usr/share/applications/Multiple-SoundCard-Wizard.desktop
rm $MOUNT_PATH/usr/share/applications/Network-Wizard.desktop
rm $MOUNT_PATH/usr/share/applications/pcur.desktop
rm $MOUNT_PATH/usr/share/applications/printer-wizard.desktop
rm $MOUNT_PATH/usr/share/applications/Psync.desktop
rm $MOUNT_PATH/usr/share/applications/pupX-X-settings.desktop
rm $MOUNT_PATH/usr/share/applications/Puppy-package-manager-check-deps.desktop
rm $MOUNT_PATH/usr/share/applications/Puppy-universal-installer.desktop
rm $MOUNT_PATH/usr/share/applications/Remaster-Puppy-live-CD.desktop
rm $MOUNT_PATH/usr/share/applications/Resize-personal-storage-file.desktop
rm $MOUNT_PATH/usr/share/applications/Set-date-and-time.desktop
rm $MOUNT_PATH/usr/share/applications/Set-global-font-size.desktop
rm $MOUNT_PATH/usr/share/applications/Set-timezone.desktop
rm $MOUNT_PATH/usr/share/applications/WakePup2.desktop
#rm $MOUNT_PATH/usr/share/applications/wallpaper.desktop
rm $MOUNT_PATH/usr/share/applications/Xlock-setup.desktop
rm $MOUNT_PATH/usr/share/applications/Xorg-Video-Wizard.desktop
rm $MOUNT_PATH/usr/share/applications/Xvesa-Video-Wizard.desktop
#mini-icons
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/chooselocale.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/gtktheme.xpm



#### Graphics #####
#Wallpapers
rm $MOUNT_PATH/usr/share/backgrounds/*
cp $STARDUST_PATH/wallpaper/* $MOUNT_PATH/usr/share/backgrounds/
#Gtk-themes
rm -r $MOUNT_PATH/usr/share/themes/Raleigh
rm -r $MOUNT_PATH/usr/share/themes/Emacs
rm -r $MOUNT_PATH/usr/share/themes/Polished-Blue #override gtk-progressbar-theme in gtkdialog
cp -r $STARDUST_PATH/gtk-theme/* $MOUNT_PATH/usr/share/themes/
#seamonkey buttons
cp -f $STARDUST_PATH/seamonkey-icons/*.png $MOUNT_PATH/usr/lib/seamonkey/chrome/classic/skin/classic/communicator/icons
cp -f $STARDUST_PATH/seamonkey-icons/navigator.css $MOUNT_PATH/usr/lib/seamonkey/chrome/classic/skin/classic/navigator/navigator.css
#Icon-themes
rm -r $MOUNT_PATH/usr/local/lib/X11/themes/*
rm -r $MOUNT_PATH/usr/local/lib/X11/pixmaps/* #copy icons from theme at first boot (see bottom of script)
cp -r $STARDUST_PATH/icon-theme/* $MOUNT_PATH/usr/local/lib/X11/themes/
  #icons are deleted - update home.htm (first run help) 
sed -i -e 's%/go48%/configuration48%' $MOUNT_PATH/usr/share/doc/home.htm
sed -i -e 's/pupnews48/view48/' $MOUNT_PATH/usr/share/doc/home.htm
sed -i -e 's/puppy-bone48.gif/www48.png/' $MOUNT_PATH/usr/share/doc/home.htm

#Jwm-themes
rm $MOUNT_PATH$HOME/.jwm/themes/Gradient-brown*
rm $MOUNT_PATH$HOME/.jwm/themes/Original*
rm $MOUNT_PATH$HOME/.jwm/themes/*.png #remove all thumbnails
cp $STARDUST_PATH/jwm-theme/* $MOUNT_PATH$HOME/.jwm/themes/
#mini-icons
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/d2.xpm #gtk-stock
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/html.xpm #who would use a netscape icon?
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/idea16.xpm #gtk-stock
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/imposter.xpm #not in use
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/kde_16x16.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini.audiovol.xpm #similar to mini-audiovol.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini.blah.xpm #never seen in use
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-bug1.xpm #similar but smaller than mini-bug2.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-cd-green.xpm #used in older pmount
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini.checkmark.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-cross.xpm #gtk-stock
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini.cut.xpm #gtk-stock
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini.destroy.xpm #similar to mini-bomb.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-doc1.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini.fvwm.xpm #retired
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-hdisk-green.xpm #used in older pmount
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-mouse.xpm #not in use
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini.netscape.xpm #retired
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-news.xpm #not in use
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-nscape.xpm #retired
#rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-tick.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini.window3d.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-x2.xpm #similar to mini-x.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini-xkeycaps.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mini.xlock.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mozilla-bin.xpm #retired
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/mozilla.xpm #retired
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/MouseWizard.xpm #retired
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/onyx1616.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/paste.xpm #gtk-stock
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/pupget.xpm #retired
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/scribus.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/sportal16.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/wmconfig.xpm #retired
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/x16.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/xkbconfigmanager.xpm #retired
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/xterm.xpm
rm $MOUNT_PATH/usr/local/lib/X11/mini-icons/xterm16.xpm
  #These icons are neither 16x16 or xpm:
  #- they are actually png to look nicer.
  #- they are 20x20 to fit gtkdialogs gtk-icon pixmaps size for buttons
  #They are named to overwrite existing files in /usr/local/X11/mini-icons
  #
  #connect-wizard uses mini-telnet, phone16
#cp -f $STARDUST_PATH/mini-icons/* $MOUNT_PATH/usr/local/lib/X11/mini-icons/



#### Misc Removed ####

rm $MOUNT_PATH/usr/share/applications/petspec-pkg-db-generator.desktop #for developers, not users
rm $MOUNT_PATH/etc/xdg/templates/_root_.icewm_menu #no icewm
rm $MOUNT_PATH/usr/share/applications/pstopwatch.desktop #Ptimer is enough
rm -r $MOUNT_PATH/usr/share/superscan #remove superscanner splash images
rm $MOUNT_PATH/usr/bin/*-BB-NOTUSED #symlinks to not used busybox commands


#documentation that is not user-oriented
rm $MOUNT_PATH/usr/share/doc/release-4.0*
rm $MOUNT_PATH/usr/share/doc/release-4.1*
rm $MOUNT_PATH/usr/share/doc/gtkdialog2.txt
rm $MOUNT_PATH/usr/share/doc/aufs.htm
rm $MOUNT_PATH/usr/share/doc/yaf-splash.htm


#audio
rm $MOUNT_PATH/usr/share/audio/ivy.mp3
rm $MOUNT_PATH/usr/share/audio/goodluck.m4a
rm $MOUNT_PATH/usr/share/audio/error.wav
rm $MOUNT_PATH/usr/share/audio/generic.wav

#modem drivers  -  these are the biggest modem drivers
rm $MOUNT_PATH/lib/modules/2.6.30.5/extra/agrmodem.ko
rm -r $MOUNT_PATH/lib/modules/2.6.30.5/hcfpcimodem
rm $MOUNT_PATH/lib/modules/all-firmware/hcfpcimodem.tar.gz
rm -r $MOUNT_PATH/lib/modules/2.6.30.5/hsfmodem
rm $MOUNT_PATH/lib/modules/all-firmware/hsfmodem.tar.gz
rm $MOUNT_PATH/lib/modules/2.6.30.5/misc/pctel*
rm $MOUNT_PATH/lib/modules/all-firmware/pctel.tar.gz
rm $MOUNT_PATH/lib/modules/2.6.30.5/misc/esscom*
rm -r $MOUNT_PATH/lib/modules/2.6.30.5/slmodem
rm $MOUNT_PATH/lib/modules/all-firmware/slmodem.tar.gz



#Fonts
  #Reduce the number of fixed fonts
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/1*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/5*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/6*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/7x13*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/8x13*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/9x15-*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/9x18*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/courB0*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/courB10*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/courB14*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/courB18*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/courB24*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/courBO*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/courO*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/courR*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvB08*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvB10*
#rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvB12* #in use by freememapplet
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvB14*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvB18*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvB24*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvBO*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvO*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvR08*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvR10*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvR14*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/helvR18*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/l*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/m*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/s*
rm $MOUNT_PATH/usr/X11R7/lib/X11/fonts/misc/t*
  #Remove Type1 fonts
rm $MOUNT_PATH/usr/share/fonts/default/Type1/*





###### Include Programs ####

#P-series
ls -1 $STARDUST_PATH/Pseries > /tmp/stardust_tmp
while read I; do
	cp -rf $STARDUST_PATH/Pseries/$I/* $MOUNT_PATH
done < /tmp/stardust_tmp
  #remove some clock-skins
rm $MOUNT_PATH/usr/local/pwidgets/widgets/clock_skins/dejan-black.png
rm $MOUNT_PATH/usr/local/pwidgets/widgets/clock_skins/Roman.png

#install other adds
ls -1 $STARDUST_PATH/adds > /tmp/stardust_tmp
while read I; do
	cp -rf $STARDUST_PATH/adds/$I/* $MOUNT_PATH
done < /tmp/stardust_tmp

#Pwireless2 - post processing
  #remove originale Pwireless.
rm $MOUNT_PATH/usr/sbin/Pwireless
rm $MOUNT_PATH/usr/share/applications/Pwireless.desktop
  #start Pwireless2 from 'wireless' button in Network Wizard
sed -i -e 's/configureWireless "$INTERFACE"/Pwireless2/' $MOUNT_PATH/usr/sbin/net-setup.sh
  #remove wireless-tools-29
#rm $MOUNT_PATH/usr/lib/libiw*
#rm $MOUNT_PATH/usr/sbin/ifrename
#rm $MOUNT_PATH/usr/sbin/iw*



#### Dekstop environment ####
cp -rf $STARDUST_PATH/stardust_desktop_environment/* $MOUNT_PATH





######## Changes ########

#Define icons on desktop
cp -f $STARDUST_PATH/PuppyPin $MOUNT_PATH$HOME/Choices/ROX-Filer/PuppyPin

#default wallpaper
echo "/usr/share/backgrounds/DeepThought.png" > $MOUNT_PATH/root/.config/wallpaper/bg_img

#default jwm-theme
cp -f $MOUNT_PATH$HOME/.jwm/themes/DeepThought2-jwmrc $MOUNT_PATH$HOME/.jwm/jwmrc-theme

#default gtk-theme
TMP="`grep '/usr/share/themes' $MOUNT_PATH$HOME/.gtkrc-2.0`"
sed -i -e "s%$TMP%include \"/usr/share/themes/DeepThought2/gtk-2.0/gtkrc\"%" $MOUNT_PATH$HOME/.gtkrc-2.0

#Install desktop at first run
  #this should be done by sed instead
cp -f $STARDUST_PATH/delayedrun $MOUNT_PATH/usr/sbin/delayedrun

#Change the color of orange gxmessages and yaf-splash
  # this corupts at least the app /usr/sbin/cups-genppd.5.2
#ls -1 $MOUNT_PATH/usr/sbin > /tmp/splash-color
#while read I in; do
#   sed -i -e 's/ "orange" / "peru" /g' $MOUNT_PATH/usr/sbin/$I #gxmessage
#   sed -i -e 's/ orange / peru /g' $MOUNT_PATH/usr/sbin/$I #yaf-splash
#done < /tmp/splash-color
#  #unique apps
#echo -e "\c" > /tmp/splash-color
#echo $MOUNT_PATH/usr/bin/xsaneshell >> /tmp/splash-color
#while read I in; do
#   sed -i -e 's/ "orange" / "peru" /g' $I #gxmessage
#done < /tmp/splash-color

#defaulttexteditor must be changed from geany to leafpad
#echo '#!/bin/sh
#exec leafpad "$@"' > $MOUNT_PATH/usr/local/bin/defaulttexteditor

#defaultaudioplayer must be changed from aqualung to pmusic
echo '#!/bin/sh
exec pmusic "$@"' > $MOUNT_PATH/usr/local/bin/defaultaudioplayer

#defaulthtmlviewer must be changed from PuppyBrowser to gtkmoz
echo '#!/bin/sh
exec gtkmoz "$@"' > $MOUNT_PATH/usr/local/bin/defaulthtmlviewer

#include timidity to alsa at startup
#It will instead install a unique timidity server in /etc/init.d/ with pizzasgoods package
#sed -i -e 's/start)/start)\n  timidity -iA -B2,8 -Os 2>\/dev\/null \&/' $MOUNT_PATH/etc/init.d/alsa

#snap desktop icons - medium grid
TMP="`grep pinboard_grid_step $MOUNT_PATH/root/.config/rox.sourceforge.net/ROX-Filer/Options`"
sed -i -e "s%$TMP%  <Option name=\"pinboard_grid_step\">16</Option>%" $MOUNT_PATH/root/.config/rox.sourceforge.net/ROX-Filer/Options

#Pmount facelift
  #red warning
sed -i -e "s%<b>DO NOT REMOVE MOUNTED MEDIA</b>%<b><span color='\"'red'\"'>DO NOT REMOVE MOUNTED MEDIA</span></b>%" $MOUNT_PATH/usr/sbin/pmount
  #align mounted partitions
sed -i -e 's%<text><label>${DEVNAME} ${ONEFS} ${ONESIZE}%<text width-request=\\"140\\" markup=\\"true\\"><label>${DEVNAME} ${ONEFS} ${ONESIZE}%g' $MOUNT_PATH/usr/sbin/pmount
sed -i -e 's%<text><label>${ONEFREE} free%<text width-request=\\"140\\"><label>${ONEFREE} free%g' $MOUNT_PATH/usr/sbin/pmount

#Bugfix: Xlock
  #misses menu-item because lock-screen48.png is no more
sed -i -e 's/lock-screen48/lock48/' $MOUNT_PATH/usr/share/applications/Xlock-lock-screen.desktop
  #Xlock won't start because of language is not defined correct
sed -i -e 's%. $APPDIR/locale/${LANGUAGE}%#. $APPDIR/locale/${LANGUAGE}%' $MOUNT_PATH/usr/local/apps/Xlock/AppRun
  #since Xlock is moved mto shutdown menu, remove .desktop file
rm $MOUNT_PATH/usr/share/applications/Xlock-lock-screen.desktop
  #there are a french NLS file installed
rm $MOUNT_PATH/usr/local/apps/Xlock/locale/french.po

#start pCD instead of defaultmediaplayer when click on audio-CD icon
sed -i -e 's%exec defaultmediaplayer cdda://%exec pcd%' $MOUNT_PATH/usr/local/bin/drive_all

#youtube icon is 12kb and too wide
rm $MOUNT_PATH/usr/share/pixmaps/youtube.png
ln -s /usr/local/lib/X11/mini-icons/mini-ftp.xpm $MOUNT_PATH/usr/share/pixmaps/youtube.png

#get rid of the sfs-version-converter from the menu
rm $MOUNT_PATH/usr/share/applications/sfsconvert.desktop
  #rename the warnings
sed -i -e 's/Note, there is an SFS-version-converter in the Utility menu, run that first./Run command - sfsconvert - to convert the sfs file./' $MOUNT_PATH/usr/sbin/filemnt
sed -i -e 's/Note, there is an SFS-version-converter in the Utility menu./Run command - sfsconvert - to convert the sfs file./' $MOUNT_PATH/usr/sbin/filemnt

#psync and sfsconvert is executed from /root/my-applications/bin and will be deleted from $PATH. Make new....
echo '#!/bin/sh
exec psync "$@"' > $MOUNT_PATH/usr/local/bin/psync
chmod 777 $MOUNT_PATH/usr/local/bin/psync
echo '#!/bin/sh
exec sfsconvert "$@"' > $MOUNT_PATH/usr/local/bin/sfsconvert
chmod 777 $MOUNT_PATH/usr/local/bin/sfsconvert

#since setup menu is gone, move petget_gui to system-menu
sed -i -e 's%X-SetupEntry%System%' $MOUNT_PATH/usr/share/applications/Puppy-package-manager.desktop

#CD/DVD wizard contains really outdated help-text. Also cleaned up a bit.
cp $STARDUST_PATH/cdburner-wizard $MOUNT_PATH/usr/sbin/cdburner-wizard

#Change color of rxvt from white backgound to black
sed -i -e 's%Exec=rxvt%Exec=rxvt -bg black -fg lightgray%' $MOUNT_PATH/usr/share/applications/Rxvt-terminal-emulator.desktop

#Change color of geany editor background from white to black
sed -i -e 's%invert_all=0%invert_all=1%' $MOUNT_PATH/usr/share/geany/filetypes.common

#Change color of Abiword page background from white to black
TMP="`grep -B 1000 'name="_custom_"' $MOUNT_PATH$HOME/.AbiSuite/AbiWord.Profile | grep -v 'name="_custom_"'`"
TMP1="`grep -A 1000 'name="_custom_"' $MOUNT_PATH$HOME/.AbiSuite/AbiWord.Profile | grep -v 'name="_custom_"'`"
echo "$TMP" > $MOUNT_PATH$HOME/.AbiSuite/AbiWord.Profile
echo 'name="_custom_"' >> $MOUNT_PATH$HOME/.AbiSuite/AbiWord.Profile
echo 'TransparentColor="#999999"' >> $MOUNT_PATH$HOME/.AbiSuite/AbiWord.Profile
echo "$TMP1" >> $MOUNT_PATH$HOME/.AbiSuite/AbiWord.Profile

#Bugfix: virtual desktops ---------- Ptray makes it all
#TMP="`grep 'CHECKCONF=' $MOUNT_PATH/usr/local/jwmconfig2/virtualDesk`"
#TMP1='CHECKCONF=`grep -v Corner $TMP` #corner is tag in older JWM releases'
#sed -i -e "%$TMP%$TMP1%" $MOUNT_PATH/usr/local/jwmconfig2/virualDesk

#broadcom fix --- see readme file in stardust repo
cp -rf $STARDUST_PATH/broadcom_fix/broadcom-5.10.91.9.3-k2.6.30.5/* $MOUNT_PATH
cp -rf $STARDUST_PATH/broadcom_fix/ssb-modified-k2.6.30.5/* $MOUNT_PATH
cp $STARDUST_PATH/broadcom_fix/initrd.gz /mnt/sda6/tmp/iso/initrd.gz
#chmod 777 /mnt/sda6/tmp/iso/vmlinuz #set executable flag. (trio)

#bootmanager uses removed icon. we must change code:
sed -ie "s%pixmaps/module24%mini-icons/module16%g" $MOUNT_PATH/usr/sbin/bootmanager

#correct info in seamonkey .desktop file --> to show correct tooltip in Ptray
sed -ie "s/Exec=mozilla/Exec=seamonkey/" $MOUNT_PATH/usr/share/applications/SeaMonkey-web-browser.desktop

#pstartupsound needs this to enable sound at shutdowm
sed -ie 's%#!/bin/sh%#!/bin/sh\n/usr/local/pshutdownsound/sound #Stardust%' $MOUNT_PATH/usr/bin/wmpoweroff
sed -ie 's%#!/bin/sh%#!/bin/sh\n/usr/local/pshutdownsound/sound #Stardust%' $MOUNT_PATH/usr/bin/wmreboot








#pack it all together
mksquashfs /mnt/sda6/tmp/rootfs-complete /mnt/sda6/tmp/pup-431.sfs #sfs-file

mv -f /mnt/sda6/tmp/pup-431.sfs /mnt/sda6/tmp/iso/

mkisofs -D -R -o /mnt/sda6/tmp/pup_stardust-004.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /mnt/sda6/tmp/iso/

#burn
#pburn -m iso /mnt/sda6/tmp/pups-431.iso
cdrecord blank=fast -v dev=/dev/sr0 driveropts=burnfree
cdrecord -dao -v dev=/dev/sr0 driveropts=burnfree /mnt/sda6/tmp/pup_stardust-004.iso
eject /dev/sr0

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#35 Post by 01micko »

Thanks Sigmund :wink:
Puppy Linux Blog - contact me for access

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#36 Post by trio »

Sigmund,

1. Thx for the sed tips

2. Another bug:

/usr/local/bin/sfsconvert:

from:

Code: Select all

#!/bin/sh
exec sfsconvert "$@"
to:

Code: Select all

#!/bin/sh
exec /usr/local/sfsconvert/sfsconvert "$@"
then

/usr/local/sfsconvert/sfsconvert (line 30):

from:

Code: Select all

<input>echo ''</input>
to:

Code: Select all

<input>echo \"$@\"</input>
that should do it

edit: even better, put a symlink to /usr/local/bin/sfsconvert in
/root/.config/rox.sourceforge.net/OpenWith/
Last edited by trio on Sat 09 Jan 2010, 16:03, edited 1 time in total.

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#37 Post by trio »

another bug:

Code: Select all

/usr/local/bin/defaulttextviewer: line 2: exec: nicoedit: not found
should be
/usr/local/bin/defaulttextviewer:

Code: Select all

#!/bin/sh
exec geany "$@"

User avatar
prehistoric
Posts: 1744
Joined: Tue 23 Oct 2007, 17:34

pet bug + tray edit

#38 Post by prehistoric »

zigbert wrote:...I don't think data is carried over from my development environment. - just because I don't use my personal environment as base for Stardust. - The base is plain Puppy 4.3.1. - But it could be that I have removed something..... I checked the stardust generator script, and the only call for petget is to move it from 'System' menu (gone in Stardust) to 'Desktop' menu. Hmmmmmm.......please keep this in mind next time use Puppy 4.3.1. It would be good to confirm that this differs from Puppy 4.3.1 or not.
So far, I have not seen this with stock 4.3.1, which doesn't mean it isn't there. The behavior I've seen is non-deterministic. Stock 4.3.1 has minimal overhead for things like the tray, and doesn't have Pwireless2. Changes in such unrelated things can change the probability of exposing a bug caused by concurrency.

My plan for chasing some earlier strangeness was delayed by unforeseen events in my personal life, (another example of concurrency.) This time I intend to dig out some really old machines and put Stardust 004 on them to see if I can make things worse.

This kind of skill in finding bugs is a specialty of mine. It has little to do with understanding code, and a great deal to do with understanding people overwhelmed with complexity. In my primeval days of working with simulators, I had considerable success at locating bugs which had defeated others by simply poking at things on the control panel until a developer shouted,"don't touch that button!" In every case, examining the underlying code revealed a bug, though not necessarily the one I was chasing.

Another sign could be found through interviews. I would listen to explanations of which parts of the system were suspect, and which were above suspicion. I would then ask for help in confirming that a part well above suspicion was working as intended, before we got into the tricky business of tackling the suspect code. Many times the problem was resolved before we examined the suspect code.

My favorite technique was to stand on the far side of the room from the machine, so I could "get the big picture first." (This prevented a programmer from shoving code in my face while demonstrating offending machine behavior.) I would pay a great deal of attention to what the programmer was doing, nearly ignoring the machine. I would then go over and do something the programmer/operator had avoided doing. This had an amazing success rate at exposing bugs. Keeping the secret of how I was doing this got me an unearned reputation for psychic powers. 8)

This only works when you are dealing with intelligent, competent people who have been concentrating on making the problem less severe, yet failing to eliminate it. Don't get me started on stories about incompetent programmers. :roll:
...If you have installed Galculator it is available already as a tray-button. After added to menu(list), you can drag item to give it right position.
My problem was ignorance, plus an expectation this would work like the Pwidget GUI. Even after your explanation, I was misled by the lack of visual cues that I was really dragging the new entry for galculator. Now, I have no problem, but neophytes will.

User avatar
prehistoric
Posts: 1744
Joined: Tue 23 Oct 2007, 17:34

Stardust 004 on slower machine

#39 Post by prehistoric »

I'm now posting from Stardust 004 on a much slower machine, a Compaq iPaq with a 500 MHz Celeron. (The old desktop, not hand-held.) This makes it much easier to see some problems, but I cannot recommend this for installations using Open Office.

One quirk which seems to turn up on installation is that the first install of a pet, (once again galculator 1.3.3,) reports it is in the network group. I've seen this now on three machines. The business menu is updated properly, so I don't know what it is talking about. An earlier install of gimp 2.4.6 also had problems on that first install, so I do not think this is just one strange pet.

I've installed things, moved stuff around, and made adjustments, as before. At one point, I got into a situation where the cpu kept running at 100%, even when I did nothing myself. On reboot I was back to sanity. I'm going to try this again, but when it gets jammed up, I have trouble viewing the offending process through the GUI. I'll open a console before trying to cause the problem next time.

I've attached a resized screen shot.
Attachments
Screenshot-sunset.jpg
Screenshot of Stardust 004 on Compaq iPaq (desktop). Background is a photograph (not mine) of a recent sunset on Lake Okeechobee. I think I may be able to locate a higher-quality image of the same sunset.
(76.27 KiB) Downloaded 1841 times

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

What version of puppy 4.3.1 used

#40 Post by bigpup »

Zigbert:

What version of Puppy 4.3.1 did you use as the base for Stardust?
I ask, because some of the programs seem to be from the first release of Puppy 4.3.1 and not the final, fixed version, that was released after Puppy 4.3.1 RC2.

For example:
the CD/DVD Drive Wizard is not the fixed version that is in Puppy 4.3.1 RC2.

Love your Puppy Control Center!!

Barry's post about changes to Puppy 4.3.1

http://bkhome.org/blog/?viewDetailed=01168

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#41 Post by Jim1911 »

Really like this derivative, especially the Puppy Control Center, however it does have a problem refreshing the screen when you select a function. See attached desktop.

One other problem, just a minor annoyance, an error message comes up upon start "wpa_supplicant failed to start". Clicking OK removes it.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#42 Post by pemasu »

Sundowns are beautiful. I took couple of days ago photo. -25 celcius, blue and red moment when sun was going down. View from our house lakeside. Posted it to other thread but..
It is my wallpaper now.

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#43 Post by trio »

Ziggy,

you might want to delete this

/usr/bin/mtpaintsnapshotOLD.sh

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#44 Post by zigbert »

trio
- updated sfsconverter to 1.4.
- removed old snapshot-tool.
- defaulttextviewer points now to geany.


Thanks a lot
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#45 Post by zigbert »

bigpup wrote:What version of Puppy 4.3.1 did you use as the base for Stardust?
I ask, because some of the programs seem to be from the first release of Puppy 4.3.1 and not the final, fixed version, that was released after Puppy 4.3.1 RC2.

For example:
the CD/DVD Drive Wizard is not the fixed version that is in Puppy 4.3.1 RC2.
Have I missed a Puppy release :shock: ....... No, I don't think so. - I checked md5sum with the one in the Puppy repo. BUT, I have touched the CD/DVD wizard with my dirty fingers. Let me try to grab the very latest wizard for the next release. Please look at it as your mission to write a clear message if I don't get it right :)


Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#46 Post by zigbert »

Jim1911 wrote:Really like this derivative, especially the Puppy Control Center, however it does have a problem refreshing the screen when you select a function
You have increased the global fontsize......Hopefully fixed for 005. - Not hopefully, I should be ok now :)


Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#47 Post by zigbert »

pemasu
I understand easily why you like cross-country skiing. A wonderful surrounding !

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#48 Post by jpeps »

nice derivative! I'm also getting the Xdialog: Wpa_supplicant failed to start error if there's no wireless card (previously reported by jim1911.. maybe needs a test? ). Works fine with my Netgear WAG511 card, though. (note: there's no saved wireless config present).

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#49 Post by gyro »

jpeps wrote:nice derivative! I'm also getting the Xdialog: Wpa_supplicant failed to start error if there's no wireless card (previously reported by jim1911.. maybe needs a test? ).
I had this problem with Pwireless2 in dpup. The problem is the Pwireless2 script in /root/Startup. It does not detect the absence of wireless hardware and exit. A simple workaround on machines with no wireless hardware, is to stop this script from running. An easy way to do this is to remove its Exec permissions.

gyro

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

#50 Post by gposil »

gyro said:
I had this problem with Pwireless2 in dpup. The problem is the Pwireless2 script in /root/Startup. It does not detect the absence of wireless hardware and exit. A simple workaround on machines with no wireless hardware, is to stop this script from running. An easy way to do this is to remove its Exec permissions.
Even simpler...now in Dpup483beta3, is to move Pwireless2 out of /root/Startup, and simply have a dialog asking whether your network is wireless or not and continuing accordingly...
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]

Post Reply