Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Create bundle for easier installation
Browse files Browse the repository at this point in the history
It will also put the Keyboard layout together with other German layouts
instead of sorting it under "Other".
  • Loading branch information
jgosmann committed Mar 22, 2022
1 parent c6a3135 commit 56430bd
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/Neo2.dmg
.*.swp
21 changes: 21 additions & 0 deletions Neo2.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.neo2</string>
<key>CFBundleName</key>
<string>Neo2</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>KLInfo_Deutsch (Neo 2)</key>
<dict>
<key>TICapsLockLanguageSwitchCapable</key>
<false/>
<key>TISInputSourceID</key>
<string>org.sil.ukelele.keyboardlayout.neo2.deutsch(neo2)</string>
<key>TISIntendedLanguage</key>
<string>de-DE</string>
</dict>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.1" encoding="UTF-8"?>
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
<!--Last edited by Ukelele version 351 on 2022-03-20 at 20:02 (GMT+1)-->
<keyboard group="126" id="-30449" name="Deutsch (Neo 2)" maxout="3">
<!--Last edited by Ukelele version 351 on 2022-03-22 at 19:48 (GMT+1)-->
<keyboard group="126" id="-1812" name="Deutsch (Neo 2)" maxout="3">
<layouts>
<layout first="0" last="0" mapSet="138" modifiers="30"/>
</layouts>
Expand Down
Binary file not shown.
12 changes: 12 additions & 0 deletions Neo2.bundle/Contents/version.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?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>BuildVersion</key>
<string></string>
<key>ProjectName</key>
<string>Neo2</string>
<key>SourceVersion</key>
<string></string>
</dict>
</plist>
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ but has a number of improvements:

# Installation

1. Copy `neo.keylayout` and one of the icons (`neo*.icns`) renamed to `neo.icns`
to `~/Library/Keyboard Layouts/` (user install) or
`/Library/Keyboard Layouts/` (system-wide install).
2. Reboot.
3. Add "Deutsch (Neo 2)" in the Input Sources tab of the Keyboard system
settings.
1. Download `Neo2.dmg` from the
[Releases section](https://github.com/jgosmann/neo2-layout-osx/releases/).
2. Open the disk image.
3. Run the "Keyboard Installer".
4. Drag & drop `Neo2.bundle` on the installer window.
5. Chose whether to install for the current user only or system-wide.

To get access to all layers, also install [Karabiner
Elements](https://pqrs.org/osx/karabiner/) and import [the Neo2 complex rule
Expand All @@ -50,6 +50,16 @@ keys add the following modifications:

![Screenshot of simple modifications for Windows keyboard](simple-mod-win.png)

## Manual installation

1. Copy `Neo2.bundle/Contents/Resources/Deutsch (Neo 2).keylayout` and one of
the icons (`neo*.icns`) renamed to `neo.icns` to
`~/Library/Keyboard Layouts/` (user install) or `/Library/Keyboard Layouts/`
(system-wide install).
2. Reboot.
3. Add "Deutsch (Neo 2)" in the Input Sources tab of the Keyboard system
settings.

# Know issues

* While the left <kbd>Option</kbd> does not fully act as <kbd>Mod 3</kbd> (it
Expand Down

0 comments on commit 56430bd

Please sign in to comment.