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.yml
This sets up most things - the remainder is work-in-progress.
To swap the two keys in the current session:
setxkbmap -option caps:escape
To make this change persistent:
missing command
To 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-options
add:'caps:swapescape'