X11
Topics: Linux
X11 clients send drawing and input requests to an X server, which manages displays and input devices; desktop settings can customize keyboard layout and DPI.
Keyboard settings
Set layout to EURkey, swap Caps Lock and Control keys:
localectl set-x11-keymap "eu,us" "" "" "ctrl:swapcaps"
Fractional scaling
On hi-DPI screens, the UI at full resolution can be too tiny.
In ~/.Xresources, set a DPI fitting the screen and scale the mouse cursor:
Xft.dpi 144
Xcursor.size 32
Setting keyboard options
For the current session:
setxkbmap -option "compose:rwin"
Persistent configuration:
localectl set-x11-keymap "eu,us" "" "" "compose:rwin"