Skip to content

Commit

Permalink
Add macOS keymap bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
akheron committed May 7, 2021
1 parent 8a78567 commit e8758ed
Show file tree
Hide file tree
Showing 6 changed files with 1,159 additions and 11 deletions.
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# My XKB config
# My keyboard layout

My keyboard layout is basically [Colemak] with [Mod-DHk], keeping most
of the local Finnish symbols from the `fi` keymap in place.
Expand Down Expand Up @@ -102,6 +102,8 @@ When both Caps Lock and Left Alt are pressed:

## Usage

### X11

Copy the file `akheron` to `/usr/share/X11/xkb/symbols`.

Activate the layout: `setxkbmap -rules evdev -model pc105 -layout
Expand All @@ -122,17 +124,11 @@ Section "InputClass"
EndSection
```

## Known issues

For some reason, key repeat stops working if the keymap is made
persistent as described above. It can be fixed by running the
following shell script after X has started, e.g. in `~/.xinitrc`:
### macOS

```
for keycode in $(seq 8 255); do
xset r $keycode
done
```
Open the `akheron.bundle` folder in Keyboard Installer, install for the current
user. Open Settings -> Keyboard -> Input methods and find select the `Colemak -
akheron` layout under the the Finnish language.

[DreymaR's Big Bag of Keyboard Tricks]: https://github.com/DreymaR/BigBagKbdTrixXKB
[Colemak]: https://colemak.com
Expand Down
21 changes: 21 additions & 0 deletions akheron.bundle/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
<string>org.sil.ukelele.keyboardlayout.akheron</string>
<key>CFBundleName</key>
<string>akheron</string>
<key>CFBundleVersion</key>
<string></string>
<key>KLInfo_Colemak - akheron</key>
<dict>
<key>TICapsLockLanguageSwitchCapable</key>
<false/>
<key>TISInputSourceID</key>
<string>org.sil.ukelele.keyboardlayout.akheron.colemak-akheron</string>
<key>TISIntendedLanguage</key>
<string>fi</string>
</dict>
</dict>
</plist>
Binary file not shown.
Loading

0 comments on commit e8758ed

Please sign in to comment.