You are not logged in.

#1 2020-03-31 14:29:25

null
Member
Registered: 2009-05-06
Posts: 398

[solved] Random keyboard layout changes

I set some keyboard options in my .xinitrc:

setxkbmap -layout us -variant altgr-intl
setxkbmap -option caps:escape

and that is working fine for all my machines. Except the one at work that is changing the layout back to the default US layout every so often. All of my machines are configured via ansible and run the same programs for the most part. So I have no idea the culprit could be.

Running user services (systemctl status --user) are:

           ├─dunst.service 
           │ └─3152 /usr/bin/dunst
           ├─pulseaudio.service 
           │ ├─732 /usr/bin/pulseaudio --daemonize=no
           │ └─869 /usr/lib/pulse/gsettings-helper
           ├─gvfs-daemon.service 
           │ ├─783 /usr/lib/gvfsd
           │ └─788 /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f
           ├─init.scope 
           │ ├─540 /usr/lib/systemd/systemd --user
           │ └─541 (sd-pam)
           ├─gpg-agent.service 
           │ └─9190 /usr/bin/gpg-agent --supervised
           └─dbus.service 
             └─668 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only

And the only difference in used programs is claws-mail (home) vs thunderbird (work).

Has anyone any idea what this could be? Or how to find out which processes are changing the keyboard layout?

Last edited by null (2020-04-02 12:14:35)

Offline

#2 2020-03-31 14:41:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,706

Re: [solved] Random keyboard layout changes

Some power saving, the keyboard unregisters, re-registers and your transient changes are lost.
Use https://wiki.archlinux.org/index.php/Xo … tion_files

Offline

#3 2020-04-02 12:14:19

null
Member
Registered: 2009-05-06
Posts: 398

Re: [solved] Random keyboard layout changes

That seems to have solved this. Thanks smile

Offline

Board footer

Powered by FluxBB