All Projects → michalkahle → czech-coder-xkb

michalkahle / czech-coder-xkb

Licence: MIT license
Linux xkb keyboard layout for coders who need to write Czech.

Projects that are alternatives of or similar to czech-coder-xkb

skoleni-python
Materiály pro školení Základy Pythonu 3.
Stars: ✭ 23 (-54.9%)
Mutual labels:  czech
us-with-german-umlauts
Mac U.S. keyboard layout with German Umlauts
Stars: ✭ 91 (+78.43%)
Mutual labels:  keyboard-layout
x-keyboard
A zero-dependency web component to display and emulate keyboard layouts.
Stars: ✭ 15 (-70.59%)
Mutual labels:  keyboard-layout
kbct
Keyboard keycode mapping utility for Linux supporting layered configuration
Stars: ✭ 209 (+309.8%)
Mutual labels:  keyboard-layout
react-material-ui-keyboard
Virtual keyboard for TextField when needed
Stars: ✭ 54 (+5.88%)
Mutual labels:  keyboard-layout
win-kbd-usint-nodead
US-International keyboard layout with no dead keys (AltGr only) for Windows
Stars: ✭ 181 (+254.9%)
Mutual labels:  keyboard-layout
Amadia
Astus' Mathematical Display Application : A GUI for Mathematics (Calculator, LaTeX Converter, Plotter, ... )
Stars: ✭ 172 (+237.25%)
Mutual labels:  keyboard-layout
NanoSoft
A forum system built using plain php dedicated for C#.NET Developers
Stars: ✭ 20 (-60.78%)
Mutual labels:  coders
windows-programmer-dvorak
A native and customizable approach for installing Programmer Dvorak for Windows.
Stars: ✭ 38 (-25.49%)
Mutual labels:  keyboard-layout
dvorakjp-romantable
Google 日本語入力用DvorakJPローマ字テーブル / DvorakJP Roman Table for Google Japanese Input
Stars: ✭ 43 (-15.69%)
Mutual labels:  keyboard-layout
birman-typography-layouts-for-ubuntu
Типографские раскладки Ильи Бирмана для Ubuntu
Stars: ✭ 73 (+43.14%)
Mutual labels:  keyboard-layout
vim-plugin-ruscmd
Vim plugin: support command mode in Russian keyboard layout
Stars: ✭ 60 (+17.65%)
Mutual labels:  keyboard-layout
kinesis-advantage-2
Keyboard layouts and macros for the Kinesis Advantage 2 keyboard.
Stars: ✭ 72 (+41.18%)
Mutual labels:  keyboard-layout
Strata
Раскладка клавиатуры для тех, кто любит Markdown и пишет по-русски
Stars: ✭ 70 (+37.25%)
Mutual labels:  keyboard-layout
ukrainian-typographic-layouts
Типографічні розкладки для української та російської мови / Типографские раскладки для украинского и русского языка
Stars: ✭ 69 (+35.29%)
Mutual labels:  keyboard-layout
Keyboard Layout Editor For Blender
Allows you to import keyboard layouts into blender and render them in 3d
Stars: ✭ 224 (+339.22%)
Mutual labels:  keyboard-layout
map2
A scripting language that allows complex key remapping on Linux.
Stars: ✭ 99 (+94.12%)
Mutual labels:  keyboard-layout
keyd
A key remapping daemon for linux.
Stars: ✭ 687 (+1247.06%)
Mutual labels:  keyboard-layout
i3-keyboard-layout
Change keyboard layout with a keystroke + show it in the status bar
Stars: ✭ 86 (+68.63%)
Mutual labels:  keyboard-layout
keyboard-layouter
Footprint auto placement plugin for keyboard layout
Stars: ✭ 73 (+43.14%)
Mutual labels:  keyboard-layout

Use both US and Czech keyboard layout in Linux without switching

Constant keyboard layout switching hampers your productivity. It certainly hampered mine. With this keyboard layout you can forget about keyboard switching and let your muscle memory handle it.

