Ubuntu i.de 2.3.7

nope, still not working without running the previous thing first

could the sysctl command being ran first be causing a problem?

apparently so. i re-ran your instructions after rebooting WITHOUT runnin the sysctl command first, rebooted and boom it loaded up the ide.

so now, when i load up the blink sketch and go to upload it i get the error programmer not responding warining attempt 2/10 not in sync: resp=0x00

this ends after attempt 10 and error unable to open port /dev/ttyUSB0 for programmer arduino

whelp.

switched the processor to atmega328p old bootloader and blink uploaded immediately.

seems this is ready for work tomorrow as i gotta upload a new code revision to something i built for work lol

rats. okay so i went to upload a different sketch to the same board and it went back to unable to open port, not in sync (never mind it changed port lol)

Great news!

To be clear, the AppArmor policy is only intended to allow you to start Arduino IDE. It is not expected that AppArmor will have an effect on uploads, nor that a policy will fix problems with uploads.

yeah i have no idea what i did to get the ide to be able to upload. it just kinda did something somewhere and i have no clue what lol

thank you for sticking with me and getting the ide running. i was able to make up a script with an icon and add it to the dock as well

You are welcome. I'm glad it is working now.

Nice! Note that the AppArmor policy you created is specific to your current installation of Arduino IDE:

If you make an installation with a different path (e.g., /home/chris/Arduino/arduino-ide_2.3.8_Linux_64bit_Appimage), you need to create a new policy for that installation (or update the existing one).

This error:

was caused by having the incorrect board configuration, as you discovered yourself: