Package Details: qt6ct-kde 0.9-4

Git Clone URL: https://aur.archlinux.org/qt6ct-kde.git (read-only, click to copy)
Package Base: qt6ct-kde
Description: Qt 6 Configuration Utility, patched to work correctly with KDE applications
Upstream URL: https://github.com/trialuser02/qt6ct
Licenses: BSD
Conflicts: qt6ct
Provides: qt6ct
Submitter: ilya-fedin
Maintainer: ilya-fedin
Last Packager: ilya-fedin
Votes: 6
Popularity: 2.79
First Submitted: 2023-11-08 18:16 (UTC)
Last Updated: 2024-04-06 01:13 (UTC)

Pinned Comments

ilya-fedin commented on 2023-11-08 18:17 (UTC) (edited on 2024-03-12 00:06 (UTC) by ilya-fedin)

Some user guide:

My patchset contains multiple fixes/features in comparison to vanilla qt6ct:

  1. KDE color schemes support
  2. KDE QML applications theming support
  3. KDE's icon engine is used, fixing monochrome icons colors (I saw problems with e.g. Adapta Kvantum theme on KDE applications toolbars, like dolphin, they're grey when should be white)

xdg-desktop-portal allows you to have KDE dialogs in non-KDE environment without installing plasma-integration package. To get them, all you need is:

  1. Install xdg-desktop-portal + xdg-desktop-portal-kde
  2. If you have xdg-desktop-portal-gtk installed, rename usr/share/xdg-desktop-portal/portals/gtk.portal to zz-gtk.portal (backend priority is in alphabetical order). You can add that file to NoExtract in pacman.conf.
  3. Ensure that session dbus instance is running correctly.

How to ensure that session dbus instance is running correctly when using xinit (DMs should already do the right thing for you):

  1. Ensure you don't have dbus-launch nor dbus-session-run in .xinitrc
  2. Ensure you copied the for f in /etc/X11/xinit/xinitrc.d/?*.sh loop from /etc/X11/xinit/xinitrc to your .xinitrc
  3. Ensure you have no errors in systemctl --user status dbus and the service is running. You shouldn't enable the service, it should be activated by dbus.socket.

In case of Wayland, you may need to integrate your WM with systemd (that's what one of the scripts in /etc/X11/xinit/xinitrc.d does for X11): https://github.com/swaywm/sway/wiki#gtk-applications-take-20-seconds-to-start

Latest Comments

ilya-fedin commented on 2024-03-28 01:34 (UTC)

Ok, apparently the PR is not going to be merged any time soon, updated the patch

ilya-fedin commented on 2024-03-11 23:53 (UTC) (edited on 2024-03-11 23:55 (UTC) by ilya-fedin)

Here it is: https://github.com/trialuser02/qt6ct/pull/43

I made some cosmetic improvements (KDE color schemes are now marked in the settings UI to differentiate them from qt6ct ones and get the name intended for displaying rather than the file name) there which I will backport here if the PR will get ignored for a long time (which I guess is likely given that they have a little PR sitting around for a month) or if the owner won't like to accept it.

ilya-fedin commented on 2024-03-11 22:41 (UTC) (edited on 2024-03-11 22:42 (UTC) by ilya-fedin)

No, the biggest problem at the time was that qt5ct is placed at sourceforge. Now, that there's KF6 and qt6ct-kde exists, I guess I can try to make a pull request to qt6ct at GitHub.

MiiMe19 commented on 2024-03-11 21:54 (UTC)

Thank you so much for this. I was going insane trying to figure out why ark was not reading the theme properly. Have you considered trying to get this merged into qt6ct?

Aqa-Ib commented on 2024-03-06 21:27 (UTC)

This package is gold. Thanks.

ilya-fedin commented on 2024-03-06 19:40 (UTC)

@q234rty thanks, I had no chance to test it and only ensured it builds, looks like KColorSchemeManager from KF6 always sets a QString while previously it was setting an empty variant when no custom color scheme is set.

q234rty commented on 2024-03-06 18:12 (UTC)

This package does not work for me (on neochat at least). I did a bit of debugging and found that using if(qApp->property("KDE_COLOR_SCHEME_PATH").toString().isEmpty()) instead of if(qApp->property("KDE_COLOR_SCHEME_PATH").isNull()) makes it work.

ilya-fedin commented on 2023-11-09 17:06 (UTC) (edited on 2023-11-09 17:07 (UTC) by ilya-fedin)

You're commenting under qt6ct-kde, not qt5ct-kde. The dependency is right

yochananmarqos commented on 2023-11-09 16:40 (UTC)

The dependency is now called qqc2-desktop-style5 with the recent renaming of the KF5 packages.

ilya-fedin commented on 2023-11-08 18:17 (UTC) (edited on 2024-03-12 00:06 (UTC) by ilya-fedin)

Some user guide:

My patchset contains multiple fixes/features in comparison to vanilla qt6ct:

  1. KDE color schemes support
  2. KDE QML applications theming support
  3. KDE's icon engine is used, fixing monochrome icons colors (I saw problems with e.g. Adapta Kvantum theme on KDE applications toolbars, like dolphin, they're grey when should be white)

xdg-desktop-portal allows you to have KDE dialogs in non-KDE environment without installing plasma-integration package. To get them, all you need is:

  1. Install xdg-desktop-portal + xdg-desktop-portal-kde
  2. If you have xdg-desktop-portal-gtk installed, rename usr/share/xdg-desktop-portal/portals/gtk.portal to zz-gtk.portal (backend priority is in alphabetical order). You can add that file to NoExtract in pacman.conf.
  3. Ensure that session dbus instance is running correctly.

How to ensure that session dbus instance is running correctly when using xinit (DMs should already do the right thing for you):

  1. Ensure you don't have dbus-launch nor dbus-session-run in .xinitrc
  2. Ensure you copied the for f in /etc/X11/xinit/xinitrc.d/?*.sh loop from /etc/X11/xinit/xinitrc to your .xinitrc
  3. Ensure you have no errors in systemctl --user status dbus and the service is running. You shouldn't enable the service, it should be activated by dbus.socket.

In case of Wayland, you may need to integrate your WM with systemd (that's what one of the scripts in /etc/X11/xinit/xinitrc.d does for X11): https://github.com/swaywm/sway/wiki#gtk-applications-take-20-seconds-to-start