Hi Roy, pkgsrc-users@, On 05/07/2017 15:45, Roy Marples wrote:
On 05/07/2017 14:27, Pierre Pronchery wrote:These days Xorg should not need any explicit configuration at all anymore.Silly question ... how does it derive keyboard layout? Stock XOrg always gives me a US layout and I have a UK keyboard.
I use gdm and set it to use Xclients for startup. From there, my ~/.Xclients file contains:
#!/bin/sh [...] xrandr --output eDP1 --right-of DP2 setxkbmap -option compose:ralt [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc [...] exec wmaker exec xterm You can also choose specific layouts with setxkbmap. HTH, -- khorben