WimsBits linux xubuntu 10.04 lts

xubuntu 10.04 lts manual  

down to end |

linux xubuntu 10.04 lts

Install and configure xubuntu 10.04 lts linux on a PC.
Both the (daily used) xubuntu-10.04-desktop-amd64 and the (rarely used) xubuntu-10.04-desktop-i386 work fine.

Install xubuntu 10.04 lts linux packages on:
the motherboards:

AcerPower 8400:
All of the AcerPower 8400 is working nicely with xubuntu 10.04 installed, except for the vga, the video 3D part is broken.
(MS Windows 7 runs nice on this hardware too, unfortunately ... ;-) )

All hardware works fine on a Dell Optiplex GX 280.

MSI-790gx-g65 (with an ATI Radeon HD 3300 graphics card), the hardware list:
AMD Athlon(tm) II X2 245 Processor, bogomips: 5814.19

Cooler Master Elite 331
Corsair CX400W
NEC AD-7243S Black (SATA)
Crucial Ballistix DDR3 1600MHz 2GB Kit
WD Caviar Black 640GB 32MB (SATAII)
AMD Athlon II X2 245
Conceptronic TV PVR & Tuner Card (CTVFMi2)
Cooler Master Ultra Silent Fan 120mm

All of the MSI-790gx-g65 is working fine with xubuntu 10.04 installed.

An installation manual:

Linux xubuntu 10.04 lts PC playing music and video. That is what you get when you install the larger part of what can be found below.

(X)Ubuntu versions and code names:

ubuntu 4.10 Warty Warthog
ubuntu 5.04 Hoary Hedgehog
ubuntu 5.10 Breezy Badger
ubuntu 6.06 LTS Dapper Drake
ubuntu 6.10 Edgy Eft
ubuntu 7.04 Feisty Fawn
ubuntu 7.10 Gutsy Gibbon
ubuntu 8.04 LTS Hardy Heron
ubuntu 8.10 Intrepid Ibex
ubuntu 9.04 Jaunty Jackalope
ubuntu 9.10 Karmic Koala
Ubuntu 10.04 LTS Lucid Lynx
Ubuntu 10.10 Maverick Meerkat
Ubuntu 11.04 Natty Narwhal
Ubuntu 11.10 Oneiric Ocelot
Ubuntu 12.04 LTS (5 year) Precise Pangolin, Xubuntu 12.04 LTS (3 year)
Ubuntu 12.10 Quantal Quetzal

Linux xubuntu 10.04 lts kernel version:

Kernel version at installation date:
2.6.32-24-generic (x86 & x64)
Current kernel version:
2.6.32-45-generic

Bash Shell aptitude commands to install xubuntu 10.04 lts linux software packages:

The Shell aptitude software (installing) commands:
sudo aptitude update
aptitude search (package)
aptitude show (package)
aptitude install --simulate (package)
sudo aptitude install (package)
aptitude remove (package)
aptitude purge (package) (incl. config & data files)
aptitude autoclean
aptitude --purge-unused

Set linux xubuntu 10.04 lts sources to add packages with synaptic package manager:

Set sources to add packages, change in: applications, system, software sources:
ubuntu software:
Canonical-supported open source software - main
community-maintained open source software - universe
proprietary drivers for devices - restricted
software restricted by copyright or legal issues - multiverse
updates:
important security updates - security
recommended updates - updates

Set sources to add packages, change in: applications, accessories, terminal: sudo mousepad /etc/apt/sources.list
uncomment source lines and get all the following binaries, deb ftp and deb-src:
main, restricted, universe, multiverse
updates:
main, restricted, universe, multiverse
security:
main, restricted, universe, multiverse

Xubuntu 10.04 lts linux additional software packages:

Open shell to add packages: applications, accessories, terminal: sudo aptitude install ...
- already installed: xserver-xorg-video-ati: for ati (radeon hd 3300) vga cards
- already installed: xserver-xorg-video-mach64: for ati (radeon hd 3300) vga cards
- already installed: xserver-xorg-video-r128: for ati (radeon hd 3300) vga cards
- already installed: xserver-xorg-video-radeon: for ati (radeon hd 3300) vga cards
fglrx: for ati, provides 2D display drivers and hardware accelerated OpenGL
fglrx-amdcccle: Catalyst Control Center for the ati graphics accelerators

