Compare commits

...

4 Commits

Author SHA1 Message Date
Administrator f44e5a44d6 docs: update Archguide 2019-11-06 00:04:53 +00:00
Administrator 07b0d13f8b docs: update Archguide 2019-11-06 00:04:21 +00:00
Administrator 323507451d docs: update Archguide 2019-11-06 00:03:51 +00:00
Administrator d06517dc05 docs: update Archguide 2019-11-06 00:02:34 +00:00
1 changed files with 26 additions and 7 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:04:52.555Z
tags: tags:
--- ---
@ -174,7 +174,7 @@ Read the [pacman rosetta](https://wiki.archlinux.org/index.php/Pacman/Rosetta).
TL;DR, `pacman -Syu thingy1 thingy2 ...` to install thingy1 and thingy2. TL;DR, `pacman -Syu thingy1 thingy2 ...` to install thingy1 and thingy2.
## sudo doesn't work ## sudo doesn't work
It works, you are just not allowed to run commands as root. It works, you are just not allowed to use it.
Login as root and edit /etc/sudoers. Login as root and edit /etc/sudoers.
`nano /etc/sudoers` `nano /etc/sudoers`
@ -182,17 +182,36 @@ 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.
This daemon tunes tunables inside the heavily tunable Linux kernel so you have a semblance of battery life.
## 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 in general
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.
## Battery life is nonexistent
The TLP 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.
``` ```
systemctl enable --now tlp tlp-sleep systemctl enable --now tlp tlp-sleep
systemctl mask systemd-rfkill systemctl mask systemd-rfkill.socket
``` ```
### 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.