WimsBits linux xubuntu 12.04 lts

xubuntu 12.04 lts manual  

down to end |

linux xubuntu 12.04 lts

Install and configure xubuntu 12.04 lts linux on a PC.
The (daily used) xubuntu-12.04-desktop-amd64, for use on the AMD64 and the (Intel) EM64T, works fine.

Install xubuntu 12.04 lts linux packages on:
the motherboards:

Dell optiplex 745:

cpu: Intel core 2 cpu, 6300 @ 1.86GHz, bogomips: 7448.05, twice 3724.03 bogomips, 4 GB ram
vga: Intel 965Q Chip-set, 8192K stolen memory
All of the Dell optiplex 745 is working nicely with xubuntu 12.04 installed.
Remark about the Dell playing movie dvd's:
This Dell pc does not play most of my movie dvd's: it refuses to even read them.

MSI-790gx-g65:

cpu: AMD Athlon(tm) II X2 245 Processor stepping 02, brought up 2 CPUs, bogomips: 11629.22, twice 5814.57 bogomips
vga: radeon, RS780 Microcode, 384M of VRAM memory ready
All of the MSI-790gx-g65 is working fine with xubuntu 12.04 installed.
Remark about the MSI playing movie dvd's:
This MSI pc does play most of my movie dvd's: however not all by vcd or dvd menu.

MSI-790gx-g65 (with an ATI Radeon HD 3300 graphics card), the hardware list:
AMD Athlon(tm) II X2 245 processor
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

An installation manual:

Xubuntu 12.04 lts linux, AMD64, 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 (my first xubuntu)
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: dash search has come: uninstall: sudo apt-get purge unity-lens-shopping, log off an on
Ubuntu 13.04 Raring Ringtail
Ubuntu 13.10 Saucy Salamander
Ubuntu 14.04 Trusty Tahr
Ubuntu 14.10 Utopic Unicorn
Ubuntu 15.04 Vivid Vervet
Version installed:
Bash shell: cat /etc/lsb-release

Linux xubuntu 12.04 lts kernel version:

Kernel version at installation date, after first update:
3.2.0-29-31-generic (AMD64 installation, and Intel core 2 duo)
Current kernel version:
3.2.0-72-88-generic

Unable to create file /tmp/test: No space left on device

