index | archlinux

Package

makepkg

  1. Download PKGBUILD from https://aur.archlinux.org/ or somewhere.
  2. Install by makepkg -si

Prefs

brightness

Backlight - ArchWiki

system

Startup

systemd FAQ - ArchWiki

次のようなファイルを作り、 /etc/systemd/system/myrc.service として保存

[Unit]
Description=My script

[Service]
ExecStart=/usr/local/bin/myrc.sh

[Install]
WantedBy=multi-user.target

Enable it.

# systemctl enable myrc.service

Create script file and chmod +x.

acpi 周りの設定とか

現状、 acpi に関わるのは acpid, systemd-logind, laptop-mode-tools がある?

フタを閉じるとサスペンドするのは /etc/systemd/logind.conf に設定されてるせい。 HandleLidSwitch=ignore にすることで無効にする。

network

無線を使うわけでなく、ネットワークが突然切れる可能性があるサーバなので、 wicd やめて ifplugd 使うことにした

Network Configuration - ArchWiki

$ sudo pacman -S ifplugd
$ sudo systemctl enable ifplugd@eth0.service
$ sudo systemctl enable dhcpcd@eth0
$ sudo systemctl disable wicd.service