I have installed a few chat applications through flatpak (teams with Edge and “Whatsapp for Linux”). In both cases I can’t paste images or drag files. I can paste text and I can upload files through the GUI. I imagine this is likely due to a permission that can be set through Flatseal. Anybody can help?

  • ono@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    My guess: It’s likely that the applications’ flatpak permissions don’t allow to access the folder where those files live. The applications’ file picker GUIs work anyway because they use flatpak portals, which automatically grant access to whatever file you pick.

    If you want drag and paste to work, consider using flatseal or flatpak override to grant access to the folder where you keep your attachable files.

    • ono@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 years ago
      test one
      • android.permission.ACCESS_NETWORK_STATE
      • android.permission.INTERNET