Gajim - 2024-07-29


  1. anontor

    Does gajim not respond well to sigterm? for the equivalent of quit? HUP seems to work for closing but it does not seem to be a clean shutdown like quit.

  2. anontor

    Does gajim not respond well to sigterm signal? for the equivalent of quit? HUP signal seems to work for closing but it does not seem to be a clean shutdown like quit.

  3. fjklp-temp

    which signal does Ctrl+Q send?

  4. anontor

    > which signal does Ctrl+Q send? I am not sure. I assume that is sigterm.

  5. anontor

    normally sigterm is the equivalent of close/exit for a gui but does not seem to do anything with gajim.

  6. fjklp-temp

    well, maybe not useful but I was just going to share that I've noticed that gajim will quit cleanly with a single ctrl+q, but if it is waiting on something like an account to disconnect, pressing ctrl+q again will force it to quit.

  7. anontor

    I was looking for a terminal command.

  8. fjklp-temp

    I know

  9. fjklp-temp

    I don't even know what the gui keyboard shortcuts do, I was just assuming they use the same signals and maybe that would give you a hint

  10. anontor

    most apps seem to accept sigterm signals but for some reason gajim is not receiving it well.

  11. anontor

    HUP signal works but it's more abrupt and not as clean of a shutdown.

  12. fjklp

    fwiw, gajim/gajim/main.py, line 124 says ># ^C exits the application normally

  13. lovetox

    Yes sign term is processed, and also works in my console

  14. lovetox

    So make sure your console really sends sign term

  15. fjklp

    I'm on ubuntu 24.04 now and it seems that desktop notifications have no icons now.

  16. fjklp

    The notifications just look different. It might have nothing to do with gajim.

  17. anontor

    > So make sure your console really sends sign term what command you using for sigterm?

  18. anontor

    sudo pkill -f gajim does not seem to work for me but does seem to work for other apps. I wonder though since I am using gajim in a python virtual environment might possibly have something to do with it but I don't think so.

  19. anontor

    > So make sure your console really sends sign term it does send sigterm I have use for quite a few other apps. Weechat, firefox and quite a few others.

  20. anontor

    > So make sure your console really sends sign term it does send sigterm I have used it for quite a few other apps. Weechat, firefox and quite a few others.

  21. fjklp-temp

    anontor: are you running gajim flatpak?

  22. fjklp-temp

    both `pkill gajim` and `pkill -f gajim` worked for me with flatpak

  23. fjklp-temp

    oh, I see you are not

  24. fjklp-temp

    I bet it has something to do with command matching

  25. anontor

    > anontor: are you running gajim flatpak? no I am running gajim in a python virtual env environment

  26. fjklp-temp

    try getting the PID and then just kill $PID

  27. anontor

    > I bet it has something to do with command matching it could be i am just figure out a work around.

  28. anontor

    > I bet it has something to do with command matching it could be i am trying to figure out a work around.

  29. anontor

    sudo kill pid does not work either. I guess its a python venv issue.

  30. anontor

    but a hup signal works

  31. Link Mauve

    anontor, fjklp-temp, GUI actions like pressing Ctrl-Q with the window focused, or pressing the × button, are usually not signals because they are internal to the application, but GTK exposes all of its GActions as D-Bus calls, you can check them in d-spy for instance.

  32. Link Mauve

    Find the Gajim name, then on the org.gtk.Actions use the List() method to see which actions are available (and "quit" is certainly there), then you can call the Activate() method with the "quit" argument.

    👍 1
  33. Link Mauve

    But you can also use all of the other actions Gajim makes available for scripting or other desktop interactions.

  34. anontor

    > But you can also use all of the other actions Gajim makes available for scripting or other desktop interactions. you talking about using the triggers plugin?

  35. Link Mauve

    No, the GTK actions.

  36. anontor

    > No, the GTK actions. I don't know much about GTK actions.

  37. anontor

    I tried another app that can be run in a venv python environment and pkill -f worked.

  38. anontor

    strange

  39. anontor

    I think I may have a better understand as to why I am having trouble with sigterm and gajim. I don't think it is the python venv environment but when gajim is launched from the terminal and in the background with disown %1. Without disown it seems to process sigterm fine.

  40. anontor

    can someone test it and run gajim with a command something like this gajim & disown %1. Then run something like sudo pkill -f gajim and see if it processes sigterm?

  41. anontor

    the daemonize command seems to do what I want from disown but still receives sigterm.

  42. Takto

    hello

  43. Takto

    how do I read a qr code from gajim?

  44. Takto

    my preblem is...

  45. Takto

    my problem is...

  46. Takto

    my Conversations does recognize a friend's Gajim device, but my Gajim does not

  47. Takto

    as well as her Conversations does recognize my Gajim, buy her Gajim does not

  48. Takto

    and it is not related to OMEMO encryption not working: the device is not found

  49. Takto

    and it is not related to OMEMO encryption not working: the device is not found, there's no device to verify

  50. Takto

    and it is not related to OMEMO encryption not working: the device is not found, there's 'no' device to verify

  51. lovetox

    i dont understand your last sentence

  52. lovetox

    its *not* related to OMEMO ?

  53. lovetox

    hm so you only see one fingerprint in the fingerprint window?

  54. lovetox

    do you have your friend added as a contact?

  55. lovetox

    contact info -> settings must show that you share your status, and you can see her status

  56. Takto

    > its *not* related to OMEMO ? not _that much_, I guess. sorry, I'm just too fearsome because anything I ask about XMPP clients people reply me with something along the lines 'I use Conversations for 10 years using OMEMO encryption'

  57. Takto

    probably it's one guy in one account but he repeated so much that I can't barely consider that one person

  58. Takto

    > hm so you only see one fingerprint in the fingerprint window? yeah, that of conversations, and a few others which don't * exist * anymore, which we right distrusted tho they were just other logins > do you have your friend added as a contact? yes

  59. Takto

    > contact info -> settings must show that you share your status, and you can see her status just did it! let's check...

  60. Takto

    you saved my life!

  61. Takto

    thank you!

  62. Takto

    all curve before lovetox!

    👍 1
  63. Takto

    ~all~me curve before lovetox!

  64. bot

    lovetox pushed 1 commits to branch python-nbxmpp/master release: 5.0.3 - https://dev.gajim.org/gajim/python-nbxmpp/-/commit/3a2b85cbe7e7ac5249d7da3736fef2b6265b0ab4

  65. bot

    lovetox pushed 3 commits to branch gajim/master chore: Flatpak: Update dependencies - https://dev.gajim.org/gajim/gajim/-/commit/5aa66ea5d44a1230fffdc8ddedf7dc77edb2bbf6 chore: Update translations - https://dev.gajim.org/gajim/gajim/-/commit/debe735846eec909d82d24220d6b76240472cc47 release: 1.9.3 - https://dev.gajim.org/gajim/gajim/-/commit/d716eb6d09a67bc4029aae89a29e55387b66439a

  66. lovetox

    zak, ^

  67. cal0pteryx

    Gajim 1.9.3 has been released 🎉 This release fixes an issue with the MS Store installer and brings some improvements. Thank you for all your contributions! https://gajim.org/post/2024-07-29-gajim-1.9.3-released/

    🎉 2👍 1🥳 1
  68. Takto

    noice!