- Close the Arduino IDE. (Otherwise your edits will be overwritten)
- Open
preferences.txt. (Found in the folder~/.arduino15on Linux Mint) - Add a new value
build.paththat 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/shmis gone after a reboot!