This has just started happening recently - my keyboard defaults to US each time I start the PC. I need to manually use setxkbmap gb to reset it to UK layout.
The keyboard layout in XFCE's settings have only one entry - GB - and the various .rc files I've tried to set are all GB-based as well.
I made an executable script with just one line "setxkbmap gb" in my home directory which works when run from a shell and added it to the application startup but I still end up with US layout when I log in.
So, either the autostart is being ignored or else something else is overwriting the script after it's run.
Is there somewhere else I could add the command to ensure that it's the last thing run on startup?