Talk:Uniform look for Qt and GTK applications

From ArchWiki
Latest comment: 21 April by Affaisseras in topic Shouldn't Kvantum be under Theme Engines?

Distinguish theming GTK apps in KDE vs QT apps in Gnome?

Right now I felt like the article was mostly talking about theming GTK apps in KDE while I want to theme QT apps in Gnome. I found it sorta unfortunate this distinction was not made explicit though, as this left me quite confused as to whether the info I'm reading is relevant to me... - Tycho01 (talk) 16:19, 5 October 2019 (UTC)Reply[reply]

I've made such a change! JyoSkyKid (talk) 14:59, 19 April 2024 (UTC)Reply[reply]


I saw in that ukui is officially supported in ArchLinux and is developed based on both GTK and Qt. So I'm wondering how it is working and if it offers an uniform look for both engines or is using one form some parts and the other for others. —This unsigned comment is by Noraj (talk) 13:44, 1 July 2020 (UTC). Please sign your posts with ~~~~!Reply[reply]

Tips and tricks - consistent file dialog

Hey, I just spent a few hours trying to work out why GIO trash functionality was broken and why Cinnamon/libxapp 'xapp-sn-watcher' daemon was crashing whenever I started Cinnamon - it turns out setting GTK_USE_PORTAL=1 *globally* in /etc/environment is a really bad idea. This may have been a simple mistake from ignorance on my part but would anyone mind if I changed the line

Install xdg-desktop-portal and xdg-desktop-portal-kde and set GTK_USE_PORTAL=1 as environment variable.

to include something about how one should set that variable in the launcher for the specific program rather than in ~.profile or /etc/environment? It looks like I'm not the only person who's had this issue ( ) so it might save someone some time in the future. —This unsigned comment is by Areographe (talk) 03:57, 15 November 2020 (UTC). Please sign your posts with ~~~~!

Where should I define this variable? I tried Thunderbird and it works when invoked directly as GTK_USE_PORTAL=1 thunderbird. Saving email attachment uses dolphin's interface. However, when I define export GTK_USE_PORTAL=1 in ~/.profile, then log out and log in to kde, then launch thunderbird via start menu, it still uses the gtk file dialog to save file. Ashark (talk) 10:33, 12 March 2021 (UTC)Reply[reply]
Reading the Environment variables I understand that defining variable in ~/.profile just affected a bash shell in konsole, but not the whole desktop environment. Setting the variable in /etc/environment and rebooting worked as expected - thunderbird uses kde file picker now.
What about above question with trash functionality, I am not using cinnamon, so I cannot test if the issue still happens. Ashark (talk) 10:37, 5 June 2021 (UTC)Reply[reply]


Not sure if this is the right place, but I noticed the wiki tells that you can run kde-gtk-config from the command line, here > If running KDE Plasma, install kde-gtk-config and either run it from the command line

I don't know if this is a mistake or not, but at the very least we should explain how to run it, since kde-gtk-config does not provide any executable. There might still be a way to load the library it provides in a graphical container, but I don't know how, and I suspect I'm not alone. If you are more knoledgable in this area, please update that section.

—This unsigned comment is by Antoinep92 (talk) 13:31, 6 January 2022 (UTC). Please sign your posts with ~~~~!Reply[reply]

Installing xdg-desktop-portal-gtk to help with GTK styling in Wayland Plasma

I ran into an issue today when trying out Wayland with Plasma for the first time. In Wayland, the mouse cursor would change when over top of a GTK app (Firefox, pamac, or the GTK style preview from KDE's settings specifically), and GTK fonts were horribly rendered.

There's a comment here[1] about installing the GTK portal. That fixed the problem for me, but I wasn't able to find it documented anywhere in the wiki. There's also discussion at the link about editing /usr/share/xdg-desktop-portal/kde-portals.conf, which is owned by the package xdg-desktop-portal-kde.

What's the best place to document this? The section about Breeze perhaps? Fynzh (talk) 21:03, 26 November 2023 (UTC)Reply[reply]

Shouldn't Kvantum be under Theme Engines?

Currently Kvantum is listed as a theme collection, in the section of uniform themes.

Then there is a section for theme engines, where QGtkStyle and QGnomePlatform come in. Shouldn't Kvantum be in the same section as them, since it is generally described as a theme engine? JyoSkyKid (talk) 15:04, 19 April 2024 (UTC)Reply[reply]

Kvantum calls itself a "theme engine" because it is for, as far as I could intuit, using a bespoke Kvantum format to generate themes for Qt. This page's definition of theme engine is a program that generates themes for more than one toolkit. Affaisseras (talk) 12:23, 21 April 2024 (UTC)Reply[reply]