I am using Ubuntu Mate 20.04
How can I customize the appearance (i.e. background, font color... ) of tooltips?
Maybe through dconf-editor
or command line?
I am using Ubuntu Mate 20.04
How can I customize the appearance (i.e. background, font color... ) of tooltips?
Maybe through dconf-editor
or command line?
You can install Gtk2 and Gtk3 themes and most of them has a structure like this :
In the
gtk-3.0
directory you can find a file namedgtk.css
. Open it with your favorite text editor and search forToolTips
. There should be some properties like this :You can change the background color of your tooltips via the
background-color
property.And in the
gtk-2.0
directory there's file namedgtkrc
which might contain a line like this :If you want to change the tooltip background color for a gtk2 program ( they are very rare by now) you can adjust it.
You can change the theme via command line without the need to log-out and log-back . For example for a theme called Sweet :
Happy hacking :)
EDIT : These are just for Gtk apps . But you haven't mentioned that you want to change the tooltips of Gtk or Qt apps . So if you want to customize Qt5 apps you can use a nice theme engine called Kvantum which is very customizable and is SVG based , so you can edit the background color of the tooltips via editing the theme files with something like Inkscape