add power profile after setup
This commit is contained in:
29
arch.md
29
arch.md
@@ -5,6 +5,7 @@
|
|||||||
- [Arch with Gnome](#arch-with-gnome)
|
- [Arch with Gnome](#arch-with-gnome)
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
- [Post Install](#post-install)
|
- [Post Install](#post-install)
|
||||||
|
- [Power Management](#power-management)
|
||||||
- [TPM2 LUKS Decryption](#tpm2-luks-decryption)
|
- [TPM2 LUKS Decryption](#tpm2-luks-decryption)
|
||||||
- [Fingerprint Reader Support](#fingerprint-reader-support)
|
- [Fingerprint Reader Support](#fingerprint-reader-support)
|
||||||
- [AppImage Support](#appimage-support)
|
- [AppImage Support](#appimage-support)
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
- [XWayland](#xwayland)
|
- [XWayland](#xwayland)
|
||||||
- [Wireguard](#wireguard)
|
- [Wireguard](#wireguard)
|
||||||
- [btrbk](#btrbk)
|
- [btrbk](#btrbk)
|
||||||
|
- [Bashrc](#bashrc)
|
||||||
- [Help](#help)
|
- [Help](#help)
|
||||||
- [Update Grub](#update-grub)
|
- [Update Grub](#update-grub)
|
||||||
- [Downgrading Kernel](#downgrading-kernel)
|
- [Downgrading Kernel](#downgrading-kernel)
|
||||||
@@ -125,6 +127,30 @@ Set up locale with correct information (required for certain binaries like minec
|
|||||||
|
|
||||||
2. `sudo locale-gen`
|
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
|
### TPM2 LUKS Decryption
|
||||||
|
|
||||||
2. `pacman -S tpm2-tss`
|
2. `pacman -S tpm2-tss`
|
||||||
@@ -403,6 +429,9 @@ alias lsd='ls -d */'
|
|||||||
|
|
||||||
## Count the number of files in a directory
|
## Count the number of files in a directory
|
||||||
alias lsc='find . -type f | wc -l'
|
alias lsc='find . -type f | wc -l'
|
||||||
|
|
||||||
|
## ls sort by last modified ##
|
||||||
|
alias lmt='ls -t -1'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Help
|
## Help
|
||||||
|
|||||||
Reference in New Issue
Block a user