-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux Window Managers
Complete beginner-friendly guide to window managers on Linux, covering Arch Linux, CachyOS, and other distributions including i3, Awesome, bspwm, Sway, Wayfire, Qtile, Hyprland, and more.
- Understanding Window Managers
- i3 Window Manager
- Awesome Window Manager
- bspwm
- Sway (Wayland)
- CachyOS-Specific Window Managers
- Other Window Managers
- Troubleshooting
Window manager manages windows on your screen.
What it does:
- Window placement: Places windows on screen
- Window behavior: Controls window behavior
- Keyboard shortcuts: Provides shortcuts
- Workspaces: Manages workspaces
Types:
- Tiling: Windows arranged automatically
- Floating: Windows can overlap
- Compositing: Visual effects and animations
Arch Linux / CachyOS:
# Install i3
sudo pacman -S i3-wm i3status i3lock dmenu
# For gaps
yay -S i3-gapsCachyOS with settings:
# Install i3 with CachyOS settings
sudo pacman -S i3 cachyos-i3wm-settingsDebian/Ubuntu:
sudo apt install i3 i3status i3lock dmenuConfigure i3:
# Create config
mkdir -p ~/.config/i3
cp /etc/i3/config ~/.config/i3/config
# Edit config
vim ~/.config/i3/configKey bindings:
Mod key = Windows/Super key
Mod+Enter: Terminal
Mod+D: Application launcher
Mod+Shift+Q: Close window
Mod+Shift+E: Exit i3
Reload config:
Super + Shift + R
Arch Linux / CachyOS:
# Install Awesome
sudo pacman -S awesome
# Launch
awesomeConfigure Awesome:
# Create config
mkdir -p ~/.config/awesome
cp /etc/xdg/awesome/rc.lua ~/.config/awesome/rc.lua
# Edit config
vim ~/.config/awesome/rc.luaArch Linux / CachyOS:
# Install bspwm
sudo pacman -S bspwm sxhkd
# Configure
mkdir -p ~/.config/bspwm
vim ~/.config/bspwm/bspwmrc
# Hotkey daemon
vim ~/.config/sxhkd/sxhkdrcArch Linux / CachyOS:
# Install Sway
sudo pacman -S sway swaybg swayidle swaylock
# Configure
mkdir -p ~/.config/sway
cp /etc/sway/config ~/.config/sway/config
# Edit config
vim ~/.config/sway/configInstall Wayfire:
# Install Wayfire
sudo pacman -S wayfire
# With CachyOS settings
sudo pacman -S wayfire cachyos-wayfire-settingsWhat is Wayfire:
- Compositing window manager
- Wayland-based
- Modern and fast
- Good for CachyOS
Install Qtile:
# Install Qtile
sudo pacman -S qtile
# With CachyOS settings
sudo pacman -S qtile cachyos-qtile-settingsWhat is Qtile:
- Tiling window manager
- Written in Python
- Highly configurable
- Good for developers
Install Niri:
# Install Niri
yay -S niri
# With CachyOS settings
sudo pacman -S niri cachyos-niri-settingsWhat is Niri:
- Scrollable tiling window manager
- Wayland-based
- Modern design
- Good for productivity
Install Hyprland:
# Install Hyprland
yay -S hyprland
# Or from AUR
yay -S hyprland-gitWhat is Hyprland:
- Dynamic tiling compositor
- Wayland-based
- Beautiful animations
- Highly customizable
Install Openbox:
# Install Openbox
sudo pacman -S openbox
# Configure
mkdir -p ~/.config/openbox
cp /etc/xdg/openbox/rc.xml ~/.config/openbox/rc.xmlInstall dwm:
# Install dwm
sudo pacman -S dwm
# Or build from source
git clone https://git.suckless.org/dwm
cd dwm
make && sudo make installCheck config:
# Check i3 config
i3-config-wizard
# Check Sway config
sway -C ~/.config/sway/configReload config:
# i3
Super + Shift + R
# Sway
Super + Shift + CThis guide covered window managers for Arch Linux, CachyOS, and other distributions, including i3, Awesome, bspwm, Sway, and CachyOS-specific options like Wayfire, Qtile, and Niri.
- Desktop Environments - Desktop environments
- Display Server Configuration - X11 vs Wayland
- Desktop Environment Keybinds - Keyboard shortcuts
- ArchWiki Window Managers: https://wiki.archlinux.org/title/Window_manager
This guide covers Arch Linux, CachyOS, and other Linux distributions. CachyOS-specific window managers and settings packages are highlighted where applicable.