- nvidia-glx: for: GeForce4 Ti 4200 with AGP8X (was installed on asus)
- With no nvidia-glx, resolution: 1024x768@75
- With vga 3d, resolution: 1024x768@62, but non flickering, or 1280x1024@51

close firefox before installing flash:
flashplugin-installer: Adobe flash
default-jre: default Java runtime, or Java compatible runtime for i386 & amd64 (openjdk-6-jre)
icedtea6-plugin: web browser plugin, required
sudo update-alternatives --config java
firestarter: linux firewall
gnome-media: GNOME Sound Recorder
gftp-gtk: linux ftp client
smartmontools: linux SMART program
not working here: smart-notifier: part of it
sysinfo: system info
totem-plugins-extra: extra plugins
tvtime: tv viewer
xarchiver: GTK frontend for most used compression formats
gstreamer0.10-ffmpeg: plugins for audio and video compression formats
gstreamer0.10-plugins-bad: plugins for real-time sound processing, playing videos, not up to par
gstreamer0.10-plugins-ugly: plugins for real-time sound processing, playing videos, a set of good-quality plug-ins that might pose distribution problems
gstreamer0.10-fluendo-mp3: permits decoding of MPEG 1 audio layer III streams

configure xfce xubuntu 10.04 lts desktop with xfce settings manager:

menu: applications, settings, xfce settings manager
keyboard: tab: behaviour, typing settings: enable: enable key repeat, repeat delay: 500, repeat speed: 50 and cursor: enable: show blinking, blink delay: 500
appearance: style: xfce, icons: elementary xubuntu
session and start-up: splash: xubuntu
window manager: style: xfce
window manager tweaks: focus: switch to window's workspace

Install linux xubuntu 10.04 lts miscellaneous software and tools:

ip addr show: tcp/ip configuration network card
ifconfig: tcp/ip configuration network card

run firestarter first
sudo iptables -L -v: firewall table

not used: gconf-editor: editor for the GConf configuration system

ldd program: print shared library dependencies

show hanging programs:
run in Shell:
ps -f
pstree -hp
jobs
fg 1 (i.e.)
control + c
jobs
ps -f

change date and time of file:
touch -d "1998-01-02 14:02:00" testfile.txt
show result: ls --full-time
show readable characters: strings testfile.txt
show both hex and asci characters: xxd testfile.txt
show file statistics, access time etc.: file testfile.txt

traceroute: trace the route taken by packets over a TCP/IP network
e.g.: traceroute -m 90 192.168.1.0
mtr: network diagnostic tool, with pings from the entire route
e.g.: mtr www.speedtest.nl

vi manual, short: arrow keys: hjkl
first press key: escape
write: :w
quit: :q
quite without save: :q!
insert: i
add: a
start of line: ^
end of line: $
copy line: yy
paste line: p
replace: r
delete: x
delete line: dd
undo: u
undo 3x: 3u
5 lines down: 5j
find forward: /wordtofind
find backward: ?wordtofind
scroll forward one screen: control + f
scroll backward one screen: control + b
move to end of file: shift + G

Install and configure xubuntu 10.04 lts linux hardware:

Install and configure hardware:
first check out about hardware and detection:
Run in Shell: tail -f /var/log/messages
Run in Shell: dmesg, or: lspci -v, lspci -vvnn, or: lsusb -v, or: lshw, or: lsmod
(To see whether the hardware was detected)

Mount a physical disk on linux xubuntu 10.04 lts, e.g. a secondary slave:

Mount a physical disk, requirements:
Print partition table in sector order format:
Run in Shell:
sudo cfdisk -Ps /dev/sda
or: sudo fdisk -lu
or: sudo fdisk -lC /dev/sdb
or: sudo parted /dev/sdc print

Startup linux fdisk: sudo cfdisk /dev/sda
select: menu: new, primary, size in MB, beginning, write, quit
type: 0B, 83, 82 (W95 FAT32, Linux, Linux / swap Solaris)
Reboot
partitions: swap: 2000, os: 15000, home: 20000, data: what is left
Remark: only four primary partitions per physical disk are possible and the boot partition should be within 1024 cylinders because of bios limitations
choose from: man mkfs.vfat; man mkfs.ext2; man mkfs.ext3, man mkswap

