-
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)
-
nicoco
https://upload.slidge.im:5281/file_share/068e62ad-fdb5-7368-8704-d3171e40d7b5/09386052-f288-4241-b894-df16d8779715.png
-
nicoco
⬆️ selected chat in the chat list is white-on-white
-
nicoco
(btw, gajim fails to preview this image with ValueError("relative path can't be expressed as a file URI") — non-related issue)
-
nicoco
https://upload.slidge.im:5281/file_share/068e62b9-a904-7ae4-bf6f-c01d070b41b4/8fa3e801-7851-4efb-9d2b-1a4d1f6ac2d5.png
-
nicoco
⬆️ unread count bubbles have no background making them almost invisible in the "workspace list"
-
nicoco
https://upload.slidge.im:5281/file_share/068e62c2-2634-7eb0-ba10-4d34fab7b3ee/86dbb00a-fb70-4a73-90d7-410c5100b03f.png
-
nicoco
⬆️ with GTK_THEME=Adwaita-dark, they are a bit more readable but have no "background" which I don't think is intended?
-
nicoco
and in the chat list, there is simply no difference between between the active conversation and other chats
-
mesonium
nicoco: can you check with the gtkinspector that it really uses the right theme?
-
nicoco
not sure what to look for, but in GTKinspector→global→prefix→environment I see that GTK_THEME=Adwaita, yes
-
nicoco
interesting things in there, though
-
nicoco
https://upload.slidge.im:5281/file_share/068e62db-dbf2-7de8-8a6c-4e1548db56ea/0c64a8b3-d5af-4d62-a65d-99578d545f08.png
-
nicoco
apparently "my system does not support accent colors" so that may be it?
-
Link Mauve
nicoco, which xdg-desktop-portal implementations are you running? On which DE?
-
nicoco
oh, but in settings I see "GTK Theme: Nordic" despite GTK_THEME=Adwaita (and the general look being Adwaitaish, definitely not "Nordic")
-
nicoco
I use sway
-
Link Mauve
nicoco, do you do this? https://wiki.archlinux.org/title/Sway#Configuration
-
Link Mauve
Do you have both xdg-desktop-portal-wlr and xdg-desktop-portal-gtk installed and running?
-
nicoco
yes, `ps aux | grep portal` show that both are running
-
nicoco
> nicoco, do you do this? https://wiki.archlinux.org/title/Sway#Configuration no mention of GTK4 there ↺
-
Link Mauve
It’s libadwaita which requires the Settings portal.
-
nicoco
not sure what to do with that lol :) is xdg-desktop-portal-gtk the settings portal?
-
nicoco
I suspect I have to do some magic `gsettings set …` incantations?
-
Link Mauve
xdg-desktop-portal-gtk does provide an implementation of the Settings portal, yes.
-
Link Mauve
No, gsettings shouldn’t be involved anywhere, nor environment variables.
-
Link Mauve
Nor configuration files.
-
Link Mauve
Just the portal.
-
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)✎ -
mesonium
https://wiki.archlinux.org/title/XDG_Desktop_Portal nicoco: portal implements different interfaces:
-
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) ✏
-
mesonium
See 2.1
-
mesonium
portals implement*✎ -
nicoco
Do I understand that xdg-desktop-portal-gtk is for GTK3 only from this table?
-
mesonium
Different Portal backends implement* ✏
-
nicoco
Meaning I need to have xdg-desktop-portal-gnome for GTK4?
-
mesonium
Yes, gtk is only gtk3
-
mesonium
Afaik
-
nicoco
I'd like to try to understand how this all works but man, the complexity…
-
mesonium
It would offer you the gtk3 file chooser in Gajim if you want to pick a file
-
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
-
nicoco
https://upload.slidge.im:5281/file_share/068e6313-b6e5-71a8-8a80-a33e87b1cf2b/eafcba52-d1cb-4e7f-9cb9-51dfe24c2c39.png
-
mesonium
Portals are middlemen/gatekeepers between applications and the portal applications (see interfaces), whereby the communication happens over dbus.
-
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?
-
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.
-
nicoco
sway is minimal, I don't think it does much in terms of "theming" anything
-
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.
-
Link Mauve
nicoco, this also isn’t about theming, but about light/dark and accent colour preferences.
-
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?✎ -
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? ✏
-
Link Mauve
ModuleNotFoundError: No module named 'httpx'
-
Link Mauve
ModuleNotFoundError: No module named 'truststore'
-
nicoco
yup, it's a new dependency
-
Link Mauve
Nobody noticed me the AUR package was failing. :(
-
nicoco
this is unreleased, 2.3.6 does not introduce these new dependencies
-
nicoco
can't you make that AUR package read the dependencies in `pyproject.toml`? runtime dependencies are defined "the standard way" AFAIK
-
Link Mauve
Sure, but I’m talking about the git package, which builds from master.
-
Link Mauve
nicoco, hmm, I don’t know of a way to translate pypi names and versions into ArchLinux packages names and versions.
-
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.
-
Link Mauve
So perhaps try to figure out why xdg-desktop-portal-gtk doesn’t for you.
-
Link Mauve
Are you running an up to date version? Here I’m on 1.15.3.
-
nicoco
``` Package: xdg-desktop-portal-gtk Version: 1.15.3-1 ``` Yay, same version, even in debian stable. That's unusual ^^
-
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.
-
mesonium
Good luck!
-
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.
-
cal0pteryx
spicewiesel: no, this is about the task bar, not the system tray
-
spicewiesel
ah, that thing usually on the bottom on kde/gnome etc?
-
lovetox
Tray is a different setting look for notification area
-
spicewiesel
oh yes, I was searching for tray and icon but never notifications. Disabling that did the trick after a restart, thanks a lot!
-
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.
-
nicoco
https://upload.slidge.im:5281/file_share/068e6534-6cff-7f94-a6aa-9b27f08223f4/a0e52fdc-b304-454f-9892-bf017e027a09.png
-
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.
-
mesonium
gimmi: do you use the Fedora repo or Flatpak?
-
gimmi
> gimmi: do you use the Fedora repo or Flatpak? Fedora Repo ↺
-
gimmi
I had to restart my computer and some files have been corrupted, one of which was this SQLite DB used by Gajim
-
gimmi
I really don't know how it happened, but I also almost lost an entire git repo. 🤔✎ -
gimmi
I really don't know how it happened, but I also almost lost an entire git repo. 🤔 (unrelated) ✏
-
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.
-
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.
-
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.
-
Link Mauve
Oh, TIL.
-
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. ↺
-
gimmi
The Guix version is 1.9.5.
-
gimmi
I don't remember the Fedora one...
-
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.✎ -
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. ✏
-
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. ✏
-
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 -
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✎ -
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 ✏
-
mesonium
you can write the overrides by hand or there's a semi-offical app called rewaita
-
nicoco
the palette I like is not that exotic: https://www.nordtheme.com/ — for GTK✎ -
nicoco
the palette I like is not that exotic: https://www.nordtheme.com/ — for GTK3 https://github.com/EliverLara/Nordic was OK ✏
-
nicoco
but it looks awful in GTK4 xD
-
nicoco
https://upload.slidge.im:5281/file_share/068e6615-b2e4-7584-ae80-e09bec64c4b5/2bed0338-330e-498b-bb62-102ebcb40665.png
-
mesonium
Just a bit. ;)
-
TeeCee
Is there a way to get Gajim to auto-replace :) with 🙂 for example?
-
jpanic2
:)
-
mesonium
TeeCee: check the Acronym Expander plugin
-
TeeCee
Nice, thanks
-
sunglocto
does this channel have any guidelines around message recording?
-
lovetox
There is no limit to my knowledge why?
-
lovetox
If you mean the message retention of this chat
-
lovetox
Or do you mean something different?
-
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?
-
lovetox
Depends what you screenshot and on the person you take a screenshot of?
-
lovetox
This is a public chat, people expect that this information is publicly accessible
-
sunglocto
Not of a specific person, just the general chatroom at a point in time
-
lovetox
As said everything here is already publicly available
-
lovetox
All chat logs are also online reachable
-
lovetox
You can not make it worse by sharing a screenshot
-
Purplebored
Btw this is really cool
-
Purplebored
https://conference.gajim.org:5281/muc_log/gajim/
-
Purplebored
To do this you need a prosody module right?
-
cal0pteryx
yes
-
Purplebored
Ah amazing might look into it and set it up
-
Purplebored
Do you by any chance know how the prosody module is called?
-
cal0pteryx
https://modules.prosody.im/mod_muc_log_http.html most likely
-
Purplebored
Amazing thank you so much <3
-
cal0pteryx
or rather its successor https://modules.prosody.im/mod_http_muc_log.html
-
Purplebored
Will take a look into it and set it up tomorrow once again thanks
-
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!
-
mesonium
cofeyas1622025: the jmp chat support chat is here: xmpp:discuss@conference.soprani.ca?join
-
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