sxhkd als Linux-Alternative zu Microsoft PowerToys
Aktualisiert am
Unser Fazit
sxhkd is a good replacement for Microsoft PowerToys only if your primary need is keyboard-driven window management and custom shortcuts, especially under a tiling window manager like bspwm. It excels at lightweight, scriptable hotkeys defined in a config file, making it ideal for advanced users comfortable with manual setup. However, it lacks GUI tools, screenshot annotation, and system-wide automation features PowerToys provides. You’ll need additional tools for full functionality, so it’s best suited for minimalists who rely on keyboard control and already use or are willing to adopt a tiling WM.
- Lizenz
- MIT
- Preis
- Kostenlos
- Aktuelle Version
- 0.6.3
- Bewertung
- —
Was gleich funktioniert
- Both allow custom keyboard shortcuts for system control
- Support window management through hotkeys
- Enable automation of desktop workflows
- Allow real-time config reloading without restart
- Run quietly in the background
Was anders ist
- sxhkd has no GUI or system tray; PowerToys offers interactive tools
- No built-in screenshot or annotation in sxhkd
- sxhkd doesn't support keyboard remapping at the hardware level
- PowerToys includes file explorers, color pickers, and text extractors; sxhkd does none
- sxhkd requires a tiling WM for full utility, PowerToys works with standard desktops
Ihre Microsoft PowerToys-Dateien öffnen
sxhkd does not support importing Microsoft PowerToys configuration files. PowerToys settings are stored in JSON or system-specific formats, while sxhkd uses a plain-text config file with its own syntax. There is no direct conversion tool, and mapping equivalent functionality must be done manually. Users must rewrite shortcuts and workflows based on behavior, not file compatibility.
Von Microsoft PowerToys zu sxhkd wechseln – Schritt für Schritt
- Install sxhkd via your distro’s package manager (e.g., apt install sxhkd)
- Choose or set up a compatible window manager like bspwm
- Copy default sxhkdrc to ~/.config/sxhkd/sxhkdrc
- Replace PowerToys shortcuts with equivalent sxhkd key commands
- Start sxhkd manually or add to your desktop session startup
Wichtige Funktionen von sxhkd
- Benutzerdefinierte Tastaturkürzel in einer reinen Textkonfigurationsdatei definieren
- Unterstützung für Modifikatortasten (Strg, Alt, Super) und Kombinationen
- Konfiguration kann ohne Neustart neu geladen werden
- Leichtgewichtig und schnell, minimaler Ressourcenverbrauch
- Entwickelt für den Einsatz mit tiling-Fenstermanagern wie bspwm
- Unterstützung für komplexe Tastfolgen und verkettete Befehle
- Läuft als Hintergrunddaemon (kein Systemtray oder GUI)
sxhkd unter Linux installieren
sudo apt install sxhkdsudo apt install sxhkdsudo dnf install sxhkdsudo pacman -S sxhkdsudo zypper install sxhkdHäufige Fragen
Can sxhkd remap keys like PowerToys Keyboard Manager?
No, sxhkd does not remap physical keys. For that, you need tools like xmodmap or hwdb. sxhkd only binds key combinations to commands after the system registers them.
Does sxhkd work with GNOME or KDE?
It can run, but its value is limited. sxhkd shines with tiling WMs like bspwm or i3. On GNOME or KDE, window control is better handled by built-in shortcuts or extensions.
How do I reload sxhkd after changing the config?
Run pkill -USR1 -x sxhkd or bind a key combo to sxhkd -c ~/.config/sxhkd/sxhkdrc & to reload without reboot.