35

Is there a way to make KDE applications (like digiKam) look native in GNOME?

3 Answers 3

22

First you need the KDE's "System settings" application by installing systemsettings from the Software Center.

Search the dash for System settings and launch it . Then make the following changes:

  • under Style → Applications → Widget style, select GTK+
  • under Colors, select the colours to match your GTK theme or download the Ambiance colour scheme .
  • under Icons → Theme, select the icon theme you are using in GTK apps
  • under Fonts select "Ubuntu", size 11
6
  • 8
    Shouldn't be that configuration default in ubuntu? It would look much better, and less uncompatible. Any reason why it's not default? Feb 4, 2011 at 17:37
  • 4
    @rafalcieslak feel free to ask a new question :)
    – 8128
    Feb 5, 2011 at 7:45
  • 4
    It's probably better to suggest installing the QT-4 configurator instead of the KDE Systemsettings manager - since the QT configurator does the same job for this case and has less dependencies.
    – RolandiXor
    Apr 17, 2011 at 23:29
  • 1
    The package @RolandiXor suggests is called qt4-qtconfig.
    – Tobu
    Sep 8, 2013 at 21:38
  • 3
    The menus described in this answer do not exist in the systemsettings applications. Moreover, this application is well known to have no impact on the KDE applications on Ubuntu. Sep 24, 2019 at 6:38
7

In Ubuntu 18.04, what worked for me was:

sudo apt-get install qt5-style-plugins

This is taken from the ArchLinux documentation. It also recommends setting the QT_QPA_PLATFORMTHEME=gtk2 environment variable, but I did not need that.

3
+125

Currently using Ubuntu 22.04. The following solution is applied to my system and has been tested on fontmatrix, that is QT5 app.

You can apply QT styles that recreate GTK look and feel via the packages qt5-style-kvantum (theme manager) and qt5-style-kvantum-themes (collection of styles). To install them, run the command:

sudo apt install qt5-style-kvantum qt5-style-kvantum-themes

Then, you need to tell to your system to use kvantum style for QT5 apps. This is performed by setting the QT_STYLE_OVERRIDE variable in your .profile file.

You have two alternative ways.

Alternative 1

  • run echo "export QT_STYLE_OVERRIDE=kvantum" >> $HOME/.profile

Alternative 2:

  • open the file with gedit $HOME/.profile
  • add the line (if not present) export QT_STYLE_OVERRIDE=kvantum
  • save the file.

After changing the .profile file, you have to logout from your account and login, then it will be sourced automatically.

Now, open the Kvantum Manager app from the app-grid menu:

  • Click on the submenu "Change/Delete Theme"
  • Select "KvYaru" from "Select Menu".
  • Click "Use this theme" button.

Kvantum Manager

This is the way to activate a style that resembles the default Ubuntu theme, called Yaru. By default, a lots of themes are installed, so you can choose what you prefer.

The Kvantum project is available at this GitHub page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.