Clone this repo, install ansible (apt install ansible), and run the playbook:
git clone https://github.com/pvazteixeira/dotfiles.git
sudo apt install ansible
cd dotfiles
ansible-playbook --ask-become-pass playbook.ymlThis sets up most things - the remainder is work-in-progress.
To swap the two keys in the current session:
setxkbmap -option caps:escapeTo make this change persistent:
missing commandTo permanently swap escape to caps lock using dconf-editor
(source):
- get it:
sudo apt-get install dconf-tools - open and navigate to: org >> gnome >> desktop >> input-sources
- inside
xkb-optionsadd:'caps:swapescape'