I have a simple script that I want to run at startup but it doesn't get run. The script is simple, it just swaps right Option key with right CMD key on my Apple Magic Keyboard:
#!/bin/bash xmodmap -e "keycode 108 = Super_R" xmodmap -e "keycode 134 = ISO_Level3_Shift"
I am running Ubuntu 21.10 with X11 with passwordless login so I want the keys to be swapped after my desktop shows up.
type Xorg Xorg is /usr/bin/Xorg
Why doesn't it work? What am I doing wrong?