Repository navigation
Manual Install Linux
Download TRKEY-linux.tar.gz from the latest release and extract it:
tar -xzf TRKEY-linux.tar.gzYou get:
-
xkb/symbols/trkey: the layout -
xkb/rules/evdev.xml: the entry that lists it in layout settings
-
Copy the layout into your user xkb folder:
mkdir -p ~/.config/xkb/symbols ~/.config/xkb/rules cp xkb/symbols/trkey ~/.config/xkb/symbols/
-
Register it so layout settings can list it.
-
If
~/.config/xkb/rules/evdev.xmldoesn't exist, copy TRKEY's evdev.xml:cp xkb/rules/evdev.xml ~/.config/xkb/rules/ -
If it already exists (you have other custom layouts), open both files. Copy the
<layout>…</layout>block from TRKEY's evdev.xml into yours, inside<layoutList>.
-
-
Log out and back in. This is needed the first time, because the desktop only looks for
~/.config/xkbat login. -
Add the layout:
- KDE Plasma: System Settings → Keyboard → Layouts → Add → TRKEY (US)
- GNOME: Settings → Keyboard → Input Sources → + → Turkish → TRKEY (US)
You can set it by name instead.
-
KDE Plasma: in
~/.config/kxkbrc, addtrkeytoLayoutList, then log out and back in:[Layout] Use=true LayoutList=trkey,us
-
GNOME: this replaces your list of input sources, so keep any others you use:
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'trkey'), ('xkb', 'us')]"
X11 only reads layouts from the system folder.
-
Copy the layout there:
sudo cp xkb/symbols/trkey /usr/share/X11/xkb/symbols/trkey sudo chmod 644 /usr/share/X11/xkb/symbols/trkey
-
Select it.
-
For the current session:
setxkbmap trkey
-
Permanently, for all X11 sessions: create
/etc/X11/xorg.conf.d/00-trkey.confwithSection "InputClass" Identifier "trkey" MatchIsKeyboard "on" Option "XkbLayout" "trkey" EndSectionthen log out and back in.
-
-
Switch to another layout and remove TRKEY (US) from your layout settings (or from
kxkbrc/gsettings/xorg.conf.dif you set it there). -
Remove the files:
rm -f ~/.config/xkb/symbols/trkey sudo rm -f /usr/share/X11/xkb/symbols/trkey # only if you did the X11 steps
-
Open
~/.config/xkb/rules/evdev.xmland delete the<layout>block containing<name>trkey</name>. You can delete the file if TRKEY is the only layout in it.