xremap

github.com/xremap/xremap Linux & Mac Apps Open-source projectOpen source

xremap remaps keyboard keys on X11 and Wayland, according to its repository description.

github.com/xremap/xremap
xremap homepage screenshot

About xremap

xremap is an open source key remapper for Linux that works on both X11 and Wayland. It uses evdev and uinput to change how keys behave, and its configuration file can be generated from any language because it is JSON-compatible. The project describes it as a replacement for xmodmap that adds app-specific remapping and Wayland support.

The configuration has three parts: modmap, keymap, and configuration options. Users can remap single keys, key combinations, and key sequences, and can assign different actions to a key depending on whether it is tapped or held. The repository lists installation through community-maintained packages for several distributions, plus a single binary from its release page. Running xremap with sudo is the documented default. Running it without sudo requires additional setup steps described in the installation instructions. The homepage describes the project as a Linux tool, and it does not document macOS support, although macOS appears among its tags.

Key features

  • Remaps single keys, key combinations, and key sequences
  • Assigns different actions to a key when tapped alone or held
  • Application-specific and device-specific remapping
  • Automatically remaps newly connected devices when started with --watch
  • Emacs-style key remapping, including mark mode
  • Triggers commands on key press and release events
Best for: Linux users who want to remap keys on X11 or Wayland, including remapping that differs by application or by keyboard device.
Good for
  • Written in Rust, which the project describes as faster than JIT-less interpreters such as Python
  • Open source, with the code and configuration examples in a public GitHub repository
  • Works under both X11 and Wayland because it uses evdev and uinput
Watch out for
  • Running without sudo requires separate setup steps beyond the basic install
  • Distribution packages come from community repositories, and the project notes that the meaning of its package variants is still under discussion

xremap at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

xremap alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

walk

github.com/antonmedv/walk

walk navigates files in a terminal interface as an alternative to cd and ls, with keyboard controls for moving through folders.

Open source
24 alternatives

Popular in Linux & Mac Apps

Well-known listings from the same topic.

All 196

xremap FAQ

Does xremap work on Wayland?
Yes. The project states that xremap supports both X11 and Wayland, and it is described as an alternative to xmodmap that also supports Wayland.
Can xremap apply different remappings to different applications?
Yes. The features list includes application-specific remapping, which the project says works even when the application itself does not support it.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing