I have been fighting with the problem for three days now. I have a computer that I am setting up for a friend and I have Zorin OS 12 on it since it was the first thing that came to mind that was Windows like, and I would know how to work with it since it's based on Ubuntu. Anyways, since I have it running on an old Macbook I had laying around, I don't have a right click so I used this command thing to map it to a key. This is the code that I'm using that I used chmod a+x to make it executable.
#!/bin/sh xmodmap -e "keycode 134 = Pointer_Button3" xkbset m
But I've tried rc.local, init.d, init, even startup applications, and yet none of them work! So I'm starting to think it's something wrong with the script, but it works perfectly fine doing it manually! The other thing that's weird is that when I check to see if rc.local is working it says that its working fine, but after I put the command in and restart it says that there's a compatibility error or something next time I check.