docs: update Archguide

This commit is contained in:
Administrator 2019-11-06 00:02:34 +00:00 committed by FOSC
parent 2f1af1ae49
commit d06517dc05
1 changed files with 22 additions and 4 deletions

View File

@ -2,7 +2,7 @@
title: Arch Linux Install guide title: Arch Linux Install guide
description: description:
published: true published: true
date: 2019-11-05T23:55:19.047Z date: 2019-11-06T00:02:33.261Z
tags: tags:
--- ---
@ -182,8 +182,10 @@ Login as root and edit /etc/sudoers.
Uncomment (remove the #) from this line near the end of the file. Uncomment (remove the #) from this line near the end of the file.
`# %wheel ALL=(ALL) ALL` `# %wheel ALL=(ALL) ALL`
## Laptops ## Connecting to wifi via cli
### TLP Use `nmtui` to control NetworkManager from a terminal.
## TLP
This daemon tunes tunables inside the heavily tunable Linux kernel so you have a semblance of battery life. This daemon tunes tunables inside the heavily tunable Linux kernel so you have a semblance of battery life.
Install `tlp` and enable it, which is quirky. Install `tlp` and enable it, which is quirky.
@ -192,7 +194,9 @@ systemctl enable --now tlp tlp-sleep
systemctl mask systemd-rfkill systemctl mask systemd-rfkill
``` ```
### NVIDIA Optimus You can technically also install it in normal desktops and it makes some difference in wall power draw.
## NVIDIA Optimus
Install `nvidia` and `nvidia-utils` as normal. Install `nvidia` and `nvidia-utils` as normal.
These by default will hijack your screen and run everything with the NVIDIA card. The NVIDIA control panel allows you to turn the GPU off completely. These by default will hijack your screen and run everything with the NVIDIA card. The NVIDIA control panel allows you to turn the GPU off completely.
@ -214,6 +218,20 @@ Finally, to allow the card to turn off completely when unused, install `bbswitch
More information [can be found at the usual place](https://wiki.archlinux.org/index.php/NVIDIA_Optimus) More information [can be found at the usual place](https://wiki.archlinux.org/index.php/NVIDIA_Optimus)
## Bluetooth doesn't even exist
Install `bluez` and `bluez-utils` and enable the service `systemctl enable --now bluetooth`.
Bluetooth audio needs `pulseaudio-bluetooth`.
When using a minimal desktop environment you can try some of the applets such as `blueman` or `gnome-bluetooth` to control it.
## Audio quirks
Always install `pavucontrol` to completely manage your audio needs.
Mics by default come muted. Unmute it and/or boost it.
A similar deal happens with bluetooth audio, by default it runs on basically analog phone emulation mode.
Change to high quality audio profile to not instantly die upon music playback.