Skip to content

Remap modifier keys on Linux. The [Control], [Win/Super], and [Alt] keys is in the right position for me now.

Notifications You must be signed in to change notification settings

omrobbie/thinkpad-xmodmap-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Xmodmap Configuration

After using the MacBook for a while, I realized that the key behavior and the mouse scrolling was more natural in MacOS. For that reason, I reconfigure my keyboard modifier into MacOS look-alike.

What is this config file do?

  • Remap modifier keys on Linux.
    • [Left Control] as [Left Win/Super]
    • [Left Win/Super] as [Left Alt]
    • [Left Alt] as [Left Control]
    • [Right Alt] as [CapsLock]

Usage:

Just copy .Xmodmap to home directory (~/) or we can use this command below:

cp .Xmodmap ~/

The next step is to restart the computer. Or we can start it immediately using this command below:

xmodmap ~/.Xmodmap

Note:

We can have multiple keyboard layout configuration by creating another .Xmodmap files, for example .Xmodmap-AnnePro as I reconfigure it for my AnnePro keyboard.

setxkbmap -option # for resetting xmodmap configuration
xmodmap ~/.Xmodmap-AnnePro

About

Remap modifier keys on Linux. The [Control], [Win/Super], and [Alt] keys is in the right position for me now.

Topics

Resources

Stars

Watchers

Forks