Reinstallation Ubuntu
1. Ubuntu boot-up CD (15 mins)
Insert CD and start computer, follow instructions:
- choose network card (wireless)
- choose language(english), country(Belgium), keyboard(American english)
- partitioning: delete existing linux partitions (2), choose free space to install new partitioning (choose automatic partitioning)
- choose account name(Dominique Bonte), user name (dominique) and password
- choose to install grub boot-tool (choice of OS at start-up)
2. Reboot (15 mins)
- Take out CD and reboot
- Installation of packages
3. Login
4. Configure mouse for left-handed use:
- System > Preferences > Mouse >Buttons > check left-handed mouse
5. Set up Software Updates as manual - don’t install updates!
- Preferences > uncheck ‘Automatically check for software updates’
6. Restart computer to finalize installation (new kernel)
8. Some various settings
- activate root account: system>administration>users and groups : choose root(check ‘Show all users and groups’),properties,type in new password / Security tab: allow root to login with GDM
- change login screen: System>Administration>Login screen setup>Themed Greeter:’Happy Gnome With Browser’
- change background to blue : left click>change desktop background>no wallpaper>desktop colors
- drag usefull icons to top bar: left-click top bar > add to panel:dictionary,logout,calculator,terminal,text editor,audio cd creator,new login,file browser,…
9. Fix 1920 x 1200 resolution
- start up mozilla web-browser
- Download latest Dell Inspiron 6000 System BIOSFollow instructions (installation within windows environment)
- Download VBIOS hackdebian package
- terminal: dpkg -i ‘directory’915resolution_0.4.6-1_i386.deb
- run “915resolution -l” as root
- run “915resolution 3c 192 1200 24″ as root
- Put “915resolution 3c 1920 1200 24″ at the end of /etc/init.d/rcS.sh !!!!!!! (edit file as root user)
10. Install Opera browser
- Download opera for ubuntu :
- dpkg -i opera.deb (go to right directory and tab will complete filename/path
- apt-get -f install (If you get messages about unmet dependencies type)
- gedit /usr/share/applications/opera.desktop
In gedit, paste the following:
[Desktop Entry]
Encoding=UTF-8
Name=Opera Web Browser
GenericName=Web Browser
Comment=Simply the Best Internet Experience
Exec=opera %u
Terminal=false
MultipleArgs=true
Type=Application
Icon=/usr/X11R6/include/X11/bitmaps/opera.xpm
Categories=Application;Network
MimeType=text/html;image/gif;image/jpeg;image/png
Save this file, and go back to Terminal. Type:
mkdir ~/.opera
gedit ~/.opera/filehandler.ini
In gedit, paste the following:
Opera Preferences version 2.0
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[Settings]
Default File Handler=gnome-open ,1
Default Directory Handler=gnome-open ,1
Save this file, and exit gedit.
11. Install MAEMO environment
SCRATCHBOX
- Add this line to the /etc/apt/sources.list file: deb http://www.scratchbox.org/download/files/sbox-releases/0.9.8/deb/ ./
- apt-get update
- apt-get install package names
scratchbox-core / scratchbox-devkit-debian / scratchbox-doctools / scratchbox-libs / scratchbox-toolchain-arm-glibc / scratchbox-toolchain-i686-glibc
- dpkg-reconfigure scratchbox-core , better :/scratchbox/sbin/sbox_adduser username to create users
- login: /usr/bin/scratchbox
ROOTSTRAP
- Download SDK rootstrap as a root from Copy rootstrap to “/scratchbox/packages/” directory: # cp Maemo_Dev_Platform_RS_v1.0_i386.tgz /scratchbox/packages/
- login: ‘/usr/bin/scratchbox’ as a normal user
- sbox-config -ct SDK_PC
- sbox-config -st SDK_PC
- sbox-config -er /scratchbox/packages/Maemo_Dev_Platform_RS_v1.0_i386.tgz
- sbox-config -cc
- sbox-config -cf
XEPHYR
- First add inside Scratchbox to “scratchbox/users/dominique/targets/SDK_PC/etc/apt/sources.list” these following two lines if they are not already there(are there!):
deb http://repository.maemo.org/ maemo ossw
deb-src http://repository.maemo.org/ maemo ossw
- [sbox-SDK_PC: ~] > fakeroot
- sh-2.05b# apt-get update
- sh-2.05b# apt-get install xserver-xephyr
- create this kind of “start-xephyr.sh” script. Change the name of the target to the one you are using, here “SDK_PC”:
#!/bin/sh -e
prefix=/scratchbox/users/${LOGNAME}/targets/SDK_PC/usr
export LD_LIBRARY_PATH=${prefix}/lib; export LD_LIBRARY_PATH
exec ${prefix}/bin/Xephyr :2 -host-cursor -screen 800×480×16 -dpi 96 -ac
Change the created script to executable as root user : chmod +x /start-xephyr.sh
Startup the Xephyr with the script, outside the scratchbox: $ /start-xephyr.sh &
MAEMO APPLICATION FRAMEWORK
- [sbox-SDK_PC: ~] > export DISPLAY=127.0.0.1:2
- [sbox-SDK_PC: ~] > export LANGUAGE=en_GB
- [sbox-SDK_PC: ~] > af-sb-init.sh start (perform twice!)
- [sbox-SDK_PC: ~] > af-sb-init.sh stop
MAEMOPAD
- download:
- Copy that file to your user home directory inside Scratchbox(/scratchbox/users/dominique/home/dominique)
- [sbox-SDK_PC: ~] > tar xzvf maemopad_1.1.tar.gz
- [sbox-SDK_PC: ~] > cd maemopad
- [sbox-SDK_PC: ~/maemopad] >
- [sbox-SDK_PC: ~/maemopad] > ./autogen.sh
- [sbox-SDK_PC: ~/maemopad] > ./configure –prefix=/usr
- [sbox-SDK_PC: ~/maemopad] > make
- [sbox-SDK_PC: ~/maemopad] > make install
- [sbox-SDK_PC: ~/maemopad] > ln -s /usr/share/applications/hildon/maemopad.desktop \
/etc/others-menu/2200_tana_fi_extras/0112_maemopad.desktop
- [sbox-SDK_PC: ~/maemopad] > af-sb-init.sh restart