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 Fri 29 Aug 2014, 14:38
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Puppy Stardust 004
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5685
Location: Valåmoen, Norway

PostPosted: Sat 09 Jan 2010, 04:13    Post subject:  

trio
This is how the shutdown patch looks in the stardust generator script
Code:
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

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sat 09 Jan 2010, 04:18    Post subject:  

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... Very Happy

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5685
Location: Valåmoen, Norway

PostPosted: Sat 09 Jan 2010, 04:30    Post subject:  

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.


_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5685
Location: Valåmoen, Norway

PostPosted: Sat 09 Jan 2010, 04:34    Post subject:  

Mick
Here's the script.
Code:
#!/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

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sat 09 Jan 2010, 04:50    Post subject:  

Thanks Sigmund Wink
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Sat 09 Jan 2010, 10:30    Post subject:  

Sigmund,

1. Thx for the sed tips

2. Another bug:

/usr/local/bin/sfsconvert:

from:
Code:
#!/bin/sh
exec sfsconvert "$@"

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


then

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

from:
Code:
<input>echo ''</input>

to:
Code:
<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/

_________________
PET Maker|WbarCC|My Website

Last edited by trio on Sat 09 Jan 2010, 12:03; edited 1 time in total
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Sat 09 Jan 2010, 10:44    Post subject:  

another bug:
Code:

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


should be
/usr/local/bin/defaulttextviewer:
Code:
#!/bin/sh
exec geany "$@"

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
prehistoric


Joined: 23 Oct 2007
Posts: 1266

PostPosted: Sat 09 Jan 2010, 12:38    Post subject: pet bug + tray edit  

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. Cool

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. Rolling Eyes
Quote:
...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.
Back to top
View user's profile Send private message 
prehistoric


Joined: 23 Oct 2007
Posts: 1266

PostPosted: Sat 09 Jan 2010, 14:56    Post subject: Stardust 004 on slower machine  

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.
Screenshot-sunset.jpg
 Description   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.
 Filesize   76.27 KB
 Viewed   477 Time(s)

Screenshot-sunset.jpg

Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5096
Location: Charleston S.C. USA

PostPosted: Sat 09 Jan 2010, 15:30    Post subject: What version of puppy 4.3.1 used
Subject description: some programs not updates
 

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
Back to top
View user's profile Send private message 
Jim1911

Joined: 19 May 2008
Posts: 2455
Location: Texas, USA

PostPosted: Sat 09 Jan 2010, 18:35    Post subject:  

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.
dt.png
Description 
png

 Download 
Filename  dt.png 
Filesize  231.93 KB 
Downloaded  278 Time(s) 
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sat 09 Jan 2010, 19:50    Post subject:  

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.
blue-and-red-moment.jpg
Description 
jpg

 Download 
Filename  blue-and-red-moment.jpg 
Filesize  790.93 KB 
Downloaded  338 Time(s) 
Back to top
View user's profile Send private message 
trio


Joined: 21 Dec 2008
Posts: 1788
Location: अनुमोदना

PostPosted: Sat 09 Jan 2010, 22:37    Post subject:  

Ziggy,

you might want to delete this

/usr/bin/mtpaintsnapshotOLD.sh

_________________
PET Maker|WbarCC|My Website
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5685
Location: Valåmoen, Norway

PostPosted: Sun 10 Jan 2010, 06:36    Post subject:  

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


Thanks a lot
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5685
Location: Valåmoen, Norway

PostPosted: Sun 10 Jan 2010, 06:44    Post subject:  

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 Shocked ....... 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 Smile


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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