-
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.✎ -
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. ✏
-
fjklp-temp
which signal does Ctrl+Q send?
-
anontor
> which signal does Ctrl+Q send? I am not sure. I assume that is sigterm. ↺
-
anontor
normally sigterm is the equivalent of close/exit for a gui but does not seem to do anything with gajim.
-
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.
-
anontor
I was looking for a terminal command.
-
fjklp-temp
I know
-
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
-
anontor
most apps seem to accept sigterm signals but for some reason gajim is not receiving it well.
-
anontor
HUP signal works but it's more abrupt and not as clean of a shutdown.
-
fjklp
fwiw, gajim/gajim/main.py, line 124 says ># ^C exits the application normally
-
lovetox
Yes sign term is processed, and also works in my console
-
lovetox
So make sure your console really sends sign term
-
fjklp
I'm on ubuntu 24.04 now and it seems that desktop notifications have no icons now.
-
fjklp
The notifications just look different. It might have nothing to do with gajim.
-
anontor
> So make sure your console really sends sign term what command you using for sigterm? ↺
-
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.
-
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.✎ ↺ -
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. ✏ ↺
-
fjklp-temp
anontor: are you running gajim flatpak?
-
fjklp-temp
both `pkill gajim` and `pkill -f gajim` worked for me with flatpak
-
fjklp-temp
oh, I see you are not
-
fjklp-temp
I bet it has something to do with command matching
-
anontor
> anontor: are you running gajim flatpak? no I am running gajim in a python virtual env environment ↺
-
fjklp-temp
try getting the PID and then just kill $PID
-
anontor
> I bet it has something to do with command matching it could be i am just figure out a work around.✎ ↺ -
anontor
> I bet it has something to do with command matching it could be i am trying to figure out a work around. ✏ ↺
-
anontor
sudo kill pid does not work either. I guess its a python venv issue.
-
anontor
but a hup signal works
-
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.
-
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 -
Link Mauve
But you can also use all of the other actions Gajim makes available for scripting or other desktop interactions.
-
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? ↺
-
Link Mauve
No, the GTK actions.
-
anontor
> No, the GTK actions. I don't know much about GTK actions. ↺
-
anontor
I tried another app that can be run in a venv python environment and pkill -f worked.
-
anontor
strange
-
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.
-
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?
-
anontor
the daemonize command seems to do what I want from disown but still receives sigterm.
-
Takto
hello
-
Takto
how do I read a qr code from gajim?
-
Takto
my preblem is...✎ -
Takto
my problem is... ✏
-
Takto
my Conversations does recognize a friend's Gajim device, but my Gajim does not
-
Takto
as well as her Conversations does recognize my Gajim, buy her Gajim does not
-
Takto
and it is not related to OMEMO encryption not working: the device is not found✎ -
Takto
and it is not related to OMEMO encryption not working: the device is not found, there's no device to verify ✏
-
Takto
and it is not related to OMEMO encryption not working: the device is not found, there's 'no' device to verify ✏
-
lovetox
i dont understand your last sentence
-
lovetox
its *not* related to OMEMO ?
-
lovetox
hm so you only see one fingerprint in the fingerprint window?
-
lovetox
do you have your friend added as a contact?
-
lovetox
contact info -> settings must show that you share your status, and you can see her status
-
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'
-
Takto
probably it's one guy in one account but he repeated so much that I can't barely consider that one person
-
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
-
Takto
> contact info -> settings must show that you share your status, and you can see her status just did it! let's check...
-
Takto
you saved my life!
-
Takto
thank you!
-
Takto
👍 1all curve before lovetox!✎ -
Takto
~all~me curve before lovetox! ✏
-
bot
lovetox pushed 1 commits to branch python-nbxmpp/master release: 5.0.3 - https://dev.gajim.org/gajim/python-nbxmpp/-/commit/3a2b85cbe7e7ac5249d7da3736fef2b6265b0ab4
-
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
-
lovetox
zak, ^
-
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 -
Takto
noice!