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
Table of Contents
- Linux konfigurieren
- System
- Partitionen
- Anwendungen
- Multimedia
- Entwicklung
- Latex
- nützliche Programme
- Flash-Plugin:
- ssh ohne Passwort
- 32bit-Bibliotheken
- Tablet-PC-Stift
- Test
- xorg.conf
- rechte Maustasts korregieren
- Programme
- Fortgeschrittenes
- Kernel compilieren
- Ubuntu auf USB-Stick
- Energie sparen
- Probleme
- Xorg: Frequenz
- Ubuntu 8.04: gksu
- falsche Auflösung auf altem LCD Monitor
- viele Interrupts
- Hardware Beep
- Xfce mit Gtk3
- WLAN auf Yoga13
- Helligkeit auf Yoga13
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
Dateisysteme: vfat, ext3, reiserfs, swap, iso9660, auto
Anwendungen ed
- kanji-fonts in größerer/skalierbarer Auflösung
Multimedia ed
- amarok
- mplayer, kmplayer
Entwicklung ed
- g++
- gtk (lib) (libgtk2.0-dev?)
- gdk...? (lib) (libgdk-pixbuf2, libgdk-pixbuf-dev?)
- alsa (lib)
- openal (lib) (libopenal-dev?)
- xmode...? (lib) (libxxf86vm-dev)
- glu (lib)
Latex ed
- kile (Editor)
- texlive-base
- texlive-math-extra
nützliche Programme ed
- ssh
- maxima, wxmaxima
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
32bit-Bibliotheken ed
- ia32-libs
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 'gksu's 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
EndSectionviele 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"
EndSectionHardware Beep ed
Nerviges Piepsen abstellen...
In Datei /etc/modprobe.d/blacklist hinzufügen:
blacklist pcspkr
oder (einmalig aber sofort) als Befehl
sudo rmmod pcspkr
Xfce mit Gtk3 ed
den Inhalt eines vorhandenen Gtk3-Themas kopieren, z.B.
cp -r /usr/share/themes/Radiance/gtk-3.0/ ~/.config/
WLAN auf Yoga13 ed
(Ubuntu 13.10)
Von https://github.com/lwfinger/rtl8723au :
cdgit clone https://github.com/lwfinger/rtl8723au.git . make sudo insmod 8723.ko bzw sudo make install
Helligkeit auf Yoga13 ed
von https://github.com/thrull/lenovo-yoga-brightness-control/tree/master
sudo ./install.sh