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?

  • fruitywelsh@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I can past images via ctl+v in webcord’s default settings, but I can’t right-click paste.

  • ono@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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
      1 year ago
      test one
      • android.permission.ACCESS_NETWORK_STATE
      • android.permission.INTERNET