Gajim - 2024-02-04


  1. flexx

    Hi guys I have an issue with OMEMO I imported everything from my backup and used this guide https://dev.gajim.org/gajim/gajim/-/wikis/help/Backup now my keys are messed up and I keep seeing "This message was encrypted with OMEMO, but not for your device." and "This message was encrypted with OMEMO and could not be decrypted."

  2. flexx

    How do I fix this ?

  3. Kevino

    How do i install latest gajim on fedora ?

  4. Kevino

    Flatpak shows a version 1.7.4

  5. Kevino

    Fedora package is 1.7.4 too

  6. hannibal

    Kevino: switch to/add flathub repo to get latest version

  7. lovetox

    flexx, seems you installed a old backup

  8. lovetox

    you need to go to the fingerprint dialog of every contact where you see that issue, and click delete on all fingerprints

  9. lovetox

    this resets the session with the different devices of your contact

  10. crumpet

    Hi gajim settings are complaining that I don't have dependecies like gsound and gspell installed even though they are installed. i'm running on an arch system if that helps

  11. hannibal

    crumpet : Does `pacman -Qi gajim` also show that these dependencies are installed?

  12. crumpet

    stragely no?

  13. crumpet

    even though pacman -Q gsound says it's installed

  14. crumpet

    should I upload the output of pacman -Qi to a paste?

  15. intelfx

    crumpet, do you have gajim installed as an arch package?

  16. crumpet

    yes

  17. intelfx

    hmm, reading the code gspell needs at least one spell checking dictionary available -- do you have those, e. g. aspell-en?

  18. crumpet

    i did not

  19. intelfx

    gsound initialization should write something to the log -- for that, try running gajim from a terminal

  20. crumpet

    nothing about gsound popped up on the terminal when it launched

  21. intelfx

    but the settings still complain?

  22. crumpet

    yeah

  23. crumpet

    https://macaw.me:5443/upload/0fe30aae57b99ddeee16c8ea4ea01fb1172a3fa6/Sye7HRRjO4NbNeuT2CGw9cat12Vewg6gQgSuMe64/16be71c7-6870-43d2-b655-a7bd996be9a5.png

  24. intelfx

    hmm try starting python in terminal and see if this code works: ``` import gi gi.require_version('GSound', '1.0') from gi.repository import GSound GSound.Context().init() ```

  25. intelfx

    hmm try starting python in terminal and see if this code works: import gi gi.require_version('GSound', '1.0') from gi.repository import GSound GSound.Context().init()

  26. intelfx

    the last line should return True (i. e. you should see it in REPL after typing that line and pressing Enter)

  27. crumpet

    the second line returned > ValueError: Namespace GSound not available

  28. intelfx

    try reinstalling gsound

  29. intelfx

    other than that, don't know, something must be broken in your installation with regards to gobject-introspection and/or gsound and/or their dependencies

  30. flexx

    lovetox: Can I decrypt messages that show up encrypted because now everything past 20 days look encrypted

  31. intelfx

    crumpet: ensure also that you have these packages installed: `gobject-introspection libgirepository`

  32. intelfx

    crumpet: ensure also that you have these packages installed: `gobject-introspection gobject-introspection-runtime libgirepository`

  33. intelfx

    + check that this file is present: `/usr/share/gir-1.0/GSound-1.0.gir`

  34. lovetox

    flexx, so how old was this backup?

  35. lovetox

    everything between the date of the backup and the moment you used it, is lost

  36. flexx

    lovetox: like a month?

  37. flexx

    Damnn

  38. flexx

    I also dont see the omemo plugin in the pluginlist

  39. flexx

    Which leads me to think that I dont have the packages installed for it to work

  40. flexx

    Im on arch linux what packages do I install

  41. lovetox

    0

  42. lovetox

    https://archlinux.org/packages/extra/any/gajim/

  43. lovetox

    with 1.8.x you dont need any plugins

  44. Kevino

    > Kevino: switch to/add flathub repo to get latest version https://bosh.zp1.net:5281/upload/_3P3_eTHIqbcPuIzAREhTyYw/zb2rhhRsYGnF2XGZptGG2pgVxRuaRaYn768nkAzJAFgyU7kAK.jpg

  45. Kevino

    Its already enabled

  46. Kevino

    Oh , i think it shows up the option now in gajim page to change the software repository

  47. Kevino

    Thanks 👍

  48. Kevino

    I think i need to remove fedora version first though

  49. crumpet

    > + check that this file is present: `/usr/share/gir-1.0/GSound-1.0.gir` It seems to not be there how would I replace it?

  50. flexx

    lovetox: I cleared all devices on the fingerprint lisr

  51. flexx

    Still not working

  52. crumpet

    intelfx, after a bit of reinstalling packages it works! thank you for the help!

  53. intelfx

    np

  54. intelfx

    what was the issue?

  55. lovetox

    flexx, what do you mean by not working exactly

  56. crumpet

    > what was the issue? I needed the hunspell dictionary + gsound was not installed apparently

  57. flexx

    lovetox: Im still getting that omemo not encrypted message

  58. lovetox

    as said past message between your backup and now are lost

  59. lovetox

    or are you talking about new messages?

  60. flexx

    New messages

  61. lovetox

    you need to write a message from Gajim

  62. flexx

    My fingerprint shows as inactive too

  63. flexx

    To other users

  64. flexx

    Yes I know i do it from gajim

  65. lovetox

    and? it arrives and is decryptable on the other device?

  66. flexx

    Yes

  67. lovetox

    and what is your other device?

  68. flexx

    A phone

  69. flexx

    Android

  70. lovetox

    maybe restart the application there

  71. lovetox

    seems like a problem on that device

  72. flexx

    restarted still not working

  73. lovetox

    no idea, write a contact of yours

  74. lovetox

    and test it with them

  75. lovetox

    could be a problem on your phone

  76. lovetox

    you can take a look under XML Console -> Log

  77. lovetox

    you can take a look under View -> XML Console -> Log

  78. lovetox

    if there are any errors printed

  79. flexx

    I sent you an OMEMO encrypted message but your client doesn’t seem to support that. Find more information on https://conversations.im/omemo

  80. flexx

    How do I reinstall the omemo plugin?

  81. r00tobo

    flexx, you can't do that since 1.8.x no plugin for OMEMO it's integrated

  82. flexx

    Anyway to reset it than?

  83. r00tobo

    first it's better to check the log in xml console there might be some hints about the issue there, but to answer your question about the reset I think the only way to regenerate a new key in Gajim is by deleting the account there and sign in fresh ? I remember someone talking about this here before

  84. r00tobo

    not tried not tested by me so do it at your own risk

  85. flexx

    There isnt like a button where you can regenerate a key??

  86. flexx

    I relogged in

  87. flexx

    I think it works because I sent a message from my phone and read it on gajim it wouldn't work but now it does work I have to wait till some people come online and try it out

  88. flexx

    nevermind

  89. flexx

    its glitched out again

  90. r00tobo

    you can check the omemo key fingerprint if its changed then the readding of the account did it

  91. Fiona

    I'd try resetting the OMEMO session. In the dialog where you verify a contact's keys you can also delete them (save the fingerprints first, so you can easily verify them again after!). You might need to restart Gajim after, sessions getting out of sync hasn't happened to me in a while. But then when you next try to send a message it should fetch the contact's keys again (here you need the saved fingerprints to verify) and set up a fresh OMEMO session.

  92. flexx

    Im also getting this error ``` Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/gajim/common/dbus/logind.py", line 139, in _on_logind_appeared self._obtain_delay_inhibitor(connection) File "/usr/lib/python3.11/site-packages/gajim/common/dbus/logind.py", line 111, in _obtain_delay_inhibitor self._inhibit_fd = ret_fdlist.get(ret.unpack()[0]) ^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get' ```

  93. Kevino

    > There isnt like a button where you can regenerate a key?? Delete the keys from omemo folder of gajim , it should create new one theb

  94. Kevino

    Then*

  95. flexx

    I removed the omemo keys in the gajim folder for my account and it seems like its working

  96. flexx

    Thank you guys

  97. lovetox

    flexx, do you see still that error in the log dialog?

  98. lovetox

    as in, everytime you start Gajim new

  99. fjklp

    I'd really like to disambiguate the labels in the group chat details so that they are explicit about configuring the client versus configuring the room

  100. fjklp

    any ideas?

  101. fjklp

    I know we don't want to confuse people or overly complicate things but I think it's a bit confusing as it is and I'd like to fix that

  102. fjklp

    For example, 'Settings' could be 'Client Settings'

  103. fjklp

    'Configuration' should probably be 'Room Configuration', or whatever canonical term is recommended for room

  104. fjklp

    The main point here is that I think it should be obvious to the user whether a group of settings pertains to their client or to the server

  105. fjklp

    Is 'client' too esoteric for an average user? We could make it 'Gajim Settings'.

  106. lovetox

    i think its enough to prefix it with Room

  107. lovetox

    this is almost the only place where you can change something that is not local to your client

  108. flexx

    > flexx, do you see still that error in the log dialog? yes

  109. cal0pteryx

    We don't have 'room' anywhere though, and I unified all of these different terms once used in Gajim to 'group chat' or 'chat'

  110. flexx

    > as in, everytime you start Gajim new yes

  111. cal0pteryx

    And then again, why do we need to differentiate?

  112. fjklp

    Differentiate what?

  113. cal0pteryx

    Between server and client settings

  114. fjklp

    For me at least, I like to have a mental context of knowing what I'm dealing with. I like to be able to look at the labels and know what to expect in that section. It feels bad when you have to click on stuff to find out.

  115. fjklp

    it feels sloppy

  116. fjklp

    For illustration, imagine if the labels were simply letters like A, B, C, D. You would have to click on them to know what's there, and I suspect that most people would agree that that is a very bad solution. This is half way to being like that.

  117. fjklp

    I think the goal of good UI is that a user never have to click and find out, but rather understands what to expect by UI elements.

  118. fjklp

    Maybe not always achievable, but a good goal.

  119. lovetox

    i can imagine that there are users at least wondering what the difference is between settings and configuration in the same dialog

  120. lovetox

    Group Chat Configuration is for my taste to long

  121. lovetox

    We could try "Admin Settings"

  122. lovetox

    then it would be clear that it has to do something with the role the user has

  123. lovetox

    and because of that its unlikely that they think it is something local to their client

  124. fjklp

    I'm curious why group chat was favored over room. Room is a concept that is both common to almost all humans and has a history established in instant messaging. Seems kind of ideal.

  125. fjklp

    Maybe group chat seems somehow less ambiguous.

  126. fjklp

    Maybe group chat seems somehow less ambiguous, more direct.

  127. fjklp

    > i can imagine that there are users at least wondering what the difference is between settings and configuration in the same dialog I do this every time I open the group chat details window, so I imagine it's very common.

  128. cal0pteryx

    https://docs.modernxmpp.org/terminology/

  129. fjklp

    understood

  130. fjklp

    >To reduce user confusion when switching between clients, it is good to use only recommended terms. I strongly agree with this idea

  131. fjklp

    but I guess I do have mixed feelings sometimes

  132. fjklp

    like, who gets to decide? and what if we settle on something that's not optimal and want to change it later. It's a bit messy.

  133. cal0pteryx

    fjklp: there has been plenty of discussion and this was the outcome

  134. lovetox

    fjklp, Group Chat is in my opinion much clearer then Room

  135. fjklp

    group chat is less abstract, so I can see that

  136. lovetox

    though we also have the "Manage" tab

  137. lovetox

    which also has group chat configuration options

  138. lovetox

    the idea was to place the most important ones there

  139. lovetox

    the Configuration Tab is actually for expert users only

  140. lovetox

    because it displays the raw form the server sends

  141. fjklp

    Is there no way to set image perviews per each group chat?

  142. lovetox

    no

  143. lovetox

    why would you enable this in a public chat?

  144. fjklp

    some chats will be more likely to have spam. Different chats will have different relevance to me.

  145. lovetox

    i would find it better if there would be a button to make a preview of a link

  146. lovetox

    like with GIFs a play button for example

  147. fjklp

    wait, we do have that and I didn't notice

  148. fjklp

    the download button

  149. fjklp

    not for links but for images

  150. lovetox

    the problem we have here with xmpp is, that on major social networks, previews are serverd by the server, not the actual server where the link or file is

  151. fjklp

    what is the term for file uploads? do we call it an http upload?

  152. lovetox

    file sharing?

  153. fjklp

    it sucks not even being able to talk about something for lack of a common language

  154. cal0pteryx

    Communication is hard?

  155. fjklp

    Clear communication is hard, yes.

  156. fjklp

    I'm not sure if that was a rhetorical question

  157. cal0pteryx

    It's not always easy to carry the intended meaning through written messages, is what I wanted to say ;)

  158. fjklp

    true