project-trident / trident-docs Public
Get German keyboard with English user interface
Sven Putze edited this page Mar 5, 2020
·
4 revisions
Pages 17
Table of Contents
General Information
Terminal-based Configuration
Graphical Configuration
ZFS References
- ZFS Snapshots and Pruning
- ZFS Send and Receive
- Exporting/Importing Datasets
- Moving Default Home Directory to a Separate Drive
General How-To's
Clone this wiki locally
To get an English UI with German keyboard, I followed the Void wiki and did:
-
Become root
sudo su - -
Edit
/etc/default/libc-locales, uncomment the wanted locales in the systemsed -i -e 's/^#de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/g' /etc/default/libc-locales sed -i -e 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/default/libc-localesOf course you can use the editor of your choice in doing so.
-
Write
/etc/locale.confand set everything to German, exceptLANGandLC_MESSAGEScat << __EOF__ > /etc/locale.conf LANG="en_US.UTF-8" LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE=C LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= __EOF__ -
Rebuild locales
xbps-reconfigure -f glibc-locales exit
Now, there are the Umlauts in qterm, xterm and the "real TTY" aka ALT+F2. This should probably work with other combinations of locales, too.
Display Manager
Project trident uses as display manager and right now it only supports an us keyboard in the login screen.
-
To change that to a German keyboard, become
rootsudo su - -
Insert a line in one of the sddm startup scripts
grep --quiet setxkbmap /usr/share/sddm/scripts/Xsetup || echo 'setxkbmap de' >> /usr/share/sddm/scripts/Xsetup # validate cat /usr/share/sddm/scripts/Xsetup #!/bin/sh # Xsetup - run as root before the login dialog appears setxkbmap de -
Reboot the machine.
Now you are greeted with a little German flag and keyboard layout.
Quick Links
- Main Website: https://project-trident.org
- Sponsorships available! https://project-trident.org/sponsors
- Void Linux Documentation
- Void Linux Rosetta Stone: Dictionary of commands between different Linux distros.
- Void Linux FAQ