DebianImage
From LocalizationWiki
Here Debian image is being made to be used as the main module inside the Morphix base.
Mile stone 1
apt-get install debootstrap
mkdir /sarge base
debootstrap sarge /sarge base
Mile stone 2
chroot /sarge base
Added /etc/apt/sources.list ( Debian stable Repository ) deb http://ftp.debian.org/debian sarge main apt-get update //For usb support apt-get install gnupg
apt-get install perl-modules //For Printer support apt-get install cupsys apt-get install cupsomatic-ppd apt-get install cupsys-bsd apt-get install cupsys-driver-gimpprint apt-get install libcupsys2 apt-get install libgnomecups1.0-1
apt-get install xserver-xfree86
apt-get install x-window-system
Mile Stone 3
Added /etc/apt/sources.list (Debian Testing Repository)\ deb http://ftp.debian.org/debian etch main apt-get update
//Installing the desktop environment apt-get install gnome-desktop-environment ( selected SUID for cdrecord )
//For the printer apt-get install libgnomecupsui1.0-1 apt-get install gnome-cups-manager
//Creating the necessary directory mkdir morphix MorphixCD cdrom cdrom1 flash floppy
//Installing the screen saver. Gives a warning message if not installed apt-get install xscreensaver
apt-get install locales
apt-get install xloadimage
//Enabling super user support Create sudoers file cp sudoers /etc/
//make the necessary changes root ALL=(ALL) ALL bhutan ALL=NOPASSWD: ALL
//We want gdm to handle desktop management Remove symlinks of xdm //remove the link from /etc/rc0.d to /etc/rc6.d
apt-get install module-init-tools apt-get install pcmcia-cs apt-get install initrd-tools
Mile Stone 4
Here we add the basic Dzongkha support:
GNU C LOCALE
//Generating the necessary locale file vi /etc/gdm/locale.conf
//add support for the dzongkha locale //dz_BT is the Dzongkha GNU C Locale
cp dz_BT /usr/share/i18n/locales/
locale-gen //Command to generate locale file specified in /etc/gdm/locale.conf
//add support for dzongkha locale in the Linux operating system vi /usr/X11R6/lib/X11/locale/locale.alias vi /usr/X11R6/lib/X11/locale/locale.dir
KEYBOARD
cp dz /usr/X11R6/lib/X11/xkb/symbols/pc/
vi /usr/X11R6/lib/X11/xkb/rules/xfree86.xml
//add the following line for Dzongkha keyboard to show up in the keyboard selection menu
<layout> <configItem> <name>dz</name> <description>Dzongkha Keyboard</description> </configItem> <variantList/> </layout>
FONT
cp dzongkha-font /usr/share/fonts/truetype/
fc-cache
fc-list |grep dzongkha-font-name//To check whether the font is installed or not
ADDING GNOME TRANSLATION
mkdir /usr/share/locale/dz
mkdir /usr/share/locale/dz/LC_MESSAGE
cp *.mo /usr/share/locale/dz/LC_MESSAGE/
cp *.desktop /usr/share/applications/ //for the sub-menu in the main start up menu
cp *.directory /usr/share/desktop-directories/ //for the main start up menu
cp *.directory /opt/openoffice.org2.0/share/xdg/ //for open office in the sub-menu in the main start up menu
Mile Stone 5
//Installing the remaining necessary packages
apt-get install scponly putty-tools totem-gstreamer apt-get install smbfs ( select workgroup, security=share ) apt-get install ftp autofs lilo( create kernel-img.conf ) grub apt-get install xchat gaim
apt-get install synaptic (notes : Removing libsigc++-1.2-5c102 ...)
apt-get install wvdial (notes: WARNING: The following packages cannot be authenticated! libxplc0.3.11 libwvstreams4.0-base libwvstreams4.0-extras wvdial Install these packages without verification [y/N]? y )
Edited Distributor in /usr/share/gnome-about/gnome-version.xml //Added the following line <p xml:lang="dz"> Gnome Desktop For Dzongkha. Distributed by Department of Information Technology,Thimphu Bhutan. Developer Pema Geyleg. </p>
Mile Stone 6
apt-get install gftp Notes: WARNING: The following packages cannot be authenticated! gftp-text gftp-common gftp-gtk gftp
gpg --keyserver keyring.debian.org --recv 4F368D5D && apt-get update
apt-get install discover vim (uncommentted syntax on)
Applied Colorful bash and necessary alias
vi /etc/bash.bashrc //add the line alias ls= 'ls --color=auto'
Device management for cd-rom
vi /sarge base/etc/hdparm.conf
//add the following line
/dev/cdrom{
dma=on
}
Gnome browser configuration
System Tools->Configuration Tools apps->nautilus->preferences enable always_use_browser //added nautilus folder from any user directory /sarge base/etc/gconf/gconf.xml.defaults/apps/
To allow root login, as it is not allowed by default in debian linux
vi /sarge base/etc/gdm/gdm.conf //set AllowRoot=true
Logo Icon
add gnome-logo-transparent.png icon to /sarge base/usr/share/pixmaps/
Splash screen (splash) just before logging in and the desktop background (background)
/sarge base/usr/share/images/desktop-base pema@DIT-PG:/sarge base/usr/share/images/desktop-base$ ls -la total 536 drwxr-xr-x 2 root root 4096 2006-01-16 02:05 . drwxr-xr-x 4 root root 4096 2006-01-11 04:34 .. lrwxrwxrwx 1 root root 18 2006-01-23 17:00 default -> desktop-background -rwxr-xr-x 1 root root 469177 2006-01-16 01:39 desktop-background -rwxr-xr-x 1 root root 60564 2006-01-16 01:39 desktop-splash
Terminal message when logging in remotely through ssh
change the /sarge base/etc/motd file
apt-get install gparted
Run pwconv
apt-get install dpkg-dev
Installation of mozilla-dz, Open office. Copy the intro.bmp to /opt/openoffice.org2.0/program intro.bmp is the splash screen for open office
Mile Stone 7
apt-get install less (w/o security) apt-get install xsane
apt-get install gimp wine irssi-text gnucash
apt-get install xmms
apt-get install build-essential autoconf automake1.9 flex bison
apt-get install mozilla-firefox mozilla-firefox-gnome-support latex-xft-fonts
apt-get install mozilla-thunderbird mozilla-thunderbird-offline mozilla-thunderbird-typeaheadfind mozilla-thunderbird-inspector ttf-freefont
mozilla-thunderbird-enigmail
apt-get install libncurses5-dev
dpkg -r ttf-freefonts
apt-get install mdetect
Install apt and apt-utils,synaptic from snapshot
apt-get install scribus
apt-get install read-edid anacron noflushd sleepd apmd xapm
apt-get install nfs-common ( check proc and portmap )
apt-get install ipcalc
apt-get install mc
apt-get install firestarter dia planner
apt-get install gthumb
apt-get install totem-xine
Add alsa-utils alsa gstreamaer0.8-plugins and to updaterepos
apt-get install gnome-audio
apt-get install bluefish
apt-get install gxine
apt-get install libg++2.8.1.3-dev
apt-get install rkhunter ( N/N)
apt-get install clamav
apt-get install hdparm and add last lines to /etc/hdparam.conf
apt-get install gkrellm
apt-get install grip
apt-get install gnome-ppp
apt-get install cvs
Chnage w to W in /sarge base/etc/profile
remove noflushd ( Due to warning at shutdown)
Install axel
Install lynx ( some locale wanring)
apt-get install links
Install samba manually because of the problem in etch repo
apt-get install balsa
apt-get install vim-gtk abiword
apt-get install libgnomecups1.0-1
NOTE: You have to set up a symbolic link /tmp pointing to /var/tmp in the /sarge base as follows
cd /sarge base rm -r tmp ln -s /var/tmp TO BE COMPLETED
