Linux System Configuration
| Description | Arch | Alpine | Debian | Void |
|---|---|---|---|---|
| Laptop Lid Switch Fix | set HandleLidSwitch=ignorein /etc/systemd/logind.conf
|
set HandleLidSwitch=ignorein /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 FONTin /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
| ||
| Limit Logs | Set SystemMaxUse=64Min /etc/systemd/journald.conf
|