Customisation

From Inveneo

Jump to: navigation, search

InveneoPuppyLinux


We customise to provide Inveneo branding & to enhance the user experience (simplified, 'just works').



Script of filesystem tweaks: (including these)

echo "auto" > /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/eth0mode
cp /mnt/home/puppy/ssh_server.sh /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin
echo "ALL: ALL" > /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/hosts.allow
echo "sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:sbin/nologin" >> /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/passwd
mkdir -p /mnt/home/puppy/puppy-unleashed/rootfs-complete/var0/empty/sshd
cp /etc/ssh/* /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/ssh
ln -sf /usr/X11R6/bin/mrxvt /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin/rxvt
ln -sf /usr/lib/firefox/mozstart /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin/mozstart
ln -sf /usr/local/bin/mozstart /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin/dillo
cd /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.mozilla
tar zxvf /mnt/home/puppy/Inveneo/firefox_profile.tar.gz
sed 's/mozilla/firefox/g' /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/profile > /tmp/profile.firefox
mv /tmp/profile.firefox /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/profile
ln -sf /usr/local/j2re1.4.2 /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/jre
ln -sf /usr/local/jre/plugin/i386/ns7/libjavaplugin_oji.so /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/lib/firefox/plugins/libjavaplugin_oji.so
sed -e '/^LD_LIBRARY_PATH=/{' \
   -e 'a\' \
   -e '\' \
   -e 'if [ -e /usr/local/jre ];then\' \
   -e ' PATH="/usr/local/jre/bin:$PATH"\' \
   -e ' JAVA_PATH=/usr/local/jre\' \
   -e ' export JAVA_PATH\' \
   -e 'fi' \
   -e '}' /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/profile > /tmp/profile.java
mv /tmp/profile.java /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/profile
cp /mnt/home/puppy/Inveneo/mini-inveneo.xpm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/lib/X11/mini-icons
cp /mnt/home/puppy/Inveneo/jwmrc.inveneo /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.jwmrc
cp /mnt/home/puppy/Inveneo/PuppyPin.proposed /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/Choices/ROX-Filer/PuppyPin
cp -f /mnt/home/puppy/Inveneo/gaim-autosetup.sh /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/sbin

Use OpenOffice as default apps:

echo '#!/bin/sh' > /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin/defaultspreadsheet
echo 'exec scalc "$@"' >> /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin/defaultspreadsheet
echo '#!/bin/sh' > /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin/defaultwordprocessor
echo 'exec swriter "$@"' >> /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin/defaultwordprocessor
echo '#!/bin/sh' > /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin/defaulthtmleditor
echo 'exec sweb "$@"' >> /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/bin/defaulthtmleditor
cd /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/Choices/MIME-types
tar zxvf /mnt/home/puppy/MIME-types_oo_nopath.tar.gz

Simplify X settings:

cat /mnt/home/puppy/puppy-unleashed/rootfs-complete/root/.Xdefaults >>/mnt/home/puppy/puppy-unleashed/rootfs-complete/root/.Xresources
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/root/.Xdefaults

Clean-up legacy from removed apps:

sed '/XFINANSDIR/d' /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/profile > /tmp/profile.tmp
sed '/SHSQL_DB/d' /tmp/profile.tmp > /mnt/home/puppy/puppy-unleashed/rootfs-complete/etc/profile
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/ghttpd
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.AbiSuite
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.eznet
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.gaby
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.icewm
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.LinNeighborhood
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.mozilla/default
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.tkdvd
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.xfinans
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/.fvwm95rc
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/Choices/SendTo/abiword
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/Choices/SendTo/leafpad
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/Choices/SendTo/mozedit
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/root0/Choices/SendTo/mozstart
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/pixmaps/gcombust.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/pixmaps/mp.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/pixmaps/gftp.png
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/sbin/alienx-shell
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/sbin/burniso2cd
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/README.txt
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/Dotpup-downloader-mu05
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/jwmconfig
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/WAG
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/pixmaps/gnumeric
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/AbiSuite-2.4
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/cgtkcalc
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/dia
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/figurine
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/gcrontab
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/gkdial
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/gnumeric
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/graveman
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/greyboard
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/gtail
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/gxhost
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/sodipodi
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/superscan
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/turma
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/share/xwhois
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/lib/AbiWord-2.4
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/lib/TkDVD
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/lib/dia
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/lib/gnumeric
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/local/lib/sodipodi
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/lib/ical
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/lib/ml
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/lib/mozilla*
rm -rf /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/lib/regexpviewer
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/bubbles.tcl.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/calcoo.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/cgtkcalc.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/countdown.tcl.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/gaby.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/gbase.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/gemgame.tcl.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/gtimer.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/gtkcat.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/ml.tcl.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/puppyaxel.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/sockspy.tcl.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/student16.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/superscan.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/tkConvert.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/tkmasqdial.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/tkmines.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/turma.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/usbview.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/uxplor.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/wiki_16.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/xfinans.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/xload.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/xnetload.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/xnetloadshell.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/mini-icons/xproc.xpm
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/backgrounds/button1024x768.jpg
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/backgrounds/in_flight1600x1200.jpg
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/backgrounds/puppywallpaper1024x768.jpg
rm /mnt/home/puppy/puppy-unleashed/rootfs-complete/usr/share/backgrounds/sunset1024x768.jpg



Now allow PCCC to build image.gz & usr_cram.fs
- Say No to having usr_cram.fs included within image.gz

Next: 4: ISO Tweaks

Personal tools