-1

I have a customized layout, but it keeps (what seems to be randomly) changing to default, I am not sure what I need to do more:

// cat .profile
setxkbmap -layout fr2

denis:~ $ uname -r
4.15.0-62-generic

denis:~ $ cat /etc/os-release 
NAME="Linux Mint"
VERSION="18.3 (Sylvia)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 18.3"
VERSION_ID="18.3"
HOME_URL="http://www.linuxmint.com/"
SUPPORT_URL="http://forums.linuxmint.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/"
VERSION_CODENAME=sylvia
UBUNTU_CODENAME=xenial

dgan
  • 264

1 Answers1

0

Several distros are having this problem. Create a .desktop file with the setxkbmap code and put it in ~/.config/autostart/. To keep the configuration, use this command.

gsettings set org.gnome.settings-daemon.plugins.keyboard active false

If the command won't work, others have reported using something other than ibus or disable any screen locking that might reload the default layout.

hellork
  • 194