I'm an Ubuntu 13.04 user and I'm trying to run a script at startup. I created it in
/etc/init.d/, gave it
chmod 755 and ran the
update-rc.d <your script> defaults command. The script is remapping my mouse's keybindings and contains the following:
#! /bin/sh xinput set-button-map 10 1 2 3 4 5 6 7 9 8
It runs correctly if I do it manually, but I want it to run with startup.