Frank Murphy wrote: > > [Service] > Type=oneshot > ExecStart=/usr/bin/setxkbmap -model pc104 -layout gb > A couple of suggestions. The DISPLAY variable will not be set, so you will need the -display parameter, most likely "-display :0". Also, you will probably need to run it as whatever user the dm runs as. E.g. for gdm, it's the gdm user.