Archive for the ‘Computer Talk’ Category

Yahoo messenger for the web

Wednesday, May 30th, 2007

Yahoo! Messenger for the Web - Instant message with your Yahoo! and Windows Live Messenger friends immediately. No download or installation required. http://webmessenger.yahoo.com/webmessengeryahoo.jpg

Ubuntu linux and Dell 1920 x 1200 display resolution

Thursday, March 8th, 2007

1920 x 1200 RESOLUTION

1. Download latest Dell Inspiron 6000 System BIOS

Link

Follow instructions (installation within windows environment)

2. Download VBIOS hack

915Resolution: Intel Video BIOS Hack
Steve Tomljenovic [stomljen at yahoo dot com]

915resolution is a tool to modify the video BIOS of the 800 and 900 series Intel graphics chipsets. This includes the 845G, 855G, and 865G chipsets, as well as 915G, 915GM, and 945G chipsets. This modification is neccessary to allow the display of certain graphics resolutions for an Xorg or XFree86 graphics server.

915resolution’s modifications of the BIOS are transient. There is no risk of permanent modification of the BIOS. This also means that 915resolution must be run every time the computer boots inorder for it’s changes to take effect.

Link

debian package: debian package

Download from within Ubuntu to directory or desktop

3. Install debian package

Within terminal:
dpkg -i ‘directory’915resolution_0.4.6-1_i386.deb

4. Display available resolutions

Display the available resolutions :

# 915resolution -l

overwrite the 3c resolution (not used)

915resolution 3c 1920 1200 24

Display the available resolutions :

5. Write script

Note that you need to set the video BIOS with 915resolution before you start up the X server. You don’t need to set them all. Just pick an unused mode with the right number of bits per pixel. Also, the setting is not permanent. You need to set the VBIOS every time you start the machine.

link

After some playing around, I found the best way to run my startup script was to add it at the end of:

/etc/init.d/rcS.sh

The other menthods mentioned did not work for me.

I have a Dell Inspiron 700m that need a 1280 x 800 screen resolution. I was able to get it to work with a great tool called 855resolution that need to be executed at startup.

Put 915resolution 3c 1920 1200 24 at the end of /etc/init.d/rcS.sh !!!!!!! (edit file as root user)

DOES NOT SEEM TO WORK:

Instructions on Ubuntu: 915resolution

1.Download 915resolution

2.run “915resolution -l” as root

3.Pickup an unused resolution (’3c’ for me)

4.run “915resolution 3c 1400 1050 32″ as root

5.Edit /etc/X11/xorg.conf to add:

Option “ForceBIOS” “1920×1440=1400×1050″

As a result, the /etc/X11/xorg.conf looks like:

Section “Device”
Identifier “Intel 915GM”
Driver “i810″
BusID “PCI:0:2:0″
VideoRam 65536
Option “ForceBIOS” “1920×1440=1400×1050″
EndSection

Section “Monitor”
Identifier “Generic Monitor”
HorizSync 28-72
VertRefresh 59.0 - 75.0
Option “DPMS”
EndSection

Section “Screen”
Identifier “Default Screen”
Device “Intel 915GM”
Monitor “Generic Monitor”
DefaultDepth 24
SubSection “Display”
Depth 24
Modes “1600×1200″ “1400×1050″ “1280×1024″ “1024×768″
EndSubSection
EndSection

Section “DRI”
Mode 0666
EndSection

Reinstallation Ubuntu

Thursday, March 8th, 2007

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