xbindkeys als Linux-Alternative zu X-Mouse Button Control
Aktualisiert am
Unser Fazit
xbindkeys is a solid replacement for X-Mouse Button Control if you're comfortable with command-line configuration and scripting. It handles remapping mouse buttons and triggering actions system-wide, including running commands and simulating keystrokes. While it lacks built-in GUI tools and per-application profiles, its text-based config is powerful and persistent. It works well for users who want lightweight, reliable mouse button remapping on X11. Not ideal for those who prefer point-and-click setup, but excellent for tinkerers and minimalists.
- Lizenz
- GPL-2.0
- Preis
- Kostenlos
- Aktuelle Version
- 1.8.7
- Bewertung
- —
Was gleich funktioniert
- Both allow remapping of mouse buttons to different actions
- Support triggering commands or simulated keystrokes
- Work across reboots with saved configuration
- Support multiple input devices
- Allow use of modifiers like Ctrl, Alt, Shift in bindings
Was anders ist
- xbindkeys has no GUI; configuration is done manually in a text file
- X-Mouse Button Control offers per-application profiles; xbindkeys requires scripting to achieve similar behavior
- xbindkeys only works on X11, not Wayland
- No built-in preview or testing interface in xbindkeys
- X-Mouse Button Control supports more advanced mouse hardware features out of the box
Ihre X-Mouse Button Control-Dateien öffnen
xbindkeys does not support importing X-Mouse Button Control configuration files. The two programs use entirely different formats and approaches. There is no known converter or tool to automatically translate .cfg or .xml files from X-Mouse Button Control into xbindkeysrc format. You must manually recreate bindings based on the logic of the original setup.
Von X-Mouse Button Control zu xbindkeys wechseln – Schritt für Schritt
- Install xbindkeys using your distro's package manager (e.g., sudo apt install xbindkeys)
- Generate a default config with xbindkeys --defaults > ~/.xbindkeysrc
- Use xbindkeys -k to detect mouse button codes
- Edit ~/.xbindkeysrc to map buttons to commands or key simulations
- Add xbindkeys to your desktop session startup
- Test and adjust bindings as needed
Wichtige Funktionen von xbindkeys
- Beliebige Tasten oder Maustasten einem Shell-Befehl zuweisen
- Tastfolgen und Tastendrücke simulieren
- Unterstützt Modifikatoren wie Ctrl, Alt, Shift und Super
- Über eine einfache Textdatei konfigurierbar
- Funktioniert mit X11-Anzeigeservern
- Geringer Ressourcenverbrauch
- Kann Skripte oder Anwendungen sofort auslösen
xbindkeys unter Linux installieren
sudo apt install xbindkeyssudo apt install xbindkeyssudo dnf install xbindkeyssudo pacman -S xbindkeyssudo zypper install xbindkeysHäufige Fragen
Can xbindkeys distinguish between different mice?
Yes, xbindkeys can differentiate between multiple mice by using device-specific identifiers in conjunction with tools like xinput or udev rules, though it requires manual setup.
Does xbindkeys work with laptops or touchpads?
It works with any input device recognized by X11, but is best suited for external mice. Touchpad remapping is possible but often better handled by libinput or xinput.