Amarok 1.4 installieren
Bei Jaunty ist standardmäßig Amarok 2 in den Repos.
- Sources.list erweitern: deb http://ppa.launchpad.net/bogdanb/ppa/ubuntu jaunty main
- Schlüssel anfordern: sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com AE74AE63
- Amarok 2 entfernen: sudo apt-get purge amarok
- Amarok 1.4 installieren: sudo apt-get install amarok14
- KDE-Sprache auf Deutsch: KDE_LANG=de_AT
- Multimedia-Key-Script installieren: http://www.kde-apps.org/content/show.php?content=60910
ScrollButton bei Trackball
Der mittlere Button zum Scrollen mit dem Trackball funktioniert nicht out of the box.
Lösungsweg gefunden, funktioniert aber NICHT:
- sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi
- Einfügen:
<?xml version=”1.0″ encoding=”UTF-8″?>
<match key=”info.product” string=”TPPS/2 IBM TrackPoint”>
<merge key=”input.x11_options.EmulateWheel” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelButton” type=”string”>2</merge>
<merge key=”input.x11_options.XAxisMapping” type=”string”>6 7</merge>
<merge key=”input.x11_options.YAxisMapping” type=”string”>4 5</merge>
<merge key=”input.x11_options.ZAxsisMapping” type=”string”>4 5</merge>
<merge key=”input.x11_options.Emulate3Buttons” type=”string”>true</merge>
</match> - Speichern und neu starten.
Möglicher anderer Code:
<match key=”info.product” string=”TPPS/2 IBM TrackPoint”>
<merge key=”input.x11_options.EmulateWheel” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelButton” type=”string”>2</merge>
<merge key=”input.x11_options.ZAxisMapping” type=”string”>4 5</merge>
<merge key=”input.x11_options.XAxisMapping” type=”string”>6 7</merge>
<merge key=”input.x11_options.Emulate3Buttons” type=”string”>true</merge>
<merge key=”input.x11_options.EmulateWheelTimeout” type=”string”>200</merge>
</match>
Crypted-LVM-Disc mounten
Da meine gesamte Festplatte mit LVM verschlüsselt ist, ist es bei einem Problem etwas komplizierter auf die Festplatte zuzugreifen.
Als Live-CD habe ich die Ubuntu 9.04 Desktop (alle Versionen abwärts haben Probleme mit dem X-Server) verwendet.
- sudo apt-get install cryptsetup lvm2
- sudo cryptsetup luksOpen /dev/sda1 root
- sudo lvmdiskscan
- sudo vgchange -ay
- ls -l /dev/mapper
crw-rw—- 1 root root 10, 63 May 2 11:43 control
brw-rw—- 1 root disk 254, 0 May 2 11:50 DEVICENAME
brw-rw—- 1 root disk 254, 3 May 2 11:58 vgcrypt-lvhome
brw-rw—- 1 root disk 254, 1 May 2 11:58 vgcrypt-lvroot
brw-rw—- 1 root disk 254, 2 May 2 11:58 vgcrypt-lvscratch - sudo mkdir /media/root-laptop/
- sudo mount /dev/mapper/itrasha-root /media/root-laptop
- Fertig!
Quelle: http://ragnermagalhaes.blogspot.com/2007/05/mounting-lvm-crypt-filesystem.html
Fingerprint
FingerPrint
Not working:
- http://wiki.ubuntuusers.de/ThinkFinger
- Probleme mit Package aus den Repos, deswengen aktuelle Version von Launchpad
„deb http://ppa.launchpad.net/thjaeger/ppa/ubuntu jaunty main“ als Quelle eintragen
Installieren: sudo apt-get install thinkfinger-tools libpam-thinkfinger - Nach Wiki installiert
- /etc/pam.d/common-auth nur 1 Zeile editiert („auth required pam_unix.so try_first_pass nullok_secure„)
- Fehler: Beim Login kann der Fingerprint nicht verwendet werden!
Hard Disc Active Protection System
Hard Disc Active Protection System (HDAPS)
One of the cool features in a Thinkpad is HDAPS or IBM Active Protection System as it’s called.
The system consist of two parts. The driver that enables reading the acceleration data and some sort of userspace software that does the actual parking of the harddrive heads, usually hdapsd.
The hdaps driver is part of the kernel but the driver maintainers actually recommend using the tp-smapi driver instead. So that’s what we’ll do.
Start by making sure you have the necessary tools installed
$ sudo apt-get install build-essential module-assistant
Luckily it’s in the package repository (universe)
$ sudo m-a a-i tp-smapi
this will fetch and install the tp-smapi-source package, unpack the source and then compile and install the kernel module.
Try loading it:
$ sudo modprobe tp_smapi $ sudo modprobe hdaps
The kernel log should show something like this:
[ 1546.780684] thinkpad_ec: thinkpad_ec 0.37 loaded. [ 1546.784125] tp_smapi 0.37 loading... [ 1546.784406] tp_smapi successfully loaded (smapi_port=0xb2). [ 1571.445942] hdaps: LENOVO ThinkPad T61 detected, setting orientation 1 [ 1571.446111] hdaps: initial mode latch is 0x05 [ 1571.446265] hdaps: setting ec_rate=250, filter_order=2 [ 1571.446493] hdaps: device successfully initialized. [ 1571.446607] input: ThinkPad HDAPS joystick emulation as /devices/virtual/input/input13 [ 1571.469284] input: ThinkPad HDAPS accelerometer data as /devices/virtual/input/input14 [ 1571.505138] hdaps: driver successfully loaded.
For some reason some configuration for udev is missing. Fix this by running
echo 'KERNEL=="event[0-9]*", ATTRS{phys}=="hdaps/input1",ATTRS{modalias}=="input:b0019v1014p5054e4801-*",SYMLINK+="input/hdaps/accelerometer-event"' | sudo tee /etc/udev/rules.d/51-hdaps.rules
Now for the userspace stuff. First let us test if APS is actually working.
$ sudo apt-get install hdaps-utils
After installation you can use hdaps-pivot or hdaps-gl to verify that the sensors are working
The hdapsd package in Jaunty does not support the new smapi interface. I have created a package based on the latest revision of hdapsd. It also fixes a problem with the init-script.
With the stock init-script you get an error like this:
* Not starting hdapsd: /sys/block/hda/queue/protect does not exist, please read /usr/share/doc/hdapsd/README.Debian
This happens because the init-script actually checks for the APS interface in /sys (this is no longer supported).
Removing the call to do_checkprotect during startup fixes this.
hdapsd in Jaunty is old. There is a PPA with newer versions.
Add the PPA to your repository list
$ cat | sudo tee /etc/apt/sources.list.d/hdapsd.list << EOF > deb http://ppa.launchpad.net/jonasped/ppa/ubuntu jaunty main > deb-src http://ppa.launchpad.net/jonasped/ppa/ubuntu jaunty main > EOF
And add the PPA key
$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 45EA2DEACE74152B61554DE4036A90F2BEFC6EB4
and then update the package list and install the package
$ sudo apt-get update $ sudo apt-get install hdapsd
Remember to edit /etc/default/hdapsd to match your system.
Installing the Gnome Applet:
Download at http://www.zen24593.zen.co.uk/hdaps/
Unzip on Desktop
sudo apt-get install libpanel-applet2-dev cd Desktop/gnome-hdaps-applet-20081204 gcc $(pkg-config --cflags --libs libpanelapplet-2.0) -o gnome-hdaps-applet gnome-hdaps-applet.c sudo cp gnome-hdaps-applet /usr/bin/ sudo mkdir /usr/share/pixmaps/gnome-hdaps-applet/ sudo cp *.png /usr/share/pixmaps/gnome-hdaps-applet/ sudo cp GNOME_HDAPS_StatusApplet.server /usr/lib/bonobo/servers/
Toggle Touchpad
Erst wird ein Script geschrieben, welches das Touchpad aktiviert bzw. deaktiviert.
#!/bin/bash
#
# Touchpad ein-/ausschalten
#
# Root?
if [ ! $( id -u ) -eq 0 ]; then
sudo $0 $1
exit 1
fi
lsmod | grep -q psmouse && rmmod psmouse || modprobe psmouse
Es wird in eine Datei abgespeichert und ausführbar gesetzt.
Nun legt man einen Symbolic-Link ins /usr/bin um das Script ohne Pfad ausführen zu können:
sudo ln -s /home/alex/Dokumente/Scripts/touchpad /usr/bin/touchpad
Nun muss das Script in die Sudoers eingetragen werden:
- sudo visudo
- Folgendes wird am Ende eingetragen:
#Toggle Touchpad
alex ALL = NOPASSWD: /usr/bin/touchpad
Nun wird das Script auf die Tastenkombination gelegt. Über System -> Einstellungen -> Tastenkombinationen können seit Jaunty eigene gesetzt werden.
Aktuelle (nicht beseitigte) Probleme
- Wicd ohne Notification (Bei nächster Beta bereits möglich)
- Fingerprint funktioniert nicht
- Ruhezustand -> Kann nicht aufgewecket werden
- Scroll-Taste zu Trackball funktioniert nicht
Konfiguration des Systems
Compiz (3D-Desktop)
- Aktivieren des proprietären Nvidia-Treiber (System – Systemverwaltung – Hardwaretreiber)
- Installation des Settings-Manager (sudo apt-get install compizconfig-settings-manager)
Installation des Druckers
- System
- Systemverwaltung
- Drucker
- Neu
- Netzwerk-Drucker
- LPD/LPR Host or Printer
- IP des Routers eingeben
- Drucker-Typ auswählen
- Fertig
Installation der Codecs
- sudo apt-get install libxvidcore4 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-ffmpeg gstreamer0.10-pitfdll
- DVD und XViD funktionieren
- VLC „XVideo Output“-Fenster deaktivieren:
Source eintragen: deb http://ppa.launchpad.net/kow/ppa/ubuntu jaunty main
sudo apt-get update
sudo apt-get upgrade
Installation der Software
Ubuntu von der 9.04 Alternative installiert, Root-Partition (gesamte Platte) mittels LVM verschlüsselt.
Folgende Software über APT installiert:
- VLC
- Amarok
- K3b
- Wicd
- KFTPGrabber
- Dia
- GThumb
- XCHM
- Gimp
- XChar
- Java 6 JDK (sun-java6-jdk)
- Firefox – Neuere Version 3.5 (firefox-3.5)
Manuell installiert:
- Skype (download auf Skype.com)
- VMWare (sudo ./VMware-Workstation-6.5.0-118166.i386.bundle)
- Eclipse
Download auf Eclipse.org – „Eclipse Classic“
tar xvfz eclipse-SDK-xxx-linux-gtk.tar.gz
sudo mv /ort/zum/ordner/eclipse /opt
sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse
Firefox Plugins:
- FlashPlugin
- Better GMail 2
- FoxyProxy
- MediaPlayerConnectivity
- Tab Mix Plus
- Webmail Notifier
Doch nicht installiert:
- Google Gears
Pidgin-Plugins:
- pidgin-blinklight
Sicherung der Daten
Schritt 1 beim neu aufsetzen des Systems: SICHERN!
- Gesamtes Dateisystem
- Bookmarks, Passwörter, Erweiterungen aus Firefox
- Liste der Programme die Installiert sind und eventuelle Einstellungen
- KFTPGrabber Bookmarks