Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 995 Bytes

limit-filesystem-access.md

File metadata and controls

17 lines (10 loc) · 995 Bytes
  1. Install Flatseal from Flathub.

  2. Open Arduino IDE V2's entry on Flatseal. Under the Filesystem access section , disable the All user files toggle and scroll down to the Other files setting. Add the directory/directories where you want to access sketches from.
    XDG directories are supported (and recommended). If possible, append :ro to keep access to sketch directories you don't intend to modify read-only.

    Filesystem options

  3. Add .arduinoIDE and .arduino15 to the Persistent section.

    Persistent options

  4. (Optional) Move the ~/.arduinoIDE and ~/arduino15 folders to ~/.var/app/cc.arduino.IDE2.

  5. Change the Sketchbook location at File > Preferences.

    Sketchbook location option