add power profile after setup

This commit is contained in:
ducoterra
2023-08-01 09:40:12 -04:00
parent baa902e906
commit e29201006b

29
arch.md
View File

@@ -5,6 +5,7 @@
- [Arch with Gnome](#arch-with-gnome)
- [Installation](#installation)
- [Post Install](#post-install)
- [Power Management](#power-management)
- [TPM2 LUKS Decryption](#tpm2-luks-decryption)
- [Fingerprint Reader Support](#fingerprint-reader-support)
- [AppImage Support](#appimage-support)
@@ -17,6 +18,7 @@
- [XWayland](#xwayland)
- [Wireguard](#wireguard)
- [btrbk](#btrbk)
- [Bashrc](#bashrc)
- [Help](#help)
- [Update Grub](#update-grub)
- [Downgrading Kernel](#downgrading-kernel)
@@ -125,6 +127,30 @@ Set up locale with correct information (required for certain binaries like minec
2. `sudo locale-gen`
### Power Management
1. For laptops install `tlp`
```bash
sudo pacman -S tlp
sudo systemctl enable --now tlp
```
2. For desktops install cpupower
```bash
sudo pacman -S cpupower
systemctl enable --now cpupower
```
Temporarily set power profile with `cpupower frequency-set -g performance`
Edit /etc/default/cpupower
```conf
governor='performance'
```
### TPM2 LUKS Decryption
2. `pacman -S tpm2-tss`
@@ -403,6 +429,9 @@ alias lsd='ls -d */'
## Count the number of files in a directory
alias lsc='find . -type f | wc -l'
## ls sort by last modified ##
alias lmt='ls -t -1'
```
## Help