Linux System Configuration: Difference between revisions
Jump to navigation
Jump to search
Initial page creation |
m Formatting |
||
Line 3: | Line 3: | ||
|- | |- | ||
| Laptop Lid Switch Fix | | Laptop Lid Switch Fix | ||
| set <code>HandleLidSwitch=ignore</code> in <code>/etc/systemd/logind.conf</code> | | set <code>HandleLidSwitch=ignore</code><br />in <code>/etc/systemd/logind.conf</code> | ||
| set <code>HandleLidSwitch=ignore</code> in <code>/etc/elogind/logind.conf</code> | | set <code>HandleLidSwitch=ignore</code><br />in <code>/etc/elogind/logind.conf</code> | ||
|- | |- | ||
| Time Zone | | Time Zone | ||
Line 11: | Line 11: | ||
|- | |- | ||
| Locale Availability | | Locale Availability | ||
| <code>${EDITOR} /etc/locale.gen; locale-gen</code> | | <code>${EDITOR} /etc/locale.gen;</code><br /><code>locale-gen</code> | ||
| <code>apk add musl-locales</code> | | <code>apk add musl-locales</code> | ||
|- | |- | ||
Line 19: | Line 19: | ||
|- | |- | ||
| Keymap | | Keymap | ||
| rowspan=2 | <code> | | rowspan=2 | set <code>KEYMAP</code> and <code>FONT</code><br />in <code>/etc/vconsole.conf</code> | ||
| <code>setup-keymap | | <code>setup-keymap | ||
|- | |- | ||
| Console Font | | Console Font | ||
| <code>${EDITOR} /etc/conf.d/consolefont; rc-update add consolefont boot</code> | | <code>${EDITOR} /etc/conf.d/consolefont;</code><br /><code>rc-update add consolefont boot</code> | ||
|- | |- | ||
| Hostname | | Hostname | ||
Line 38: | Line 38: | ||
|- | |- | ||
| Limit Logs | | Limit Logs | ||
| Set <code>SystemMaxUse=64M</code> in <code>/etc/systemd/journald.conf</code> | | Set <code>SystemMaxUse=64M</code><br />in <code>/etc/systemd/journald.conf</code> | ||
| | | | ||
|} | |} |
Revision as of 10:14, 27 April 2021
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
| ||
Limit Logs | Set SystemMaxUse=64M in /etc/systemd/journald.conf
|