Step 0 : install xclip and xcape sudo apt install xclip xcape Step 1 : create ~/.xmodmap Copy the following text: