- Close the Arduino IDE. (Otherwise your edits will be overwritten)
- Open
preferences.txt
. (Found in the folder~/.arduino15
on Linux Mint) - Add a new value
build.path
that points to your preferred folder:build.path=/dev/shm/Arduino
- Save
preferences.txt
. - Restart the IDE. Compiler output is now saved in the folder you just added.
Remember thatdev/shm
is gone after a reboot!