Make fat32, check for bad clusters, fat32, name volume: data4gb, sectors-per-cluster: 2048, verbose, device /dev/sda5:
sudo mkdosfs -c -F 32 -n data4gb -S 2048 -v /dev/sda5
or for an usb sticky, linux & winxp readable:
sudo mkdosfs -c -F 32 -n data4gb -v /dev/sdc1

Make ext2, block size: 2048, check for bad clusters, label volume: logic1, tell what to do first, verbose, device /dev/sda5:
sudo mke2fs -b 2048 -c -L logic1 -n -v /dev/sda5

Make ext3: block size 4096, check for bad blocks, make ext3 journal, new label name, display or verbose what should be done, device to be formatted
sudo mkfs.ext3 -b 4096 -c -j -L data1 -n -v /dev/sda4
Really make ext3:
sudo mkfs.ext3 -b 4096 -c -j -L data1 -v /dev/sda4
default ext3 block size usually is: 4096

Add swap file:
sudo cfdisk /dev/sda
select: menu: new, primary, type, ..., write, quit
Reboot
sudo mkswap -c /dev/sda1
Use swap temporarily:
sudo swapoff /dev/sdb2
sudo swapon /dev/sda1

Mount a directory not mounted yet on xubuntu 10.04 lts linux:

Mount a directory:
Create directory:
sudo mkdir /media/sda5
when a type error occurs: rm -r sda55
Mount temporarily: sudo mount -t vfat /dev/sda5 /media/sda5
Mount temporarily: sudo mount -t ext3 /dev/sdc1 /media/data
To find out what to add to fstab to identify the disk, the UUID, run:
sudo blkid
other parameters:
media/to/mount
file type
(defaults: sets specific standard rights: rw, suid, dev, exec, auto, nouser, and async
for vfat only:
iocharset=utf8: sets the character set and makes it case sensitive, just like ext is
umask=007: sets the rights: rgo: rwx,rwx,---
gid=46: for plugdev
for all file systems:
the 0 second last: for dump to decide to disable (or enable: 1) backing up of the device/partition
the 2 at the end: for running a file check not first, a 0 for not & a 1 for first: /, usually)

Mount, so add to /etc/fstab:
#/dev/sdb6
UUID=1D07-1A59 /media/sdbfat vfat defaults,iocharset=utf8,umask=007,gid=46 0 2
#/dev/sda6
UUID=47B8-34D6 /media/sdafat vfat defaults,iocharset=utf8,umask=007,gid=46 0 2
# /dev/sda4
UUID="942a7493-7012-41c1-aabc-e2701c92270c" /media/sda4 ext3 defaults,errors=remount-ro 1 2
UUID="27550e33-f2e9-4a9f-996b-c5f4deb4d757" /media/sdb4 ext3 defaults,errors=remount-ro 1 2
# /dev/sda1
UUID=9baa22c4-0cb7-4aaa-a31f-af438bbd6f29 none swap sw 0 0

Which could end up like this:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=06b15a58-23e5-4b72-a4ee-0f3d0aee082c / ext3 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=44047af4-9bfb-4d03-b78a-dcf020a9a300 /home ext3 defaults 0 2

# added partition / disks
# /dev/sda1
UUID=9baa22c4-0cb7-4aaa-a31f-af438bbd6f29 none swap sw 0 0

# /dev/sdb3: LABEL="hodat"
UUID="cd318d63-4e4d-4b91-9ddf-32d7d85e8732" /media/sdb3 ext3 defaults,errors=remount-ro 1 2

# /dev/sda4: LABEL="data1"
UUID="942a7493-7012-41c1-aabc-e2701c92270c" /media/sdb4 ext3 defaults,errors=remount-ro 1 2

# /dev/sdb4: LABEL="data2"
UUID="27550e33-f2e9-4a9f-996b-c5f4deb4d757" /media/sda4 ext3 defaults,errors=remount-ro 1 2

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Reboot
Run in Shell:
cd /
cd media/sdb3
mkdir hodata
ls -l
sudo chown username hodata
cd ~
Create link:
ln -s /media/sdb3/hodata hodat
ln -s /media/sdb4 mydata1
ln -s /media/sda4 mydata2

Install and configure a printer on linux xubuntu 10.04 lts: Brother HL-2140 laser printer:

Install and configure printer: Brother HL-2140:
start up computer, login and plug in usb cable.
menu: applications, system, printing
select: menu: server, settings: advanced server settings job history: do not preserve job history, ok
click: HL-2140_Series
select: printer, properties, policies: policies, error policy: abort job
select: printer options: general, page size: A4
select: printer options: printout mode, resolution, quality: 600 dpi, ok

Install and configure gnome-media: GNOME Sound Recorder on xubuntu 10.04 lts linux:

Install GNOME Sound Recorder, run in Shell:
sudo aptitude install gnome-media
configure GNOME Sound Recorder:
start mixer
sound card: HDA ATI SB (alsa mixer)
tab: playback: microphone, mic boost: volume up
tab: capture: capture: volume up, button enabled: red
tab: playback: master, pcm & front: volume up
tab: switches: select head-phone

- outdated - Install and configure tvtime and remember settings: the fix on xubuntu 10.04 lts linux:

Install and configure a Conceptronic CTVFMi2 tv-radio card, adapt the file in e.g. Shell with sudo Thunar:
No XVideo support on 690G integrated graphic chip-set, this is a problem with the motherboard vga driver.
/etc/modprobe.d/options.conf
add the following line at the bottom of the file:
options saa7134 card=78 tuner=61
save and close the file

Tools for troubleshooting a tv-card:
tvtime show-stats
tvtime -v
tvtime-scanner
fglrxinfo
xvinfo
glxgears
with ati vga cards, try: aticonfig --help

Install and configure tvtime, run in Shell:
sudo aptitude install tvtime
run tvtime and close it
cd ~
sudo chown -c -R root:username .tvtime
sudo chmod -c -R g+rwx .tvtime
Settings: Netherlands / B,G / PAL / Zweiton B/G
http://www.videouniversity.com/articles/world-wide-tv-standards

home/username/.tvtime/tvtime.xml, partial configuration:
DefaultBrightness: 40
DefaultContrast: 35
DefaultSaturation: 80

Install separate xubuntu 10.04 lts linux packages, a manual:

Install a program by copying it in a directory on linux xubuntu 10.04 lts:

Install a program by copying it, run in Shell:
Unzip program in: unzip/pwsafeswt-07
cd /home/username/unzip/
sudo cp -r pwsafeswt-07 /usr/local
cd /
cd usr/local
if your account is member of the group users, otherwise use: username:
sudo chown -c -R root:users pwsafeswt-07
(sudo chmod -c g+rx pwsafe.sh)
run: sh pwsafe.sh
icon command line: sh /usr/local/pwsafeswt-07/pwsafe.sh

Install flash for Mozilla browser on xubuntu 10.04 lts linux:

Install Adobe flash, run in Shell:
sudo aptitude install flashplugin-installer
flashplugin-installer will install: flashplugin-nonfree and other software
not installed but removed again:
swfdec-gnome and swfdec-mozilla: do not play youtube movies
gnash and mozilla-plugin-gnash: do not play youtube movies
verify flash version: http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html:
version check: Version LNX 11.2.202.258 (or updated & higher)

Install Sun java for Mozilla browser on xubuntu 10.04 lts linux:

Install Sun java, run in Shell:
sudo aptitude install default-jre
default-jre will point to the precise version to be installed: openjdk-6-jre (for i386 & amd64)
sudo aptitude install icedtea6-plugin
sudo update-alternatives --config java
verify java version: http://www.javatester.org/version.html
verify java version: http://www.java.com/en/download/installed.jsp?detect=jre
version check: Version 6 Update 24 (or updated & higher)

Solve sound problems.

No sound, movie or music in firefox or totem: Install (gstreamer) media codec plugins for totem-xine: sound, movie or music in firefox or totem on linux xubuntu 10.04 lts:

Install media codec plugins for totem-xine: sound, movie or music in firefox or totem:
totem-xine: simple media player
not installed: xine-ui: gui for the libxine video player library, default program: exaile
totem-plugins-extra: extra plugins
gstreamer0.10-ffmpeg: plugins for audio and video compression formats
gstreamer0.10-plugins-bad: plugins for real-time sound processing, playing videos, not up to par
gstreamer0.10-plugins-ugly: plugins for real-time sound processing, playing videos, a set of good-quality plug-ins that might pose distribution problems
gstreamer0.10-fluendo-mp3: permits decoding of MPEG 1 audio layer III streams

Missing codec plugins for dvb, hdtv or burning an supervideocd on linux xubuntu 10.04 lts:

