I want to run a script that changes the mapping of my keyboard from the startup applications. The script is in my home folder and it has permissions 755. I've created a new entry in System -> Preferences -> Startup Applications and tried the following commands:
/bin/bash /home/myuser/myscript.sh /sbin/sh /home/myuser/myscript.sh /home/myuser/myscript.sh
None of them worked. The same commands work fine when I run them from a terminal manually.
I know of other ways to run a script at startup, but I want to know why is this method not working for me.