Skip to main content
7 votes
Accepted

How to set font and theme for GTK+2 programs from the command-line on Linux?

Quoting the Arch wiki: To manually change the GTK+ theme, icons, font and font size, add the following to the configuration files, for example: ~/.gtkrc-2.0 gtk-icon-theme-name = "Adwaita" gtk-...
catemperor's user avatar
  • 1,019
5 votes

Firefox displaying input bars as black, equations in light gray

You can override gtk theme used by Firefox: navigate to about:config create a string key widget.content.gtk-theme-override set the value to any light theme name, for example Adwaita:light restart ...
Yukulélé's user avatar
3 votes

Enable dark-mode in GTK2

Using the name Arc-Dark for both GTK2 and GTK3 solves the issue. GTK3: [Settings] gtk-icon-theme-main=Arc-Dark gtk-theme-name=Arc-Dark GTK2: gtk-theme-name="Arc-Dark" gtk-icon-theme-name="Arc-Dark"...
vegarab's user avatar
  • 211
3 votes
Accepted

How much of Xfce4 is GTK3?

There is no such list - and even if one existed, it would be outdated fairly quickly. This is the case even if you're only counting "official" xfce apps, ignoring the thousands more GTK2 & GTK3 ...
cas's user avatar
  • 78.7k
2 votes

Firefox displaying input bars as black, equations in light gray

I found this issue was caused by Firefox attempting to use certain colors from my (dark) GTK theme, but it often unexpectedly clashed with things like input boxes. To disable this: Navigate to about:...
boxama's user avatar
  • 56
2 votes

change gtk-2 font only for specific application

You can use the GTK2_RC_FILES environment variable to control the appearance of (individual) GTK2 applications. Create a custom gtkrc config (e.g. ~/.fbpanel-gtkrc) for fbpanel and set your font (or ...
miloserdow's user avatar
1 vote

Mouse cursor became a big X

The cure for me lay in cleaning up ~/.icons, which for me somehow turned out to contain $ cat ~/.icons/default/index.theme # This file is written by LXAppearance. Do not edit.[Icon Theme] Name=Default ...
Dan Jacobson's user avatar
1 vote
Accepted

Xfce: Tab Key No Longer Navigates Within Some Dialog Windows

I did an examination of files that had been changed in the last day or so, hoping to find the culprit. I had inadvertently, when working another issue, changed the appearance style of my desktop. To ...
Digger's user avatar
  • 403
1 vote
Accepted

Wrongly sudo apt-get remove gtk2.0

gtk2.0 isn’t the full name of a single package, so apt-get remove gtk2.0 would have offered to remove all packages whose name contains gtk2.0, and any packages depending on them. To fix this removal, ...
Stephen Kitt's user avatar
1 vote

Traditional scrollbars in GTK2 applications

There is a hidden file .gtkrc-2.0 in the home folder that overides the current theme. If not create it. Paste next at the end of the file style "myscrollbar" { GtkRange::stepper-size = ...
Miloš Pavlović's user avatar
1 vote
Accepted

How can I install a GTK2 theme on XFCE?

Found solution thanks to Freddy's comment : I had downloaded the theme via a theme website and the .tar.xz archive didn't contain any installation file. So I've downloaded the theme from the github of ...
Chloé's user avatar
  • 133
1 vote

Seamonkey browser not honouring Gtk font settings

SeaMonkey-2.49* only seems to honor the $HOME/.config/gtk-3.0/settings.ini file and not gtk-theme-switch tool. While most other GTK applications seem to honor gtk-theme-switch tool. So find a theme ...
Roger's user avatar
  • 11
1 vote

Install Firefox 57 on CentOS 6.5

To handle this kind of error in general, you need to search the database for the missing file. To begin with, you need to update the database by sudo yum makecache After that you can search for the ...
Weijun Zhou's user avatar
  • 3,378
1 vote
Accepted

How to remove on press effect from a theme?

I found it by comparing with another theme which didn't have this effect. There are two lines in gtkrc file: GtkButton ::child-displacement-x = 1 GtkButton ::child-displacement-y ...
Nebeski's user avatar
  • 111
1 vote
Accepted

Firefox displaying input bars as black, equations in light gray

I resolved the problem by simply following the steps suggested in the ArchWiki entry linked by Fox in the comments (Thank you!). To the user content css file in my firefox directory, ~/.mozilla/...
Jonas Schwarz's user avatar
1 vote
Accepted

terminator intercepts F10 when run in openbox

The standard locations for gtk2 configuration files are /etc/gtk-2.0/gtkrc: system wide ~/.gtkrc-2.0: user specific Thus, try to change one of those files instead of ~/.config/gtk-2.0/gtkrc. ...
jimmij's user avatar
  • 47.2k
1 vote

How much of Xfce4 is GTK3?

You can see latest progress here (more). "Facade" info might even be kinda outdated, but if you check each specific component, I think they are almost always updated asap from developers themselves.
mirh's user avatar
  • 570

Only top scored, non community-wiki answers of a minimum length are eligible