Arduino 1.6.7 - Load default sketch (Ubuntu)

Hi

How can I load a different default sketch on start-up.

I added the filename to the run.option in preference.txt, it still load the original sketch

Thanks

Just add the sketch name after the Arduino IDE run command. I don't have Ubuntu but on Windows I just right click on the Arduino IDE shortcut, click on properties, then add the sketch path and name to the end of the Target. I'm sure there is an equivalent process on your OS. I could also just create a shortcut to the sketch since the .ino filetype is associated with the Arduino IDE so it actually does the same thing but I'm using multiple IDE versions so that usually ends up opening the sketch in a different IDE version than I wanted.