3

My system is openSUSE 42.1 with Plasma 5.

I have some GTK applications installed as well, and I'm experiencing a rather annoying behaviour from them.

Namely, the tooltips of these apps are almost unreadable, being white text over light grey background, as you can see on the picture

enter image description here

I can't find where and how to change this setting; only non-KDE apps are affected, and not all of them: Gimp, Inkscape, Filezilla are amongst them, while Firefox, Libreoffice, Handbrake display the tooltips in a readable way.

4

The issue is due to a partial override of GTK colors by means of KDE style.

Open System Settings > Colors, deselect Apply colors to non-Qt applications, restart the GTK application (e.g. Gimp). This breaks the feeling that all applications share the same style but tooltips will be again readable in both Qt and GTK applications.

3

I have the same issue in Linuc Mint KDE edition. Luckily I found an answer at the ArchLinux wiki:

To change the colors in GTK2 applications, find the section for tooltips in the .gtkrc-2.0 file and change it. For GTK3 application two files need to be changed, gtk.css and settings.ini.

Source: https://wiki.archlinux.org/index.php/KDE

  • I did find .gtkrc-2.0 (and a ~/.config/gtkrc-2.0), but it did not have a tooltips section, though it did say include "/usr/share/themes/Breeze/gtk-2.0/gtkrc" & include "/etc/gtk-2.0/gtkrc" of which only the former refers to tooltips, with gtk-color-scheme = "tooltip_fg_color:#fcfcfc" & gtk-color-scheme = "tooltip_bg_color:#31363b". Would putting those in my own file with updated values have the desired effect? – PJTraill Dec 16 '18 at 15:29

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.