This is mine, working on Kubuntu 24.04:
guargua@guargua-desktop:~$ cat /etc/apparmor.d/usr.local.bin.arduino
abi <abi/4.0>,
include <tunables/global>
profile arduino /usr/local/bin/arduino-ide* flags=(unconfined) {
userns,
include if exists <local/arduino>
}
and these are the IDE appimage:
guargua@guargua-desktop:~$ ls -l /usr/local/bin/arduino*
-rwxr-xr-x 1 guargua guargua 190624130 set 29 09:31 /usr/local/bin/arduino-ide_2.3.3_Linux_64bit.AppImage
-rwxrwxr-x 1 guargua guargua 191539050 dic 7 18:32 /usr/local/bin/arduino-ide_2.3.4_Linux_64bit.AppImage
After modifications you need to reboot to make everything working.
Ciao, Ale.