Ubuntu 5.10 Vaio Setup

From KdjWiki

Jump to: navigation, search

Contents

0) Notes

1) CD Install

The CD install required nothing special although in order to reboot I was required me to physically press (and hold for 5 seconds) the power button.

2) Customising

Add Extra Repositories

 $ sudo gedit /etc/apt/sources.list

Uncomment all the repositories and add the following:

 deb http://au.archive.ubuntu.com/ubuntu breezy universe
 deb-src http://au.archive.ubuntu.com/ubuntu breezy universe
 deb http://au.archive.ubuntu.com/ubuntu breezy multiverse
 deb-src http://au.archive.ubuntu.com/ubuntu breezy multiverse
 deb ftp://ftp.nerim.net/debian-marillat/ etch main

refresh:

 $ sudo apt-get update

Graphics (nVidia)

 $ sudo apt-get install nvidia-glx
 $ sudo apt-get install nvidia-settings
 $ sudo nvidia-glx-config enable

Touchpad (synaptics)

These settings were obtained via an installation of SUSE 10.0 and are at this stage a work-in-progress. I hope to identify the correct settings to successfully active the scrolling in the touchpad soon.

 $ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.working
 $ sudo gedit /etc/X11/xorg.conf

Add the following section:

Section "ServerFlags"
  Option  "AllowMouseOpenFail"
EndSection

Update the following section:

Section "Module"
  # add the following
  Load  "dbe"
  Load  "v4l"
EndSection

Update the following section to match this below:

Section "InputDevice"
  Identifier "Synaptics Touchpad"
  Driver  "synaptics"
  #Option  "SendCoreEvents" "true"
  Option "Device" "/dev/psaux
  #Option "Device" "/dev/input/mice"
  Option  "Protocol" "auto-dev"
  #Option  "HorizScrollDelta" "0"
  Option  "HorizScrollDelta" "20"
  Option       "AccelFactor" "0.1"
  Option       "BottomEdge" "650"
  Option       "CircScrollDelta" "0.1"
  Option       "CircScrollTrigger" "2"
  Option       "CircularScrolling" "1"
  Option       "EdgeMotionMaxSpeed" "15"
  Option       "EdgeMotionMinSpeed" "15"
  Option       "Emulate3Buttons" "on"
  Option       "EmulateMidButtonTime" "75"
  Option       "FingerHigh" "15"
  Option       "FingerLow" "14"
  Option       "InputFashion" "Mouse"
  Option       "LeftEdge" "120"
  Option       "MaxSpeed" "1"
  Option       "MaxTapMove" "110"
  Option       "MaxTapTime" "180"
  Option       "MinSpeed" "0.2"
  Option       "Name" "ALPS;Touchpad"
  Option       "RightEdge" "830"
  Option       "SHMConfig" "on"
  Option       "TopEdge" "120"
  Option       "UpDownScrolling" "1"
  Option       "Vendor" "Sysp"
  Option       "VertScrollDelta" "20"
  Option       "ZAxisMapping" "4 5"
EndSection

Update the following section:

Section "ServerLayout"
  Identifier   "Default Layout"
  Screen  "Default Screen"
  #InputDevice  "Generic Keyboard"
  InputDevice  "Generic Keyboard" "CoreKeyboard"
  #InputDevice  "Configured Mouse"
  InputDevice  "Configured Mouse" "CorePointer"
  #InputDevice  "Synaptics Touchpad"
  InputDevice  "Synaptics Touchpad" "SendCoreEvents"
EndSection

And maybe:

Section "Device"
  Option     "NoLogo"
  ...
EndSection

Firefox

Personalise

 Edit -> Preferences

Speed Up
Url: about:config

 network.dns.disableIPv6 -> true
 network.http.pipelining -> true
 network.http.pipelining.maxrequests -> 8
 network.http.proxy.pipelining -> true

Restore Icons
Create script and (sudo) run:

#!/bin/bash
wget -c http://frankandjacq.com/ubuntuguide/mozilla-firefox.png
wget -c http://frankandjacq.com/ubuntuguide/document.png
chmod 644 mozilla-firefox.png
chmod 644 document.png
dpkg-divert --rename /usr/share/pixmaps/mozilla-firefox.png
dpkg-divert --rename /usr/share/pixmaps/mozilla-firefox.xpm
dpkg-divert --rename /usr/lib/mozilla-firefox/icons/default.xpm
dpkg-divert --rename /usr/lib/mozilla-firefox/icons/document.png
dpkg-divert --rename /usr/lib/mozilla-firefox/chrome/icons/default/default.xpm
cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.png
cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.xpm
cp mozilla-firefox.png /usr/lib/mozilla-firefox/icons/default.xpm
cp document.png /usr/lib/mozilla-firefox/icons/document.png
cp mozilla-firefox.png /usr/lib/mozilla-firefox/chrome/icons/default/default.xpm
rm mozilla-firefox.png
rm document.png

3) Personalising

Desktop Look (& Feel)

Change the desktop theme to Clearlooks:

 System -> Preferences -> Theme -> Clearlooks

Clear the background:

 System -> Preferences -> Desktop Background
 * No Wallpaper
 * Desktop Color : #778899

Desktop Panels

Top Right (from right to left):

  • System Monitor (showing Processor, Memory, and Network)
  • CPU Frequency Scaling Monitor (showing as %)
  • Weather Report

Top Left (from left to right):

  • Firefox
  • Evolution Mail
  • Terminal
  • Terminal Server Client
  • Music Player (e.g. XMMS - if/when installed)
  • gFTP (if/when installed)

Bottop Right (from right to left):

  • Log Out
  • Lock Screen
  • Force Quit

Application Settings

Terminal (gnome-terminal):

 Edit -> Current Profile -> Effects
 * Transparent background (X)

Text Editor (gedit): These settings are user dependent, so I ran through them both as usual user, and as root.

 Edit -> Preferences
 -> View
   * Enable text wrapping ( )
   * Highlight matching bracket (X)
 -> Editor
   * Tab width = 4
   * Enable automatic indentation (X)
   * Create a backup copy of files before saving ( )
 -> Font & Colors
   * Use default theme font (X)
 -> Plugins
   * Select All (X)

Bash Shell:

 $ gedit ~/.bashrc
 uncomment:
 if [ -f ~/.bash_aliases ]; then
   .~/.bash_aliases
 fi
 add to the end:
 fortune
 $ gedit ~/.bash_aliases
 alias ll='ls -lh'
 alias slocate='slocate -i'

File Browser (nautilus):

 Left Pane -> Tree
 Edit -> Preferences
 -> Views
   * View new folder using (List View)
   * Use compact layout (X)
 -> Behavior
   * Include a Delete command that bypasses Trash (X)

Keyboard Shortcuts

Shortcuts can be assigned using the Configuration Editor found in the System Tools sub-menu of the Gnome Applications menu. The Windows key is referenced as <Super>.

 apps -> metacity -> global_keybindings
   * switch_window_backward := <Shift><Alt>tab
   * show_desktop := <Super>d
   * panel_run_dialog := <Super>r
   * run_command_terminal := <Super>c
   * run_command_1 := <Super>e
   * run_command_2 := <Super>w
 apps -> metacity -> keybinding_commands
   * command_1 := nautilus
   * command_2 := firefox

4) Additional Applications

Audio Player (xmms)

Video Player (mplayer)

FTP Client (gFTP)

5) Services

SSH Server

Web Server (apache)

Database Server (mysql)

FTP Server (ProFTPd)

Personal tools