Xmodmap icon

Xmodmap

xmodmap is a utility for modifying keyboard mappings and pointer button mappings in Xorg. It allows users to remap keys and buttons and assign different functions without having to edit configuration files directly.

What is Xmodmap?

Xmodmap is a simple utility for modifying keyboard mappings and pointer button mappings in the X Window System. It enables users to easily remap keys and buttons and assign different functions to them without having to directly edit configuration files.

Some common uses of xmodmap include:

  • Swapping Caps Lock and Escape keys
  • Remapping extra mouse buttons to functions like Back/Forward in the browser
  • Disabling annoying keys like the Windows key
  • Changing keyboard layouts on the fly (like Dvorak or Colemak)

Xmodmap works by communicating keycode/keysym mappings to the X server. It avoids having to edit files like xorg.conf directly. The remappings it makes are temporary and only last for the current X session. To make more permanent changes, the key mappings would need to be put in a startup script to run each time the computer starts up.

Overall, xmodmap is a simple but handy utility that makes it easy for advanced Linux users to customize their keyboard and mouse bindings to suit their preferences and workflows without digging into configuration files. It has been around for many years and continues to be included in most Linux distributions by default.

Official Links

Official Website
www.x.org

The Best Xmodmap Alternatives

Top Apps like Xmodmap

SharpKeys, Karabiner Elements, Key Remapper, KeyTweak, Input Remapper, Key Mapper, Kinto, KeyExtender, MapKeyboard, Key Manager, X Keyboard Extension (XKB), Seil, xcape, DoubleCommand, Key Remapper 4dots, Stick Shift are some alternatives to Xmodmap.

SharpKeys

SharpKeys is a small free and open source utility that allows users to easily remap their keyboard keys and assign different functions or layouts. It can be useful for those using nonstandard or laptop keyboards that they want to customize or change to be more ergonomic and efficient.Some key...

Karabiner Elements

Karabiner Elements is a powerful and flexible keyboard customization utility for macOS. It allows you to customize and remap your keyboard keys, modify key behaviors, create complex macros and shortcuts, and more.Some of the key features of Karabiner Elements include:Key remapping - Remap any key to any other...

Key Remapper

Key Remapper is a powerful yet easy-to-use keyboard customization utility for Windows. It allows users to remap existing keys, assign macros and hotkeys, create custom key combinations, and fully customize their keyboard layout and behavior.With Key Remapper, you can boost your productivity by optimizing keyboard shortcuts for the applications...

KeyTweak

KeyTweak is a free, open source software application for Windows that allows users to remap and customize their keyboard keys and mouse buttons. It gives users more control over their input devices by letting them change what actions are assigned to specific keys or buttons.Some of the features of...

Input Remapper

Input Remapper is a customizable keybinding software that allows you to remap keyboard and mouse buttons and inputs to other actions. It includes features such as:Remapping any keyboard key, mouse button or scroll to any other key or mouse actionAssigning macros to keys to automate multiple keypresses and actionsLaunching...

Key Mapper

Key Mapper is a powerful and flexible keyboard remapping utility that gives users complete control over their keyboard inputs. With Key Mapper, you can reassign any key to perform a different function, create custom keyboard shortcuts and hotkeys, program macros that execute complex keystroke sequences, launch applications and websites, integrate...

Kinto

Kinto is an open-source platform for building synchronization services and sharing data across devices. It allows developers to quickly set up backends for apps and websites that need to store, sync, and share data.Some key features and benefits of Kinto include:Simple data model based on groups of records...

KeyExtender

KeyExtender is a powerful keyboard customization software for Windows. It allows users to remap keys, create custom shortcuts and macros to automate repetitive tasks.With KeyExtender, you can:Remap any key on your keyboard to perform a different functionCreate application-specific keymaps that automatically switch when you change programsSet up custom...

MapKeyboard

MapKeyboard is a powerful yet easy-to-use keyboard remapping software for Windows. It allows you to fully customize your keyboard layout in order to improve typing efficiency, reduce repetitive strain injuries, or create specialized keymaps for different applications.With MapKeyboard, you can remap keys, create custom hotkeys, launch apps or macros...

Key Manager

Key Manager is a robust password and credential management solution designed to help individuals and organizations securely store, organize, and manage sensitive login credentials such as passwords, API keys, tokens, and other secret information.It provides a encrypted password vault that uses industry-standard encryption algorithms to protect stored data. Users...

X Keyboard Extension (XKB)

The X Keyboard Extension (XKB) is an X Window System standard for configuring and customizing keyboard layouts and options. It provides capabilities beyond what is offered by the core X protocol, allowing users to:Fully customize and modify keyboard key mappings and functionsSwitch between multiple keyboard layouts (e.g. different...

Seil

Seil is an open-source application for macOS that gives users more control over the modifier keys on Apple keyboards. It allows you to customize the behavior of keys like Caps Lock, Control, Option, and Command in ways that are not normally possible through the standard System Preferences.Some examples of...

Xcape

xcape is a small Linux utility that allows users to assign actions to modifier keys when pressed on their own. For example, it can allow the left Ctrl key to act as the Esc key when pressed by itself.This enables some extra functionality from the keyboard without requiring any...

DoubleCommand

DoubleCommand is a free, open-source software that enhances and expands the capabilities of the standard Windows Command Prompt. It provides multiple tabs, built-in text editing with syntax highlighting, keyboard macros for automation, theming options, plugin support, and many other powerful features.Some of the key benefits of DoubleCommand include:Tabbed...

Key Remapper 4dots

Key Remapper 4dots is a powerful yet easy-to-use keyboard remapping utility for Windows. It enables users to remap keys, assign macros and hotkeys, launch programs and files using custom shortcuts, and customize other keyboard functions.With Key Remapper, you can create custom keymaps for improved productivity and efficiency. For example...

Stick Shift

Stick Shift is an open source Platform-as-a-Service (PaaS) solution developed by Red Hat. It allows developers to easily deploy, manage, and scale cloud-based applications without needing to worry about the underlying infrastructure.Some key features of Stick Shift include:Support for multiple development languages and frameworks including Java, Ruby, Python...