Czech coder layout is inspired by the Czech Programmers keyboard layout in Windows with one significant difference: Czech coder lets you type fluently in Czech with pressed AltGr without the need to release it! When you do release the AltGr, you are back to US layout which is optimal for coding.

How it works

The basic layout is US so that all symbols are available and all keyboard shortcuts work as intended. When you hold AltGr with your right thumb the layout changes to Czech (qwerty variant; there is as little rearrangement as possible). With use, you will learn to press the right Alt unconsciously.

Upper case of accented letters are available with AltGr + Shift combination. Euro sign is available under AltGr + Shift + e.

Disadvantages and compromises

  • Location of right thumb on AltGr is in an awkward position under your palm on most keyboards and it makes longer typing in Czech inconvenient. I certainly wouldn't want to write a novel this way. But it is ok for short snippets of text.
  • Only left thumb is left to type spaces in Czech.
  • There is a small inconsistency because of the euro sign where you have to release AltGr to type upper case "E" when writing Czech.

Installation

Unfortunately, the following instructions do not work with Wayland. Please help me to make it work there. I'll update these instructions when I learn the proper way how to switch keyboard layouts on Wayland.

On Ubuntu 20.4 and later or its derivatives the 'coder' variant is already present.

  • You can switch to it temporarily by setxkbmap -layout cz -variant coder.
  • 'coder' variant is registered in the 'extras' section as an 'exotic' layout. Therefore, you won't see it by default in Gnome Settings Input Sources. You will have to set gsettings set org.gnome.desktop.input-sources show-all-sources true and reopen your settings app to see it. Set it as the only input source and restart your Gnome session.
  • Alternatively, you can set czech-coder as your only Gnome imput source on the command line: gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'cz+coder')]"

In older versions of Debian/Ubuntu/Mint:

  • Find out which version of xkb-data package is installed: apt list xkb-data
  • cd to the xkb directory: cd /usr/share/X11/xkb/
  • patch some files (backups are created):
  • for version 2.19 - 2.22: sudo curl https://raw.githubusercontent.com/michalkahle/czech-coder-xkb/master/xkeyboard-config_2.19.patch | sudo patch -bp1
  • for version 2.23 - 2.27: sudo curl https://raw.githubusercontent.com/michalkahle/czech-coder-xkb/master/xkeyboard-config_2.23.patch | sudo patch -bp1
  • for version 2.28 and later: the 'coder' variant is already present, see above.
  • to test you can switch layout without X11 restart: setxkbmap -layout cz -variant coder
  • to uninstall: sudo apt install --reinstall xkb-data.

Other distros: Look into the patches what needs to be done. When you make it work, please submit PR with instructions.

If you run into troubles please open an issue so that we can fix it.

Very similar layout is available for macOS.

Používejte na Linuxu americké i české rozložení kláves bez přepínání

Neustálé přepínání rozložení klávesnice sníží vaši produktivitu. Mně strašně lezlo na nervy. S tímto rozložením můžete přestat myslet na přepínání klávesnice a nechat to vašemu podvědomí.

Rozložení Czech coder bylo inspirováno Českým programátorským rozložením pro Windows s jedním zásadním rozdílem: České programátorské rozložení umožňuje psát znaky s diakritikou po stisku AltGr, ale znaky bez diakritiky nejsou v tomto módu dostupné. Musíte pustit AltGr, abyste je mohli napsat. To znamená nutnost stisknout a uvolnit AltGr i několikrát při psaní jednoho slova! To je při psaní všemi deseti zcela nepoužitelné. Rozložení Czech coder tohle řeší a umožní vám psát celé věty a odstavce česky se stisknutým AltGr.

Jak to funguje

Základní rozložení je US, takže jsou dostupné všechny symboly a klávesové zkratky fungují bez problémů. Při stisku AltGr pravým palcem se rozložení změní na české (querty, aby byly změny minimální). S používáním se brzy naučíte mačkat AltGr při psaní češtiny podvědomě.

Velká písmena s diakritikou jsou dostupná s AltGr + Shift. Znak euro je dostupný pod AltGr + Shift + e.

Návod na instalaci výše.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].