Gajim - 2025-10-08


  1. nicoco

    hey all! since GTK4, I have had some "visibility" issues. I thought the culprit was my GTK_THEME (Nordic) or some stuff in ~/.config/gtk-4.0, but I moved that dir, and even if I launch with GTK_THEME=Adwaita, a few things are wrong with the colors. does anyone know what's wrong with my config and where to look? (screenshots incoming)

  2. nicoco

    https://upload.slidge.im:5281/file_share/068e62ad-fdb5-7368-8704-d3171e40d7b5/09386052-f288-4241-b894-df16d8779715.png

  3. nicoco

    ⬆️ selected chat in the chat list is white-on-white

  4. nicoco

    (btw, gajim fails to preview this image with ValueError("relative path can't be expressed as a file URI") — non-related issue)

  5. nicoco

    https://upload.slidge.im:5281/file_share/068e62b9-a904-7ae4-bf6f-c01d070b41b4/8fa3e801-7851-4efb-9d2b-1a4d1f6ac2d5.png

  6. nicoco

    ⬆️ unread count bubbles have no background making them almost invisible in the "workspace list"

  7. nicoco

    https://upload.slidge.im:5281/file_share/068e62c2-2634-7eb0-ba10-4d34fab7b3ee/86dbb00a-fb70-4a73-90d7-410c5100b03f.png

  8. nicoco

    ⬆️ with GTK_THEME=Adwaita-dark, they are a bit more readable but have no "background" which I don't think is intended?

  9. nicoco

    and in the chat list, there is simply no difference between between the active conversation and other chats

  10. mesonium

    nicoco: can you check with the gtkinspector that it really uses the right theme?

  11. nicoco

    not sure what to look for, but in GTKinspector→global→prefix→environment I see that GTK_THEME=Adwaita, yes

  12. nicoco

    interesting things in there, though

  13. nicoco

    https://upload.slidge.im:5281/file_share/068e62db-dbf2-7de8-8a6c-4e1548db56ea/0c64a8b3-d5af-4d62-a65d-99578d545f08.png

  14. nicoco

    apparently "my system does not support accent colors" so that may be it?

  15. Link Mauve

    nicoco, which xdg-desktop-portal implementations are you running? On which DE?

  16. nicoco

    oh, but in settings I see "GTK Theme: Nordic" despite GTK_THEME=Adwaita (and the general look being Adwaitaish, definitely not "Nordic")

  17. nicoco

    I use sway

  18. Link Mauve

    nicoco, do you do this? https://wiki.archlinux.org/title/Sway#Configuration

  19. Link Mauve

    Do you have both xdg-desktop-portal-wlr and xdg-desktop-portal-gtk installed and running?

  20. nicoco

    yes, `ps aux | grep portal` show that both are running

  21. nicoco

    > nicoco, do you do this? https://wiki.archlinux.org/title/Sway#Configuration no mention of GTK4 there

  22. Link Mauve

    It’s libadwaita which requires the Settings portal.

  23. nicoco

    not sure what to do with that lol :) is xdg-desktop-portal-gtk the settings portal?

  24. nicoco

    I suspect I have to do some magic `gsettings set …` incantations?

  25. Link Mauve

    xdg-desktop-portal-gtk does provide an implementation of the Settings portal, yes.

  26. Link Mauve

    No, gsettings shouldn’t be involved anywhere, nor environment variables.

  27. Link Mauve

    Nor configuration files.

  28. Link Mauve

    Just the portal.

  29. nicoco

    (for a start, I'd be happy to just use adwaita dark theme, then I'll see if I manage to get the "Nordic" color scheme that I like)

  30. mesonium

    https://wiki.archlinux.org/title/XDG_Desktop_Portal nicoco: portal implements different interfaces:

  31. nicoco

    (for a start, I'd be happy to just use adwaita dark theme, then I'll see if I manage to get the "Nordic" color scheme that I like, but later)

  32. mesonium

    See 2.1

  33. mesonium

    portals implement*

  34. nicoco

    Do I understand that xdg-desktop-portal-gtk is for GTK3 only from this table?

  35. mesonium

    Different Portal backends implement*

  36. nicoco

    Meaning I need to have xdg-desktop-portal-gnome for GTK4?

  37. mesonium

    Yes, gtk is only gtk3

  38. mesonium

    Afaik

  39. nicoco

    I'd like to try to understand how this all works but man, the complexity…

  40. mesonium

    It would offer you the gtk3 file chooser in Gajim if you want to pick a file

  41. nicoco

    I don't have xdg-desktop-portal-gnome, yet, with GTK_THEME=Nordic, a `~/.themes/Nordic/gtk4` dir and some gsettings stuff, my gajim _almost_ looks good, the selected chat and unread count bubbles have no background are my only issues

  42. nicoco

    https://upload.slidge.im:5281/file_share/068e6313-b6e5-71a8-8a80-a33e87b1cf2b/eafcba52-d1cb-4e7f-9cb9-51dfe24c2c39.png

  43. mesonium

    Portals are middlemen/gatekeepers between applications and the portal applications (see interfaces), whereby the communication happens over dbus.

  44. nicoco

    But how does it work when `xdg-desktop-portal-gnome` is not installed? installing it with apt wants to pull 178 other packages, for 450 MB lol. I still have no idea where/what to set if I install that. Is is really required if I just want to use gajim's default adwaitathing theme?

  45. Link Mauve

    nicoco, no, xdg-desktop-portal-gnome is if you were using GNOME, but you are using Sway so you want xdg-desktop-portal-wlr for the DE integration.

  46. nicoco

    sway is minimal, I don't think it does much in terms of "theming" anything

  47. Link Mauve

    xdg-desktop-portal-gtk is for some portals which aren’t or can’t be implemented by xdg-desktop-portal-wlr, such as the OpenFile portal, or the Settings portal.

  48. Link Mauve

    nicoco, this also isn’t about theming, but about light/dark and accent colour preferences.

  49. nicoco

    OK. What would you do if you were in my shoes then? My only concern is unread count bubbles being almost invisible. Does this have to do with accent colors? How can I fix it? What should I install, which setting should I modify and how?

  50. nicoco

    OK. What would you do if you were in my shoes then? My ~only~ main concern is unread count bubbles being almost invisible. Does this have to do with accent colors? How can I fix it? What should I install, which setting should I modify and how?

  51. Link Mauve

    ModuleNotFoundError: No module named 'httpx'

  52. Link Mauve

    ModuleNotFoundError: No module named 'truststore'

  53. nicoco

    yup, it's a new dependency

  54. Link Mauve

    Nobody noticed me the AUR package was failing. :(

  55. nicoco

    this is unreleased, 2.3.6 does not introduce these new dependencies

  56. nicoco

    can't you make that AUR package read the dependencies in `pyproject.toml`? runtime dependencies are defined "the standard way" AFAIK

  57. Link Mauve

    Sure, but I’m talking about the git package, which builds from master.

  58. Link Mauve

    nicoco, hmm, I don’t know of a way to translate pypi names and versions into ArchLinux packages names and versions.

  59. Link Mauve

    nicoco, here, running GNOME and the xdg-desktop-portal-gnome and xdg-desktop-portal-gtk portal implementations, I do have the accent colour working.

  60. Link Mauve

    So perhaps try to figure out why xdg-desktop-portal-gtk doesn’t for you.

  61. Link Mauve

    Are you running an up to date version? Here I’m on 1.15.3.

  62. nicoco

    ``` Package: xdg-desktop-portal-gtk Version: 1.15.3-1 ``` Yay, same version, even in debian stable. That's unusual ^^

  63. nicoco

    I'll try to investigate why "accent colour" do not work… I do not really know where to start, but search engines are my friends.

  64. mesonium

    Good luck!

  65. spicewiesel

    hey all. just a quick question as it's not working for me: The setting "Show in Taskbar" should be the right one to disable Gaijm's tray icon, or do I misunderstand it? It does not have any effect for me right now.

  66. cal0pteryx

    spicewiesel: no, this is about the task bar, not the system tray

  67. spicewiesel

    ah, that thing usually on the bottom on kde/gnome etc?

  68. lovetox

    Tray is a different setting look for notification area

  69. spicewiesel

    oh yes, I was searching for tray and icon but never notifications. Disabling that did the trick after a restart, thanks a lot!

  70. nicoco

    I'm now not convinced it is an "accent color" issue, since I can toggle "system supports accent color" in gtkinspector and the "unread message count" still have no background.

  71. nicoco

    https://upload.slidge.im:5281/file_share/068e6534-6cff-7f94-a6aa-9b27f08223f4/a0e52fdc-b304-454f-9892-bf017e027a09.png

  72. gimmi

    Hello, I have a problem with my Gajim installation on Fedora. It no longer starts up and complains about a non-existing SQLite table called jids. I am currently using the Gajim installation provided by GNU Guix on the same system, but I would like to solve this issue so to come back to the Fedora one. Does anyone of you have any idea on how to fix this? Thanks a lot.

  73. mesonium

    gimmi: do you use the Fedora repo or Flatpak?

  74. gimmi

    > gimmi: do you use the Fedora repo or Flatpak? Fedora Repo

  75. gimmi

    I had to restart my computer and some files have been corrupted, one of which was this SQLite DB used by Gajim

  76. gimmi

    I really don't know how it happened, but I also almost lost an entire git repo. 🤔

  77. gimmi

    I really don't know how it happened, but I also almost lost an entire git repo. 🤔 (unrelated)

  78. Link Mauve

    gimmi, Fedora has an extremely old version of Gajim, and if you ran a newer one (e.g. from Guix) it will have upgraded the database, and there is no way to move back.

  79. Link Mauve

    The best solution would be for Fedora to move on and ship the latest version, but this has been happening for years at this point.

  80. mesonium

    > gimmi, Fedora has an extremely old version of Gajim, and if you ran a newer one (e.g. from Guix) it will have upgraded the database, and there is no way to move back. Well, Gajim always creates a backup of the database.

  81. Link Mauve

    Oh, TIL.

  82. gimmi

    > gimmi, Fedora has an extremely old version of Gajim, and if you ran a newer one (e.g. from Guix) it will have upgraded the database, and there is no way to move back. Actually, I installed Gajim using Guix. Then I switched flawlessly to the Fedora version. Then this morning I had the failure and now I have problems with the Fedora version. Otherwise everything used to work flawlessly.

  83. gimmi

    The Guix version is 1.9.5.

  84. gimmi

    I don't remember the Fedora one...

  85. mesonium

    > The best solution would be for Fedora to move on and ship the latest version, but this has been happening for years at this point. Yeah, they've been failing to manage to upgrade a dependency (protobuf) required for Gajim and many other packages for almost 2 years now. It's on theie agenda, but shortly after each release they notice that no volunteer came up to help upgrading all packages, which have been stalled for above reason.

  86. mesonium

    > The best solution would be for Fedora to move on and ship the latest version, but this has been happening for years at this point. Yeah, they've been failing to manage to upgrade a dependency (protobuf) required for Gajim and many other packages for almost 2 years now. It's on theie agenda, but shortly before each release they notice that no volunteer came up to help upgrading all packages, which have been stalled for above reason.

  87. mesonium

    > The best solution would be for Fedora to move on and ship the latest version, but this has been happening for years at this point. Yeah, they've been failing to manage to upgrade a dependency (protobuf) required for Gajim and many other packages for almost 2 years now. It's on their agenda, but shortly before each release they notice that no volunteer came up to help upgrading all packages, which have been stalled for above reason.

  88. nicoco

    Link Mauve, mesonium, I don't know if you' re interested but here we go: I managed to get the damn accent colors. I had GTK_THEME=Nordic set on the startup of my sway session (so presumably before `xdg-portal-xxx` starts, and this apparently breaks accent-colors for the whole session even if unset it later with `GTK_THEME="" some-executable`. So my workaround was to unset GTK_THEME, which gives back accent colors to adwaita and adwaita-dark. Pfeeeew.

    👍 1
  89. nicoco

    If I want my nordic color scheme, apparently I write some overrides in ~/.config/gtk-4.0/gtk.css — I'll live with adwaita-dark's defaults for now xD

  90. nicoco

    If I want my nordic color scheme, apparently I need to write some overrides in ~/.config/gtk-4.0/gtk.css — I'll live with adwaita-dark's defaults for now xD

  91. mesonium

    you can write the overrides by hand or there's a semi-offical app called rewaita

  92. nicoco

    the palette I like is not that exotic: https://www.nordtheme.com/ — for GTK

  93. nicoco

    the palette I like is not that exotic: https://www.nordtheme.com/ — for GTK3 https://github.com/EliverLara/Nordic was OK

  94. nicoco

    but it looks awful in GTK4 xD

  95. nicoco

    https://upload.slidge.im:5281/file_share/068e6615-b2e4-7584-ae80-e09bec64c4b5/2bed0338-330e-498b-bb62-102ebcb40665.png

  96. mesonium

    Just a bit. ;)

  97. TeeCee

    Is there a way to get Gajim to auto-replace :) with 🙂 for example?

  98. jpanic2

    :)

  99. mesonium

    TeeCee: check the Acronym Expander plugin

  100. TeeCee

    Nice, thanks

  101. sunglocto

    does this channel have any guidelines around message recording?

  102. lovetox

    There is no limit to my knowledge why?

  103. lovetox

    If you mean the message retention of this chat

  104. lovetox

    Or do you mean something different?

  105. sunglocto

    I mean if I, for example, took a screenshot of this chat for a particular example and it was accesible online, would that be problematic?

  106. lovetox

    Depends what you screenshot and on the person you take a screenshot of?

  107. lovetox

    This is a public chat, people expect that this information is publicly accessible

  108. sunglocto

    Not of a specific person, just the general chatroom at a point in time

  109. lovetox

    As said everything here is already publicly available

  110. lovetox

    All chat logs are also online reachable

  111. lovetox

    You can not make it worse by sharing a screenshot

  112. Purplebored

    Btw this is really cool

  113. Purplebored

    https://conference.gajim.org:5281/muc_log/gajim/

  114. Purplebored

    To do this you need a prosody module right?

  115. cal0pteryx

    yes

  116. Purplebored

    Ah amazing might look into it and set it up

  117. Purplebored

    Do you by any chance know how the prosody module is called?

  118. cal0pteryx

    https://modules.prosody.im/mod_muc_log_http.html most likely

  119. Purplebored

    Amazing thank you so much <3

  120. cal0pteryx

    or rather its successor https://modules.prosody.im/mod_http_muc_log.html

  121. Purplebored

    Will take a look into it and set it up tomorrow once again thanks

  122. cofeyas1622025

    hello! please does anybody has a working referral code for jmp.chat ? would love to test the numbers and get rid of bad voip services afterwards thanks!

  123. mesonium

    cofeyas1622025: the jmp chat support chat is here: xmpp:discuss@conference.soprani.ca?join

  124. black

    Hey, was there already the suggestion for Sticker support? https://xmpp.org/extensions/xep-0449.html If not, I want to suggest it as a new feature :D