#!/bin/bash set -e setxkbmap -model pc105 -layout gb -variant extd xmodmap -e 'keycode 66 = Mode_switch' xmodmap -e 'clear lock' xmodmap -e 'keycode 113 = Left NoSymbol Home' xmodmap -e 'keycode 114 = Right NoSymbol End'