https://github.com/unclechu/x11-my-custom-layouts
My customized keyboard layouts
https://github.com/unclechu/x11-my-custom-layouts
Last synced: 8 months ago
JSON representation
My customized keyboard layouts
- Host: GitHub
- URL: https://github.com/unclechu/x11-my-custom-layouts
- Owner: unclechu
- Created: 2016-05-08T16:30:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-30T04:09:24.000Z (over 9 years ago)
- Last Synced: 2024-12-27T22:20:57.397Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
My customized keyboard layouts
==============================
It supposed to be used with
[xlib-keys-hack](https://github.com/unclechu/xlib-keys-hack/) tool.
Provides these layouts:
* `mine(us)`
* `mine(ru)`
Usage
-----
1. Copy `mine` xkb symbols file to system directory:
```bash
$ sudo ./copy-to-system.sh
```
2. Apply these layouts (put these commands to your session autostart script):
```bash
$ setxkbmap -layout 'mine(us),mine(ru)'
$ "./xmodmaps.sh" # hack the caps lock for the xlib-keys-hack
```
It would be a good idea to replace `./` before `xmodmaps.sh` to path to
directory of this cloned repo, especially if you add this command to your
session autostart script.
Since these hacked layouts supposed to be used with the `xlib-keys-hack` you
usually use these commands in your session autostart script:
```bash
setxkbmap -layout 'mine(us),mine(ru)'
"foo/xmodmaps.sh"
(killall xlib-keys-hack ; "bar/xlib-keys-hack") \
0/dev/null 2>/dev/null &
```
Where `foo/` is path to this cloned repo and `bar/` is path to directory
that contains `xlib-keys-hack` built binary file.
Executing `xmodmaps.sh` here is very important, because we need mapped real
`Caps Lock` key to let `xlib-keys-hack` tool detect this key number to
trigger real `Caps Lock` pressing.
Author
------
[Viacheslav Lotsmanov](https://github.com/unclechu)
License
-------
Public domain. You able to use it and distribute any way you can imagine
without any limitations.