Linux konfigurieren ed

Zurück zu Computer konfigurieren

Eine kleine Dokumentation, wie man (Debian) Linux und die wichtigsten Programme einrichten kann.

Für Server-spezifisches: Server konfigurieren

System ed

Hier: Debian 4.0

Partitionen ed

In der /etc/fstab angeben:

[Device]     [Mountpoint]    [Dateisystem]     [Optionen]      [Dump]  [Pass]
/dev/hda1    /mnt/point      ext3              user,defaults   1       2
Das mount-Ziel-verzeichnis sollte auch Berechtigungen für den Benutzer haben!

Dateisysteme: vfat, ext3, reiserfs, swap, iso9660, auto

Anwendungen ed

Multimedia ed

Entwicklung ed

Latex ed

nützliche Programme ed

Flash-Plugin: ed

http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=flashplugin-nonfree

Herunterladen und installieren (durch einfaches Anklicken in Nautilus).

ssh ohne Passwort ed

von Rechner A auf Rechner B ohne Passwort zugreifen:

Auf Rechner A:

ssh-keygen -b 2048 -t rsa
# legt 2048Bit Schlüsseldateien id_rsa und id_rsa.pub in ~/.ssh an.

Auf Rechner B:

touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys  
# id_rsa.pub von Rechner A kopieren dann:
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

Tablet-PC-Stift ed

Lenovo/Thinkpad X60.... Wacom-Pen... Ubuntu 8.04

nach http://linuxwacom.sourceforge.net/index.php/howto/main

Test ed

als root eingeben:

xxd /dev/ttyS0

falls Ausgabe kommt, wenn der Stift bewegt wird, ist es gut.... ansonsten muss irgendwas umgebogen werden.

xorg.conf ed

hinzufügen:

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

# This section is for Intuos3, CintiqV5, Graphire4, or Bamboo
Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad"
  Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
  Option        "Type"          "pad"
EndSection

außerdem folgendes in den Abschnitt "ServerLayout" einbauen:

Section "ServerLayout"
	InputDevice    "stylus"    "SendCoreEvents"
	InputDevice    "eraser"    "SendCoreEvents"
	InputDevice    "cursor"    "SendCoreEvents"    # For non-LCD tablets only
	InputDevice    "pad"   # For Intuos3/CintiqV5/Graphire4/Bamboo tablets
EndSection

rechte Maustasts korregieren ed

Der (seitliche Knopf am Stift wird als mittlere Maustaste interpretiert, kann aber mit einem Befehl auf die rechte Maustaste umgelegt werden:

xsetwacom set stylus button2 3

Damit dieser Befehl automatisch bei jedem Starten der Oberfläche ausgeführt wird, kann man ihn in folgende Script-Datei einfügen:

/etc/gdm/PreSession/Default

Die rechte Maustaste wird dann ausgelöst, sobald man bei gedrücktem Knopf mit dem Stift den Bildschirm berührt.

Programme ed

alles mögliche:
http://tuxmobil.org/tablet_unix.html

Schrift-Eingabe:
CellWriter

Journal-Clone (ohne Schrifterkennung, aber mit Pdf):
Xournal

Fortgeschrittenes ed

Kernel compilieren ed

siehe https://help.ubuntu.com/community/Kernel/Compile#AltBuildMethod

Ubuntu auf USB-Stick ed

Dokumentation:
https://help.ubuntu.com/community/Installation/FromUSBStick

Energie sparen ed

von powertop empfohlen:

echo 5 > /sys/bus/pci/drivers/iwl3945/0000:03:00.0/power_level
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
echo 5 > /proc/sys/wm/laptop_mode

sowie: "usbcore.autosuspend=1" an die Kernel-kommandozeile oder in der GRUB Konfiguration anhängen.

Probleme ed

Xorg: Frequenz ed

Um falsche Frequenzen zu beheben:

init 3
dpkg-reconfigure xserver-xorg

Ubuntu 8.04: gksu ed

Nach einem Update lassen sich keine Programme mit root-Rechten mehr ausführen, Prozessliste zeigt gksus als "schlafend" an.

Editiere Datei /etc/hosts. Original:

127.0.0.1 localhost
127.0.1.1 computer_name.domaen_name

ändern zu:

127.0.0.1 localhost
127.0.1.1 computer_name

...oder einfach keine Domäne angeben?

falsche Auflösung auf altem LCD Monitor ed

XOrg benutzt falsche HSync-Werte und verbietet deshalb die hohe Auflösung. Dazu in der xorg.conf eintragen:

Section "Device"
    Identifier      "Configured Video Device"
    Driver          "vesa"
EndSection

Section "Monitor"
    Identifier      "Configured Monitor"
    HorizSync       24.8-61.0             # aus dem Datenblatt
    VertRefresh     55-86                 # ~
EndSection

Section "Screen"
    Identifier      "Default Screen"
    Monitor         "Configured Monitor"
    Device          "Configured Video Device"
    DefaultDepth    24
    SubSection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

viele Interrupts ed

Intel-Grafiktreiber hat kleine Fehler, löst auch im 2d-Modus bei jedem Bild einen Interrupt aus...

Man kann als Notlösung die 3d-Unterstützung ausschalten, indem man in der /etc/X11/xorg.conf einträgt:

Section "Device"
    ...
    Option "NoDRI"
EndSection

Categories: Computer