Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/freed-wu/symbols

A backup of my computer's configuration.
https://github.com/freed-wu/symbols

dotfiles keymap linux x11 xkb

Last synced: 9 days ago
JSON representation

A backup of my computer's configuration.

Awesome Lists containing this project

README

        

# my-x11-keymaps
A backup for the config file of my computer.

## Usage ##

: Swap Capslock and Ctrl_R in X11.
: Change Alt_R to Esc in X11.

**NOTE:** Only work in X11 or Wayland.
NOT console.

## Install ##

```sh
cd /usr/share/X11/xkb/symbols
sudo chown $USER:$USER .
git clone [email protected]:Freed-Wu/my-keymaps
mv my-keymaps/.git* .
git reset --hard
```

## Related Projects ##

- [Freed-Wu/my-keymaps](http://github.com/Freed-Wu/my-keymaps): my keymaps in console
- [Freed-Wu/etc](http://github.com/Freed-Wu/etc): my keymaps in Windows.
- [My keymap in Android](https://github.com/Freed-Wu/symbols/releases/download/v0.1.0/ExKeyMo.Keyboard.Layout.apk)
Need [exkeymo-web](https://github.com/ris58h/exkeymo-web).
It swaps:

- capslock and ctrl
- cmd and alt
- esc and home
- power and delete

```sh
# uninstall old
adb uninstall ris58h.exkeymo_keyboard_layout
adb install ExKeyMo.Keyboard.Layout.apk
```

`res/Q2.kcm`:

```kcm
type OVERLAY

# Modifications made by ExKeyMo project:
map key 111 POWER
map key 1 HOME
map key 56 META_LEFT
map key 58 CTRL_RIGHT
map key 125 ALT_LEFT
map key 116 FORWARD_DEL
map key 172 ESCAPE
map key 97 CAPS_LOCK
```