Linux System Configuration
Description | Arch | Alpine | Debian | Void |
---|---|---|---|---|
Laptop Lid Switch Fix | set HandleLidSwitch=ignore in /etc/systemd/logind.conf
|
set HandleLidSwitch=ignore in /etc/elogind/logind.conf
| ||
Time Zone | ln -s /usr/share/zoneinfo/<Country>/<City> /etc/localtime
|
ln -s /etc/zoneinfo/<Country>/<City> /etc/localtime
| ||
Locale Availability | ${EDITOR} /etc/locale.gen; locale-gen
|
apk add musl-locales
| ||
Locale Selection | ${EDITOR} /etc/locale.conf
|
${EDITOR} /etc/profile.d/locale.sh
| ||
Keymap | set KEYMAP and FONT in /etc/vconsole.conf
|
setup-keymap
| ||
Console Font | ${EDITOR} /etc/conf.d/consolefont; rc-update add consolefont boot
| |||
Hostname | ${EDITOR} /etc/hostname
|
${EDITOR} /etc/hostname
| ||
Hosts | ${EDITOR} /etc/hosts
|
${EDITOR} /etc/hosts
| ||
Initramfs | ${EDITOR} /etc/mkinitcpio.conf; mkinitcpio -P
|
${EDITOR} /etc/mkinitfs.conf; mkinitfs
| ||
SMARTd | set DEVICESCAN -n standby,15,q -s (S/../.././02) in /etc/smartd.conf
|
set DEVICESCAN -n standby,15,q -s (S/../.././02) in /etc/smartd.conf
| ||
Limit Logs | Set SystemMaxUse=64M in /etc/systemd/journald.conf
|
|||
systemd-resolved with avahi |
set MulticastDNS=no in /etc/systemd/resolved.conf
|