SWEEEEEEEEEEEEEEEEEEEEEET....nice work jiyuuo. I didn't try the previous one because it didn't have the selection to install each app via a script. This one DOES!!!. This is the real deal. It's awesome as it will be not super hard to maintain...mine was/is a copy and paste nightmare using dpkg -i.
Ok here's some constructive criticism and many suggestions....having said this I can't praise this enough.
a)Unofficial Ubuntu 5.04 Add-On CD - Auto Install? [y/n]
explain just a little more what Auto Install means. I thought perhaps it meant to install all apps in one swoop which I didn't want to do. Something like "Choose each application to install?"
b) [y/n/q] change to [Y/n/q]
this is consistent and indicates the default is Yes and just pressing ENTER makes it is the same as press y/Y which it does.
c) echo "Install Multimedia Player (RealPlayer)? [y/n/q]"
echo "RealPlayer 10 installation path type /opt/RealPlayer"
echo "For everything else just press ENTER"
echo "Install Multimedia Player (RealPlayer)? [y/n/q]"
I realize this clears away and soon as they press enter but reminds them to type /opt/RealPlayer without having to resort to the guide.
d)apt-get -y --allow-unauthenticated install xfonts-intl-arabic xfonts-intl-asian xfonts-intl-chinese xfonts-intl-chinese-big xfonts-intl-european xfonts-intl-japanese xfonts-intl-japanese-big xfonts-intl-phonetic gsfonts-x11
tar xvf msttcorefonts.tar -C /usr/share/fonts/truetype/
fc-cache -f -v
heheh msttcorefonts...that's my method too...I couldn't figure out the other way either. Could you split xfonts-intl fonts and msttcorefonts? If not no biggie but I don't believe xfonts-intl are useful anymore with utf-8. I believe it was required for kterm for example but kterm isn't required anymore and most apps now are qt or gtk.
e) apt-get -y --allow-unauthenticated install scim scim-chinese scim-config-socket scim-gtk2-immodule scim-tables-zh
Now to add Japanese and Korean would be awesome. When using your cd it suggested scim-hangul so I guess that may be in the repositories now which means we can now input Korean. I'll get back to you about this after I test it out. Also I previously thought uim was not necessary but it is if you use KDE (kubuntu-desktop) so it's good to install it.
#sudo apt-get install anthy scim-gtk2-immodule scim-chinese
apt-get -y --allow-unauthenticated install scim scim-chinese scim-hangul anthy uim scim-uim scim-gtk2-immodule scim-tables-zh scim-tables-ja scim-tables-ko
also I'm almost 99% sure that scim-config-socket is a dependent of scim so it's not necessary to specify it. anthy provides Japanese input....scim-hangul provides Korean input (gotta test this).
f) also could you add this to the end of the Chinese input script.
sudo touch /etc/X11/Xsession.d/74custom-scim_startup
sudo chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XMODIFIERS="@im=SCIM"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export GTK_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export XIM_PROGRAM="scim -d"' >> /etc/X11/Xsession.d/74custom-scim_startup
echo 'export QT_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
I explain it in more detail in my Japanese/Chinese SCIM input guide
f) A few things my ubuntu add-on zip has which this one doesn't is:
sudo apt-get install xfce4 xfmedia xterminal xfce4-theme-brushedchrome
nvidia (auto install)
GNOME sound fix
sudo dpkg -i /var/cache/apt/archives/nvidia-glx_1.0.7174-0ubuntu1_i386.deb nvidia-settings_1.0-3ubuntu2_i386.deb
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
md5sum /etc/X11/xorg.conf | sudo tee /var/lib/xfree86/xorg.conf.md5sum
sudo nvidia-glx-config enable
DMA for cd-rom/dvd-rom...gotta test if it retains it after reboot
g) that build-essential ....how big is that 180MB??? I wonder how many would need this or install this (compile kernels and source, etc.). I mean wouldn't this substantially reduce the cd size?
h) echo "Update Ubuntu (snapshots)? [y/n/q]"
I wasn't sure what this mean so perhaps clarify it more...
basically it upgrades the following to the lastest packages
firefox, openoffice, gimp
btw in case you just want to view my script without downloading 114MB just