From e29201006ba4677f838525c729cdd6ea373e2fe9 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Tue, 1 Aug 2023 09:40:12 -0400 Subject: [PATCH] add power profile after setup --- arch.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch.md b/arch.md index f154b9a..b17c0ed 100644 --- a/arch.md +++ b/arch.md @@ -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