Neo 2 Set-Up Guide
Disclaimer: This is a very rough draft, it is not well written, but it is functional, so I hope it helps.
Neo 2 in Ubuntu
(Everything here, was tested for Ubuntu 18.04.4 LTS.)
In Ubuntu Neo 2 is already available as a keyboard layout from the start, the qwerty and qwertz variants however are not available to pick, although they are already implemented (I know that for example for Kubuntu this is different, here I think every implemented keyboard layout is available from the start).
Making already existing layouts available
Go to /usr/share/X11/xkb/rules
and there open the file evdev.xml
. In order to save the changes you make to the file you will have to open the file with sudo privilege with your editor of choice or by changing the file to be writable with chmod and then in the end changing it back to the old settings. For example to open it with sudo privileges open a terminal in /usr/share/X11/xkb/rules
and then enter SUDO_EDITOR=kate sudoedit evdev.xml
(which is what the terminal (bash shell) helpfully prompts me do to when I tried to use sudo kate evdev.xml
). You can of course do this with any editor of your choice. Scroll down or rather use the find function to search for "neo" and find
<variant>
<configItem>
<name>neo</name>
<description>German (Neo 2)</description>
</configItem>
</variant>
which I will call (*).
Now open /usr/share/X11/xkb/symbols/de
, but do not edit anything. Searching for xkb_symbols "neo"
, name[Group1]= "German (Neo 2)"
and comparing it with the above mentioned section /usr/share/X11/xkb/rules
motivates the following:
Directly after (*) add:
<variant>
<configItem>
<name>neo_qwertz</name>
<description>German (Neo qwertz)</description>
</configItem>
</variant>
Now don't forget to save.
I got the values for this from
partial alphanumeric_keys modifier_keys keypad_keys
xkb_symbols "neo_qwertz" {
include "de(neo_qwertz_base)"
name[Group1]= "German (Neo qwertz)";
include "shift(both_capslock)"
include "level3(caps_switch)"
include "level3(bksl_switch)"
include "level5(lsgt_switch_lock)"
include "level5(ralt_switch_lock)"
};
in /usr/share/X11/xkb/symbols/de
.
You don't need to restart to be able to pick "German (Neo qwertz)" from Region & Language → Input Sources → + → German → German (Neo qwertz), however you have to restart for the changes to take effect. I can't remember anymore whether you can use Neo 2 with any other keyboard layout. I think Ubuntu had problems with this, but I know that you can use it with an IME, at least I was able to use it in combination with an IME for Japanese. But I think I had problems having "English (United States)" active at the same time.
Also remember that pressing left and right shift at the same time puts you into caps lock mode, and similarly if you press the other two modifiers keys at the same time, i. e. left + right Mod3 or left + right Mod4.
For the qwerty version it is the exact same, you just have to substitute qwertz
for qwerty
at every junction.
Sources:
- Keyboard layout:
- https://help.ubuntu.com/community/Custom%20keyboard%20layout%20definitions
- https://ubuntuforums.org/showthread.php?t=1387812
- https://ubuntuforums.org/showthread.php?t=1589744
- Editing protected files:
- https://askubuntu.com/questions/92379/how-do-i-get-permissions-to-edit-system-configuration-files
Neo 2 in Windows
(Last tested on the 02.02.2020.)
Go to https://neo-layout.org/
and there in the top right corner should be a link https://neo-layout.org/neo20.exe
to the .exe
for Windows. Otherwise try the link directly or go the file on GitHub https://github.com/neo-layout/neo-layout/blob/master/windows/neo-vars/out/neo20.exe
.
The .exe
is an Autohotkey script, that remaps all your keypresses. [*] It is therefore not as robust as the version for Linux, but for almost everything it works (so far the only problem I had, was using the terminal in Windows). (You might also have to remember to install Autohotkey, I can't remember.)
The problem with this Autohotkey script is that it is for Neo 2, meaning there is no script for Neo2_qwertz or Neo2_qwerty.
Now the clue, the thing nobody tells you (except the source code on GitHub), is that you can press Mod3 + F6 to toggle the qwertz mode. As far as I know this is a training mode so people can slowly adjust to Neo 2 while having the fallback option to qwertz. But I use it as my workaround to have a Neo2_qwertz layout in Windows.
The major drawbacks with this are, that, I think, you have to use a base German qwertz layout for this to function properly and after every Windows start you have to toggle the qwertz mode to get out of the base Neo 2 mode.
You can also press Mod3 + F1-F12 for different effects. I might translate the popup messages for these at some point, for now you can try out what happens, as far as I know none of them is a qwerty option.
[\*]:
== neo-vars ==
Hier befindet sich ein Treiber, der mit der Autohotkey-Skriptsprache (http://www.autohotkey.com) erstellt wurde. Hierfür muss lediglich eine ausführbare EXE-Datei heruntergeladen und gestartet werden.
Dazu benötigt man insbesondere keine Administratorrechte, wenn man das Programm beispielsweise in dem Verzeichnis „Eigene Dateien“ abspeichert, so dass sich dieser Treiber gut zum schnellen Ausprobieren von NEO eignet. Zudem kann man diesen Treiber etwa von einem USB-Stick aus starten, wenn man auf einem fremden Rechner arbeiten muss/will.
Rough, no effort, direct translation:
== neo-vars ==
Here is a driver, which was created using the Autohotkey scripting language (http://www.autohotkey.com). For this only an executable EXE-file needs to be downloaded and started. For this one does not need admin rights, thus, if for instance one saves the file in "My Documents", the driver is well suited to try out NEO. Furthermore one can start this driver from a USB stick if one wants/needs to work on a foreign computer.
Source: https://github.com/neo-layout/neo-layout/tree/master/windows (Retrieved: 2020.02.02)