Skip Navigation

Startup script inconsistently executes, but I don't know why

I have this set up as a startup script, but it only sometimes triggers, despite setting a 20-second delay:

 
    
#!/bin/bash
sleep 2
xmodmap -e "clear lock"
xmodmap -e "keycode 66 = Return"

  

I have the startup command set to bash "path/Remap_Caps_Lock_to_Enter.sh". What's going on? It works when I press the triangle button when it doesn't work on boot.

12 comments
12 comments