I've put a command to change my keyboard mapping in .xession, but this does not appear to be executed on login in Cinnamon, although it seems to work fine on an older MATE box.

Since first asking this question I've tried these places, all of which don't work:

  • .profile
  • .Xmodmap and .xmodmap
  • .xinputrc
  • .xession

Where is the preferred place to put this command to be executed on login in Cinnamon?


~/.bash_profile, ~/.bash_login, and ~/.profile all appear to be read at login, but based on another question, they don't appear to be able to run xmodmap reliably.

Although it's maddening, the only way I've been able to resolve this is to add a script as a start up item.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.