User Tools

Site Tools


lenovo_thinkpad_t460s

This is an old revision of the document!


Arch Linux Installation

  1. gparted bootbaren USB-Stick erstellen, von diesem booten.
  2. Sämtliche Partitionen außer der EFI System-Partition löschen, diese von 260 auf 512M erweitern.
  3. neue Partition /dev/nvme0n1p2 erstellen mit restlichem Platz
  4. vom bootbaren Arch-USB-Stick booten

WLAN

https://wiki.archlinux.org/index.php/Wireless_network_configuration

wpa_passphrase SSID password > /etc/wpa_supplicant/mywlanconnection.conf
wpa_supplicant -B -i wlp4s0 -c /etc/wpa_supplicant/mywlanconnection.conf
dhcpcd wlp4s0

File System

mount /dev/nvme0n1p2 /mnt
mkdir /mnt/boot
mount /dev/nvme0n1p1 /mnt/boot

Swap file

https://wiki.archlinux.org/index.php/swap fallocate -l 512M /mnt/swapfile
chmod 600 /mnt/swapfile
mkswap /mnt/swapfile
swapon /mnt/swapfile

Boot manager

systemd-boot (gummiboot):
bootctl –path=/boot install
e2label /dev/nvme0n1p2 ROOT
bootctl –path=/boot update

/etc/mkinitcpio.conf: MODULES=“crc32_generic crc32-pclmul libcrc32c crc32c_generic crc32c-intel”

mkinitcpio -p linux

LXDE

pacman -S lxde –> Standardeinstellungen, alle Pakete auswählen
pacman -S xorg-xinit –> ~/.xinitrc erstellen, dort u.a. exec startlxde eintragen https://wiki.archlinux.org/index.php/Xinit

Touchpad

Sound

pacman -S alsa-utils
alsamixer: unmute (m) speakers

Font configuration

pacman -S xorg-xrdb
use .Xresources file:
Xft.lcdfilter: lcddefault
Xft.antialias: true
Xft.autohint: 0
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.rgba: rgb
Xft.dpi: 96

https://wiki.archlinux.org/index.php/x_resources
https://wiki.archlinux.org/index.php/font_configuration
xrdb –merge .Xresources

USB Automount

udev-rule anlegen: http://kissmyarch.blogspot.de/2011/10/usb-automount.html
oder autofs installieren..? (zeigt keine Wirkung) udev-rule funktioniert momentan nur read-only, und nur für USB-Stick, nicht für die Kamera. Immerhin.
https://wiki.archlinux.de/title/Udev
https://wiki.archlinux.org/index.php/USB_Storage_Devices#As_normal_user_with_mount

AUR (Arch User Repository)

Installation von yaourt

https://wiki.archlinux.de/title/yaourt
pacman -S base-devel
pacman -S wget
pacman -S diffutils

Nitrokey

https://www.nitrokey.com/documentation/installation#p:nitrokey-pro&os:linux
pacman -S ccid
laut Anleitung die libccid_info.plist anpassen (Nitrokey Kennungen eintragen)
udev-rule für den Nitrokey erstellen (evtl. beim Installieren der Nitrokey-App erledigt?)
udev neustarten? Keine Ahnung wie. Angeblich findet udev die neuen rules selbst…
pacman -S snapd
systemctl enable –now snapd.socket
sudo snap install nitrokey-app
rechner neustarten, dann kann nitrokey-app mit Fn+Alt+F2 gestartet werden, Nitrokey wird beim Reinstecken erkannt
http://xmodulo.com/linux-security-with-nitrokey-usb-smart-card.html
btw: using subkeys… https://wiki.fsfe.org/TechDocs/CardHowtos/CardWithSubkeysUsingBackups

Gajim

OMEMO-Plugin braucht python-axolotl. Abhängigkeit python-axolotl-curve25519 muss aus irgendeinem Grund manuell installiert werden.
yaourt -S python-axolotl-curve25519
yaourt -S python-axolotl

Sonic Pi

yaourt -S sonic-pi
Installation von ruby-rugged schlägt fehl: falsche Version von libgit2 erwartet (0.25, installiert ist 0.26) (–use-system-libraries sollte aktuell installierte Version nehmen)
Das scheint ein Problem mit openssl1.1.0 zu sein. Empfehlung ist, alles mögliche mit openssl1.0 zu kompilieren. Funktioniert nicht wirklich besser. Gaaaa.

Docker

sudo pacman -S docker
sudo systemctl enable docker.server (startet docker automatisch beim Hochfahren)
Neustarten, weil neues Kernelmodul bridge installiert wird…

Email Backup

sudo pacman -S offlineimap
openssl s_client -connect imap.provider.de:993 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin

lenovo_thinkpad_t460s.1518382970.txt.gz · Last modified: 2018/02/11 21:02 by admin

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki