76 lines
2.4 KiB

# Install on Linux
<span><svg xmlns="" width="15" height="15" fill="none"
style="vertical-align: sub;" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path
class="st0" d="M2,16c0.1,0,8-5,9-7c0.6-1.3,1-5,1-5h3H1h7V1" /><line
class="st0" x1="4" y1="8" x2="12" y2="16" /><polygon class="st0"
points="15,19 21,19 23,23 18,11 13,23 " /></svg> : [türkçe](, [中文](, [español](, [العربية](, [português](, [русский](, [bahasa](, [български](, [esperanto](</span>
First, backup some files. Run these commands:
cp /usr/share/X11/xkb/symbols/tr /usr/share/X11/xkb/symbols/tr.old
cp /usr/share/X11/xkb/rules/evdev.xml /usr/share/X11/xkb/rules/evdev.xml.old
Open file `/usr/share/X11/xkb/symbols/tr` and append the following text block at the end of the file
partial alphanumeric_keys
xkb_symbols "colemak_tr" {
include "us(colemak)"
name[Group1]= "Turkish (Colemak)";
key <AD01> {[ odiaeresis, Odiaeresis, q, Q ]};
key <AD02> {[ scedilla, Scedilla, w, W ]};
key <AD10> {[ gbreve, Gbreve, semicolon, colon ]};
key <AD11> {[ udiaeresis, Udiaeresis, bracketleft, braceleft ]};
key <AD12> {[ apostrophe, quotedbl, bracketright, braceright ]};
key <AC09> {[ i, Iabovedot ]};
key <AC11> {[ idotless, I ]};
key <AB02> {[ ccedilla, Ccedilla, x, X ]};
include "level3(ralt_switch)"
Open file `/usr/share/X11/xkb/rules/evdev.xml` and insert the following text block after the `Turkish (Alt-Q)` variant.
<description>Turkish (Colemak)</description>
Then add `Turkish (Colemak)` via the settings of your desktop environment.
## Uninstalling
To uninstall undo everything you did or restore the old files:
mv /usr/share/X11/xkb/symbols/tr.old /usr/share/X11/xkb/symbols/tr
mv /usr/share/X11/xkb/rules/evdev.xml.old /usr/share/X11/xkb/rules/evdev.xml
## Updating
Uninstall the old version and install the new version.
This page contains automatically translated text
[← Back](./