Gajim - 2024-10-26


  1. ilac

    In 1.9.5 opening of images does not seem to trigger any action?

  2. ilac

    (flatpak version)

  3. meson

    ilac, do you see anything relevant in the debug log? View -> Debug Console -> Log or press Shift+Ctrl+X

  4. ilac

    meson, nothing at all.

  5. ilac

    Even with --verbose.

  6. meson

    also not in journalctl?

  7. meson

    also nothing in journalctl?

  8. ilac

    meson, nothing.

  9. meson

    ilac, sure lovetox or cal0pteryx can help you better Just as a last idea, you could check what it tries to open using the `dbus-monitor`: search for `.var/app/org.gajim.Gajim/data/gajim/downloads/` and look for something like `string "org.kde.gwenview"` or `interface=org.freedesktop.impl.portal.AppChooser; member=ChooseApplication`

  10. ilac

    I am looking for the code that deals with that.

  11. ilac

    Hum, it relies on dbus?

  12. lovetox

    flatpak is a sandobox it needs "portals" and permission, to execute something on your system

  13. lovetox

    e.g. opening the photo viewer application

    👍 1
  14. lovetox

    you need to have the proper dependencies installed on your system that provide these portals

    👍 1
  15. ilac

    Ah! It's trying to load it up with the wrong viewer.

  16. lovetox

    https://dev.gajim.org/gajim/gajim/tree/master/flatpak

  17. lovetox

    there is a readme with all dependencies

  18. lovetox

    if some file extension maps to the wrong application, this may also help

  19. lovetox

    https://dev.gajim.org/gajim/gajim/-/wikis/help/gajimfaq#gajim-opens-folderfiles-with-the-wrong-application-linux

  20. ilac

    Yeah, so that's the thing. The gio mime image/jpeg returns the proper viewer.

  21. ilac

    Alright, `flatpak permission-reset` fixed the problem.

  22. ilac

    `flatpak permissions desktop-used-apps` helped showing what was wrong.

    🙏 1