Install codec plugins for watching dvb, hdtv or burning a svcd:
gstreamer0.10-fluendo-mp3: permits decoding of MPEG 1 audio layer III streams

GNOME sound recorder, for microphone or capture sound recordings:

Install GNOME sound recorder, for e.g. microphone sound recordings:
gnome-media: GNOME sound recorder

Firefox bookmarks, thunderbird old mail files, thunderbird dictionaries, firefox dictionaries.

Install firefox previous installation bookmarks file and exporting bookmarks file on xubuntu 10.04 lts linux:

Install firefox previous bookmarks, firefox menu:
First, to view hidden files: in thunar: menu: view, show hidden files
path: .mozilla/firefox/se0a37el.default/bookmarkbackups/bookmarks-2010-12-24
Copy from your previous xubuntu installation e.g. the file: bookmarks-2009-12-27.json
Install on your new xubuntu installation:
bookmarks, organize bookmarks, import and backup, restore, choose file, browse, open

Or from your previous xubuntu installation:
bookmarks, organize bookmarks, import and backup, export html, browse, save
Install on your new xubuntu installation:
bookmarks, organize bookmarks, import and backup, import html, next, browse, open
browse to the file: bookmarks.html
Producing firefox bookmarks file, firefox menu:
bookmarks, organize bookmarks, import and backup, export html, browse, save

Install, configure, copy thunderbird previous installation mail files on linux xubuntu 10.04 lts:

Install, configure, copy thunderbird previous installation mail files:
Run thunderbird once first, cancel all and quit it
Copy the directory and an ini file below the following subdirectory from the old xubuntu installation to the new one:
/home/username/.mozilla-thunderbird

Install thunderbird dictionaries on xubuntu 10.04 lts linux:

Install thunderbird and firefox 3.0.x or later, dictionaries: thunderbird, menu:
new message, menu: options, check spelling, language: download more dictionaries
tools, add-ons, install, the downloaded .xpi file
install one dictionary by menu if needed, then you can add this and other unzipped .aff & .dic dictionaries to:
/home/username/.mozilla-thunderbird/r1l2uda8.default/extensions/nl-NL@dictionaries.addons.mozilla.org/dictionaries
or where it could also be installed:
/application directory/dictionaries
make the files read only
restart thunderbird

Install firefox dictionaries on linux xubuntu 10.04 lts:

Install firefox and thunderbird 3.0.x or later, dictionaries: after having them installed in thunderbird:
install one dictionary by menu if needed, then you can add other unzipped .aff & .dic dictionaries:
copy this subdirectory with subdirectory and files:
/home/username/.mozilla-thunderbird/r1l2uda8.default/extensions/nl-NL@dictionaries.addons.mozilla.org/dictionaries
to:
/home/username/.mozilla/firefox/28gp9hco.default/extensions/nl-NL@dictionaries.addons.mozilla.org/dictionaries
make the files read only
restart firefox or thunderbird and accept the add-ons extensions

Miscellaneous configurations.

Open ports on firestarter on xubuntu 10.04 lts linux:

Open ports on firestarter:
For p2p and some other networking, opening a port can be useful.
tab: policy, click: allow service, menu: policy: add rule
inbound traffic policy
port: 51413
when the source is: anyone
comment: torrent
press button: add, V
close firewall

Change keyboard layout "us" to "us international" on xubuntu 10.04 lts linux:

Change keyboard layout:
Run in shell: setxkbmap us -variant alt-intl
Run in shell to change back: setxkbmap us -variant

Install S.M.A.R.T. for hard disk error detection on xubuntu 10.04 lts linux:

Install S.M.A.R.T.:
S.M.A.R.T.: (ubuntu) smartmontools: Control and monitor storage systems using S.M.A.R.T.
S.M.A.R.T.: (all) smart-notifier: Graphical hard disk health status notifier.
S.M.A.R.T. usage e.g.: sudo smartctl -s on -t offline /dev/sda; sudo smartctl -l error /dev/sda
S.M.A.R.T. usage e.g.: sudo smartctl -a /dev/sda | less; sudo smartctl -H /dev/sda
S.M.A.R.T. usage e.g.: sudo smartctl -t short /dev/sda; sudo smartctl -t long /dev/sda
S.M.A.R.T. usage e.g.: sudo smartctl -l selftest /dev/sda

Valid XHTML 1.0 Transitional

Valid CSS!

back to begin