I run

 xmodmap ~/.xmodmaprc

in order to swap the Ctrl and Caps Lock keys. However, when I resume from sleep, this configuration gets reset. Where can I set it so it runs a script on resume so I don't have to go into the command line each time after I close the laptop lid?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.