Talk:GTK

From ArchWiki
(Redirected from Talk:GTK+)
Latest comment: 04:43 by Arash in topic gtk-4.0/settings.ini

Adwaita GTK 2 colors do not match GTK 3

It seems like gnome-themes-extra is not updated anymore, and Adwaita GTK 3 colors changed since 3.28. In GNOME GitLab there's a merge request that has the updated colors for Adwaita GTK 2. It could be used like this:

 $ git clone https://gitlab.gnome.org/GNOME/gnome-themes-extra.git && cd gnome-themes-extra
 $ curl -O https://gitlab.gnome.org/GNOME/gnome-themes-extra/-/merge_requests/8.patch
 $ git apply 8.patch
 $ mkdir -p ~/.themes/
 $ cp -r themes/* ~/.themes/

But I'm not sure it belongs to here. Should it be included in the article as a workaround? -- Veemo (talk) 17:12, 20 October 2020 (UTC)Reply[reply]

Wayland clientside decorations

Unfortunately the package mentioned in GTK#Wayland_backend has been removed, it seems to have been merged upstream. However there is gtk3-nocsd-gitAUR, but I do not know how relevant it is for Wayland users. Consider updating the section.

NetSysFire (talk) 21:35, 5 February 2021 (UTC)Reply[reply]

GTK_CSD=0 can only disable CSD on windows that do not have custom CSD decorations widgets. I removed tip completely as it may be misleading. -- Svito (talk) 15:40, 30 April 2021 (UTC)Reply[reply]

gtk-4.0/settings.ini

There is no mention of where to change settings for Gtk 4, or what settings differ from Gtk 3. At least a hint to copy .config/gtk-3.0/settings.ini to .config/gtk-4.0/settings.ini would be helpful. Tim.dolores (talk) 14:41, 3 December 2021 (UTC)Reply[reply]

I thought that GTK4 settings are hardcoded and only can be changed through available options in dconf editor.
If you have tested this method, and if this works as intended, we have to add it into article.
I personally did it and test it for a few days to see how it works.
However, just coping gtk-3 settings.ini file into gtk-4 one doesn't seem to be suitable. since many settings options of GTK3 do not exist for GTK4 and hence are not valid.[1] gtk-key-theme-name is an example.
Arash (talk) 04:43, 19 March 2024 (UTC)Reply[reply]

Why are my gsettings settings not in sync with the configuration files?

Does anyone have a clue why gsettings get org.gnome.desktop.interface font-name is Cantarell 11 when my I have Noto Sans in my config?

.config/gtk-3.0/settings.ini
gtk-font-name=Noto Sans 11

There are a bunch of font settings, that also use the Cantarell font, which I never wrote in my config. Some programs are picking up on them instead of from the config file. I would have to sync the two manually.

Does this happen to anyone else? If settings.ini is useless the article should be changed, I think. Affaisseras (talk) 23:25, 9 March 2024 (UTC)Reply[reply]

GTK3 has two sorts of separate configuration paths. One is respected by some apps and the other respected by the other ones (usually gnome system apps; with no exact defenition!) so you have to use both .config/gtk-3.0/settings.ini and gsettings set org.gnome.desktop.interface to configure your GTK3 stuff.
It's kind of mentioned in article's Basic theme configuration section.
Arash (talk) 04:27, 19 March 2024 (UTC)Reply[reply]