When updating linux, the 'no space left on device error' appears and an 'unable to create file' message appears. kernel linux-headers modules take too much inodes and a lot of disk space.
Shell command: df -h
no full disk
Shell command: df -i
Filesystem    Inodes    IUsed      IFree      IUse%    Mounted on
/dev/sda6     915712  915712  148770 100%      /
after deleting some files:
Shell command: df -i
Filesystem    Inodes    IUsed      IFree      IUse%    Mounted on
/dev/sda6     915712  879291  36421    97%       /
Shell command: for i in /*; do echo $i; find $i | wc -l; done
many inodes in: /usr, in /usr/src
Shell command for latest kernel version: uname -a
dpkg -l | grep linux-headers
apt-cache search kernel
sudo apt-get purge linux-headers-3.2.0-36-generic
sudo apt-get purge linux-headers-3.2.0-36
and more untill you have about three latest kernel versions left
Shell command: df -h
Filesystem    Size    Used      Avail      Use%    Mounted on
/dev/sda6     14G    3.5G      9.7G      27%      /
Shell command: df -i
Filesystem    Inodes    IUsed      IFree      IUse%    Mounted on
/dev/sda6     915712  216075  699637  24%       /
to clean up the bootmenu, remove old kernels in grup:
sudo update-grub

Bash shell aptitude commands to install xubuntu 12.04 lts, AMD64, linux software packages:

The shell apt software (installing) commands:
Shell apt software commands examples:
sudo apt-get update
apt-cache search ...
apt-cache show (package)
apt-cache depends (package)
apt-cache rdepends (package)
sudo apt-get check (package)
sudo apt-get install (package)
sudo apt-get purge (package): configuration files are deleted too
sudo apt-get autoremove: removes packages installed to satisfy dependencies for other packages
sudo apt-get remove (package): configuration files are not deleted
sudo apt-get autoclean

Set xubuntu 12.04 lts linux, AMD64, sources to add packages with synaptic package manager:

Set sources to add packages, change in: menu: system, update manager: settings:

ubuntu software:
Canonical-supported free and open-source software - main
community-maintained free and open-source software - universe
proprietary drivers for devices - restricted
software restricted by copyright or legal issues - multiverse

other software:
Independent, provided by third-party software developers
Independent (source code), provided by third-party software developers

updates:
Important security updates (precise-security) (12.04)
Recommended updates (precise-updates) (12.04)
Automatically check for updates: daily
When there are security, other, updates: display immediately
close

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

Change ruined xfce 4.8 applications menu short-cuts in xubuntu 12.04 lts

To change the xfce applications menu short-cuts:
Applications menu, settings, settings manager, keyboard:
tab: application short-cuts:
click: xfdesktop --menu, remove, overview, keyboard: tab: application short-cuts:
add: open, xfce4-popup-applicationsmenu: open, ok: <primary> <esc>, overview
By the way: super is the windows key, primary is the control key.
Test and enjoy the result.

Change incomplete url prefix in firefox location bar in xubuntu 12.04 lts

Show prefix: http, in firefox location bar:
type in the address bar: about:config
look for: browser.urlbar.trimURLs click twice and change it to: false
close tab

Customise user account to some admin tasks and sudo member:

Give account some admin tasks and sudo membership, menu: system, users and groups: accounts: type: custom, advanced settings: user privileges: select: configure printers, monitor system logs, use cd-rom drives, use video devices ok
manage groups: sudo: properties: select accounts, ok, close, log off and on
manage groups: users: properties: select accounts, ok, close (optional)


Xubuntu 12.04 lts, AMD64, linux additional software packages:

Open shell to add software packages: menu: accessories, terminal: sudo apt-get install ...
already installed: sudo apt-get install xserver-xorg-video-intel: for vga: Intel 965Q Chip-set vga-cards
a fglrx driver is required by tvtime, and is included this time

Installing flash or gnash:

Close firefox before installing flash or gnash:
gnash: GNU Gnash: plays youtube.com, but not uitzendinggemist.nl
browser-plugin-gnash: plays youtube.com, but not uitzendinggemist.nl
sudo apt-get purge and sudo apt-get autoremove, for both gnash packages
flashplugin-installer: plays youtube.com and uitzendinggemist.nl: required

verify flash version: http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
version check, version at installation date: version: 11.2.202.238, OS: Linux 3.2.0-31-generic (64-bit), browser: Mozilla Firefox
current flash version: 11.2.202.425

Installing java:

To install java, run in Shell: apt-cache show default-jre
points to java (compatible) recommended runtime: openjdk-6-jre
apt-cache show icedtea-plugin
points to icedtea: icedtea6-plugin, dependency package for: icedtea-6-plugin
close firefox before installing java:
openjdk-6-jre: required
icedtea-6-plugin: required
sudo update-alternatives --config java: Nothing to configure

verify java version: http://www.javatester.org/version.html
verify java version: http://java.com/en/download/testjava.jsp
verify java version: http://www.java.com/en/download/installed.jsp?detect=jre
version check, version at installation date: version: java se 6 update 24, OS: Linux 3.2.0-31-generic, architecture: 64-bit
current java version: java se 6 update 33-1

Other additional software packages:

Install additional software packages, run in Shell: file-roller: already installed: archive manager for GNOME
firestarter: linux firewall
gnome-media: GNOME Sound Recorder
gftp-gtk: linux ftp client
smartmontools: linux SMART program
sysinfo: system info
tvtime: high quality television application for use with video capture cards
xawtv: XawTV is an X11 application which displays television channels

Install linux xubuntu 12.04 lts gstreamer0.10-plugins for gmusicbrowser or parole, or movie, sound, or music in firefox:

Not all movies, sound, or music plays in firefox, gmusicbrowser or parole, so install:
Install gstreamer0.10-plugins for gmusicbrowser or parole: so all movies can be played on linux xubuntu 12.04 lts:
gmusicbrowser: default graphic jukebox for large collections of mp3/ogg/flac/mpc files
parole: default media player based on GStreamer framework
gstreamer0.10-plugins-bad: already installed
gstreamer0.10-plugins-ugly: from real-time sound processing to playing videos, a set of good-quality plug-ins that might pose distribution problems
gstreamer0.10-ffmpeg: already installed, many audio and video compression formats
gstreamer0.10-fluendo-mp3: permits decoding of MPEG 1 audio layer III streams
xubuntu-restricted-extras
sudo apt-get purge xubuntu-restricted-extras, sudo apt-get autoremove
libdvdread4: already installed
chmod 660 /dev/sr0; chgrp cdrom /dev/sr0 (replace with the path to your dvd drive) in order to get videos to play: not solving anything on the dell
for help if it still does not play dvd:
https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs
Parole and gxine, installed below, play video dvd's. But not by menu, but by browsing the video file, e.g. dvd/video_ts/vts_01_1.vob straight away.

Make music play in firefox in xubuntu 12.04 lts linux xfce:

Install gxine and gxineplugin plugin, to play music in firefox:
gxine
gxineplugin

When audio and video plays too fast on internet or a mediaplayer like gmusicbrowser, parole or gxine:

Audio and video playing too fast:
menu: applications menu, multimedia, pulseaudio volume control:
tab: playback: available when playing flash on firefox internet: alsa plug-in: select: build-in audio analogue stereo
tab: configuration: rs780 hdmi audio, radeon hd 3000-3300 series : unselect and select again: digital stereo (HDMI) output (or: off, for xawtv), analogue stereo output and analogue stereo input

Configure xfce linux xubuntu 12.04 lts desktop with xfce settings manager:

To configure xfce: menu: applications menu, settings, settings manager
appearance: tab: style: crux, tab: icons: elementary xubuntu dark
overview
file manager: tab: display, default view: view new folders using: detailed list view
tab: advanced: unselect enable volume management
close
keyboard: tab: behavior, typing settings: enable: enable key repeat, repeat delay: 500, repeat speed: 50 and
cursor: enable: show blinking, blink delay: 500
overview
panel: panel 2: remove
close
power manager: general: unselect: monitor power management control
overview
screen saver: tab: display modes: mode: only one screensaver, blank: after 60 minutes, select: lock screen after 0 minutes
tab: advanced: display power management: select: power management enabled, standby, suspend and off after 120 minutes
quit
session and start-up: tab: splash: mice
overview
window manager: tab: style: theme: default-4.6
overview
window manager tweaks: tab: focus: when a window raises itself: switch to window's workspace
tab: workspaces: unselect: use the mouse wheel on de desktop to switch workspaces
overview, close

Install xubuntu 12.04 lts linux miscellaneous software and tools:

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 + z
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

show help of a command, e.g. aptitude:
man aptitude
info aptitude
aptitude -h
aptitude --help

overwrite file or disk random and with zero's with shred:
shred -v -z file zeroed.doc
shred --verbose /dev/sda5
remove file:
rm zeroed.doc

Some handsome Shell commands, for e.g. wiping, formatting and writing files on a disk:

more information about a command is found by running man before or --help after a command in Shell
sudo blkid
sudo cfdisk /dev/sdc, primary, type 83
sudo chown -c -R root:userx dataxx
sudo chmod -c -R g+w datayy
cp file filecopy
sudo dd if=/dev/zero of=/dev/sda2
sudo dd if=/dev/zero of=/dev/sdc1
160039239680 bytes (160 GB) copied, 26405.2 s, 5.8 MB/s, taking 7 hours, 21 minutes on seagate barracuda 7200.7
sudo dd if=/dev/zero of=/dev/sdc
dd: writing to `/dev/sdc': No space left on device
160041885696 bytes (160 GB) copied, 16096.5 s, 9.5 MB/s, taking 4 hours, 29 minutes on seagate barracuda 7200.10
sudo fdisk -lu
find ~/ -name main*
find ~/ -mtime -3 -name main*
sudo mkfs.ext3 -b 4096 -c -j -L dataxy -n -v /dev/sdc1
(demo, remove -n for real format), 160 GB taking less than 2 hours on barracuda 7200.7 and 45 minutes on 7200.10
sudo mke2fs -b 4096 -c -L dataxy -n -v -t ext4 -T big /dev/sdc1
(demo, remove -n for real format), 160 GB taking less than 1 hour and 15 minutes on barracuda 7200.7 and 45 minutes on 7200.10
sudo mount -t ext4 /dev/sdc1 /media/data
mkdir datazz
mv file1 file2
sudo parted /dev/sdc1 print
rsync -av /media/sda4/datax/ /media/data/datayz/datay/
disk with ext3: sent 78872829052 bytes received 75859 bytes 44699861.10 bytes/sec, 74 GB takes 30 minutes on seagate barracuda 160 GB 7200.10, 42.6 MB/sec.
disk with ext4: sent 78936974809 bytes received 76391 bytes 49536900.66 bytes/sec, 47.2 MB/sec on a barracuda 7200.7.
disk with ext4: sent 78940388470 bytes received 76410 bytes 60934361.16 bytes/sec 58.1 MB/sec on a barracuda 7200.10.
disk with ext4: sent 80600053377 bytes received 70018 bytes 59373939.89 bytes/sec, 56.6 MB/sec on barracuda 7200.10.

Some handsome Shell network commands:

dig
host
ifdown eth0
ifup eth0
ip a
ip addr show
ip addr add dev eth0 192.168.0.1/16
ip addr del dev eth0 172.16.2/12
ip link show
ip neigh show
ip route show
ip route add dev eth0 10.0.0.3 via 172.19.0.4
ip route del dev eth0 172.23.6.5 via 10.0.49.6
service iptables save
iptables -L -v
iptables -A INPUT -m limit --limit 15/minute -j LOG
iptables -A OUTPUT -m limit --limit 15/minute -j LOG
mtr: network diagnostic tool, with pings from the entire route
e.g.: mtr www.speedtest.nl
nstat
ping 192.168.214.7
ping6 -I eth0 fc00::6
ss
su - username: substitute user login with profile
tracepath, tracepath6: traces path to a network host discovering MTU along this path
e.g.: tracepath 192.168.99.8

a network configuration example, for e.g. centos 6.3 or redhat 6.3:
/etc/hosts:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.2 centos1.localdomain centos1
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=centos1.localdomain

/etc/sysconfig/network-scripts\ifcfg-eth0
DEVICE="eth0"
BOOTPROTO=static
NM_CONTROLLED=no
ONBOOT=yes
IPADDR=192.168.0.3
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1=62.58.48.30
in xubuntu, please configure the network manually, prevents you from getting a headache

Vim manual, short:

arrow keys: hjkl
first press key: escape
add: a
copy line: yy
delete: x
delete line: dd
down 5 lines: 5j
end of line: $
end of file: shift + G
find forward: /wordtofind
find backward: ?wordtofind
insert: i
insert line: o
insert from other window : insert mode, <ctrl>+<shift>+<ins>
join line: J
paste line: p
replace: r
scroll forward one screen: control + f
scroll backward one screen: control + b
search forward: /wordtofind
start of line: 0
write: :w
quit: :q
quite without save: :q!
undo: u
undo 3x: 3u
http://www.cedet.dk/ours/vim.html
ASCI html codes, regularly used: # % & ( ) + - / : ; < = > ?@ | é ë € ï " ® ™
ASCI html codes, add: & before: #35; # #37; % amp; & #40; ( #41; ) #43; + #45; - #47; / #58; : #59; ; #60; < #61; = #62; > #63; ? #64; @ #124; | eacute; é euml; ë euro; € iuml; ï quot; " reg; ® trade; ™

Install and configure linux xubuntu 12.04 lts 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 xubuntu 12.04 lts linux, e.g. a secondary slave:

Mount a physical disk in linux, 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
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.ext4; man mkfs.ext3; man mkfs.ext2; man mke2fs; man mkswap, man mkdosfs or man mkfs.vfat

Make fat32, check for bad blocks, 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 blocks, label volume: data0, tell what to do first, verbose, device /dev/sda5:
sudo mke2fs -b 2048 -c -L data0 -n -v /dev/sda5
sudo mke2fs -b 2048 -c -L data0 -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

Make ext4: block size: 4096, check for bad blocks, label volume: dataxy, tell what will be done first, verbose, type filesystem: ext4, type filesystem usage: big:
sudo mke2fs -b 4096 -c -L dataxy -n -v -t ext4 -T big /dev/sdc1
Default ext3 and ext4 block size usually is 4096, see /etc/mke2fs.conf.
Format options:
Type filesystem usage: ext4 has a default usage of huge_file with an inode_ratio of 65536.
Type filesystem usage: default file has inode_ratio 16384, used for disks around 4 TB.
Type filesystem usage: big file has inode_ratio 32768, for disks of about 16 TB.
mkfs creates:
block size 4096, 4886528 inodes, 39072718 blocks, 1193 block groups, 32768 blocks per group, 4096 inodes per group, with big file
This would be 9773056 inodes with default file type filesystem usage on a 160 GB disk.

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 linux xubuntu 12.04 lts:

Mount a directory in linux:
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/sda4 /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' 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/sda6 during installation
UUID=71e519a3-3fde-44fa-a65a-bc7d73c8ac6e / ext3 errors=remount-ro 0 1
# /home was on /dev/sda7 during installation
UUID=2e2fa04b-8d3d-41e7-9ab1-1fcaeeb725cc /home ext3 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=48b4da3f-20e5-493d-b384-00743feae951 none swap sw 0 0

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

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

# dev/sdb3 LABEL="hodat2"
UUID="44047af4-9bfb-4d03-b78a-dcf020a9a300" /media/sdb3 ext3 defaults,errors=remount-ro 1 2

# dev/sdb2 LABEL="root"
UUID="06b15a58-23e5-4b72-a4ee-0f3d0aee082c" /media/sdb2 ext3 noauto,ro,nouser 0 0
# dev/sdb1 swap

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

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 xubuntu 12.04 lts linux: Brother HL-2140 laser printer:

Install and configure printer: Brother HL-2140:
start up computer, login and plug in usb cable.
menu: applications menu, 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: 600x600 dpi, ok

Install separate linux xubuntu 12.04 lts packages, a manual:

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

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 -R g+rx pwsafe.sh)
cd pwsafe.sh)
run: sh pwsafe.sh
icon command line: sh /usr/local/pwsafeswt-07/pwsafe.sh

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

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

Install firefox previous bookmarks, firefox menu:
First, to view hidden files: in file manager (thunar) : menu: view, show hidden files
path: /home/username/.mozilla/firefox/hrf3ljke.default/bookmarkbackups/
Copy from your previous xubuntu installation e.g. the file: bookmarks-2012-12-16.json
Install on your new xubuntu installation:
bookmarks, show all bookmarks, import and backup, restore, choose file, browse, select file, open

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

Install, configure, copy thunderbird previous installation email files on xubuntu 12.04 lts linux:

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

Install thunderbird dictionaries on linux xubuntu 12.04 lts:

Install thunderbird 17.0.x or later, dictionaries: thunderbird, menu:
new message, menu: options, check spelling, language: download more dictionaries
menu: tools, add-ons, get add-ons, English dictionary, search, install
or: tools for all add-ons, install add-on from file, select the downloaded .xpi file
install one dictionary by menu if needed, then you can add this and other unzipped .aff & .dic dictionary files to:
/home/username/.thunderbird/r1l2uda8.default/extensions/nl-NL@dictionaries.addons.mozilla.org/dictionaries/
make the files read only
or where it could also be installed, the application directory:
/usr/lib/thunderbird/dictionaries/
default the en-GB or en_US files are present here
Rename the file extension here with sudo rights, if you are uncomfortable with some languages.
restart thunderbird

Install firefox dictionaries on xubuntu 12.04 lts linux:

Install firefox 17.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 dictionary files:
menu: tools, add-ons, get add-ons, English dictionary, search, install
or: copy the following missing subdirectory with subdirectory and files:
/home/username/.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
or where it could also be installed, the application directory:
/usr/lib/firefox/dictionaries/
Rename the file links here with sudo rights, if you are uncomfortable with some languages.
or where it could also be installed, the addons directory:
/usr/lib/firefox-addons/extensions
default the en-GB or en_US files are present here
restart firefox, the added languages should work, but can be invisible with the the add-ons.

Miscellaneous configurations.

Open ports on firestarter on linux xubuntu 12.04 lts:

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

Install and configure tvtime and remember settings: the fix on xubuntu 12.04 lts linux:

Install and configure a Conceptronic CTVFMi2 tv-radio card, adapt the file in e.g. Shell with sudo Thunar:
first check Conceptronic CTVFMi2 tv-radio card installation:
run: Shell: dmesg or open this file at /var/log/ and look for:
[ 9.806346] saa7133[0]: subsystem: 17de:7136, board: UNKNOWN/GENERIC [card=0,autodetected]
this states it is not detected
open with sudo rights:
/etc/modprobe.d/options.conf
create and add the following line to the file:
options saa7134 card=78 tuner=54 alsa=1
save and close the file, reboot computer, when correct, computer does not hang :-)
run: Shell: dmesg or open this file at /var/log/ and look for:
[ 9.972099] saa7133[0]: subsystem: 17de:7136, board: ASUSTeK P7131 Dual [card=78,insmod option]
[ 10.036104] input: saa7134 IR (ASUSTeK P7131 Dual) as /devices/pci0000:00/0000:00:14.4/0000:04:05.0/rc/rc0/input5
[ 10.203140] i2c-core: driver [tuner] using legacy suspend method
[ 10.203141] i2c-core: driver [tuner] using legacy resume method
[ 10.276005] tuner 0-004b: Tuner -1 found with type(s) Radio TV.
[ 10.364047] tda829x 0-004b: setting tuner address to 61
[ 10.440061] tda829x 0-004b: type set to tda8290+75a
this makes tvtime show movie, but without sound

next check, the vga-card driver:
run: Shell: sudo lspci -vv: and: sudo lshw, for some similar data:
stating, among other things:
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS780D [Radeon HD 3300] (prog-if 00 [VGA controller])
Kernel driver in use: radeon
Kernel modules: radeon
04:05.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev d1)
Kernel driver in use: saa7134
Kernel modules: saa7134
the radeon RS780, HD3300 card is technically called R600 family
so the vga-card uses the ati radeon driver, supporting TV-out; 2D, Textured XVideo and 3D acceleration, see: run: Shell: man radeon
the tv-card uses the saa7134 driver, nice
the package to use for the correct vga driver should be, not tested however: xserver-xorg-video-ati, installing: xserver-xorg-video-radeon

Install and configure xawtv and remember settings: the fix on linux xubuntu 12.04 lts:

Install and configure a Conceptronic CTVFMi2 tv-radio card, adapt the file in e.g. Shell with sudo Thunar:
first check Conceptronic CTVFMi2 tv-radio card installation:
run: Shell: dmesg or open this file at /var/log/ and look for:
[ 9.806346] saa7133[0]: subsystem: 17de:7136, board: UNKNOWN/GENERIC [card=0,autodetected]
this states it is not detected
open with sudo rights:
/etc/modprobe.d/options.conf
create and add the following line to the file:
options saa7134 card=78 tuner=54 alsa=1
save and close the file, reboot computer, when correct, computer does not hang :-)

run: Shell: xawtv
right click on xawtv window: options: click on: auto unmute and mute, till sound mute is off
further options: pal, television, frequency table: europe-west
click E, channel editor, add channel, update, save, close, and in the home folder a .xawtv file is created

Install S.M.A.R.T. for hard disk error detection on xubuntu 12.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