This is my own custom Czech programming layout for X keyboard extension (also works on Wayland!). It is based on the US ANSI 104 layout, but with diacritics in the top row.
Oh and you'll need a keypad. Keypad supremacy.
Image created with Keyboard layout editor.
just simply put ce
into /usr/share/X11/xkb/symbols/
and then
setxkbmap -layout ce
.
# cd /usr/share/X11/xkb/symbols/
# wget wget https://raw.githubusercontent.com/3top1a/Czechish-programing-keyboard/main/ce
$ setxkbmap -layout ce
for KDE Plasma, there are a few more steps required: (from this excelent answer)
- Insert into
/usr/share/X11/xkb/rules/evdev.lst
(about line 375)
ce cz: Czechish
This will make it search for the ce
file
- Insert into
/usr/share/X11/xkb/rules/evdev.xml
(about line 2338)
# ... in <variantList> of the Czech layout
<variant>
<configItem>
<name>ce</name>
<description>Czechish</description>
</configItem>
</variant>
This adds information about the layout.
i3 config
# ce
bindsym $mod+equal workspace $ws1
bindsym $mod+ecaron workspace $ws2
bindsym $mod+scaron workspace $ws3
bindsym $mod+ccaron workspace $ws4
bindsym $mod+rcaron workspace $ws5
bindsym $mod+zcaron workspace $ws6
bindsym $mod+yacute workspace $ws7
bindsym $mod+aacute workspace $ws8
bindsym $mod+iacute workspace $ws9
bindsym $mod+eacute workspace $ws10
bindsym $mod+Shift+equal move container to workspace $ws1
bindsym $mod+Shift+ecaron move container to workspace $ws2
bindsym $mod+Shift+scaron move container to workspace $ws3
bindsym $mod+Shift+ccaron move container to workspace $ws4
bindsym $mod+Shift+rcaron move container to workspace $ws5
bindsym $mod+Shift+zcaron move container to workspace $ws6
bindsym $mod+Shift+yacute move container to workspace $ws7
bindsym $mod+Shift+aacute move container to workspace $ws8
bindsym $mod+Shift+iacute move container to workspace $ws9
bindsym $mod+Shift+eacute move container to workspace $ws10