Arch Linux Laptop Configuration - ryzendew/Linux-Tips-and-Tricks GitHub Wiki

Arch Linux Laptop Configuration Guide

Complete beginner-friendly guide to configuring Arch Linux on laptops, including battery optimization, power management, touchpad, function keys, and laptop-specific settings.


Table of Contents

  1. Power Management
  2. Function Keys
  3. Laptop Mode Tools
  4. Battery Monitoring
  5. Thermal Management

Power Management

TLP

Install TLP:

# Install TLP
sudo pacman -S tlp tlp-rdw

# Enable
sudo systemctl enable tlp
sudo systemctl start tlp

Power Profiles

Use power profiles:

# Install power-profiles-daemon
sudo pacman -S power-profiles-daemon

# Set profile
powerprofilesctl set balanced
powerprofilesctl set performance
powerprofilesctl set power-saver

⌨ Function Keys

Function Key Configuration

Configure function keys:

# Check function keys
xev | grep -A 2 --line-buffered '^KeyRelease' | sed -n '/keycode /p'

# Map keys
xmodmap -e "keycode 232 = XF86MonBrightnessDown"

Backlight Control

Control backlight:

# Install light
sudo pacman -S light

# Increase brightness
light -A 10

# Decrease
light -U 10

Laptop Mode Tools

Install LMT

Install tools:

# Install laptop-mode-tools
sudo pacman -S laptop-mode-tools

# Enable
sudo systemctl enable laptop-mode
sudo systemctl start laptop-mode

Battery Monitoring

Battery Tools

Monitor battery:

# Install tools
sudo pacman -S acpi upower

# Check battery
acpi -V
upower -i /org/freedesktop/UPower/devices/battery_BAT0

Thermal Management

Thermal Configuration

Configure thermal:

# Install thermald
sudo pacman -S thermald

# Enable
sudo systemctl enable thermald
sudo systemctl start thermald

Temperature Monitoring

Monitor temperature:

# Install sensors
sudo pacman -S lm_sensors

# Detect sensors
sudo sensors-detect

# View sensors
sensors

Summary

This guide covered laptop power management, function keys, battery monitoring, and thermal management.


Next Steps


This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.