Some possible solutions are shared here:
If your solution involves getting the IDE to open the new sketch on startup, you can change the contents of that new sketch by editing the file examples/01.Basics/BareMinimum/BareMininum.ino under the Arduino IDE installation folder.
examples/01.Basics/BareMinimum/BareMininum.ino