Recommended Posts

I've been kind of switching between KDE, GNOME and Openbox for the last few months and something that I had previously not noticed has started to annoy me. If I use Firefox in Openbox, the font that I had selected with gtk-chtheme is used for the application font, but within Firefox itself, I notice that some fonts appear larger than others, but only in Openbox. I poked around a bit and if I run gnome-font-properties, it seems to correct this, but that seems like a sloppy solution, as I don't run gnome-settings-daemon (which corrects everything). Does anyone know of what I can add to my .gtkrc-2.0 file for font settings?

Link to comment
https://www.neowin.net/forum/topic/435557-openbox-gtk-fonts/
Share on other sites

I've been kind of switching between KDE, GNOME and Openbox for the last few months and something that I had previously not noticed has started to annoy me. If I use Firefox in Openbox, the font that I had selected with gtk-chtheme is used for the application font, but within Firefox itself, I notice that some fonts appear larger than others, but only in Openbox. I poked around a bit and if I run gnome-font-properties, it seems to correct this, but that seems like a sloppy solution, as I don't run gnome-settings-daemon (which corrects everything). Does anyone know of what I can add to my .gtkrc-2.0 file for font settings?

I think this is a firefox issue. Normally, apps either pick up on the font defined in .gtkrc-2.0, or they get told what font to use by gnome-settings-daemon. Firefox works great with gnome-settings-daemon, but doesn't do what it should do with the .gtkrc-2.0. I think you might just have to live with it, unless you want to run a settings daemon.

There are 2 methods of defining fonts in your .gtkrc-2.0, it's recommended to use both for backwards compatibility.

the first is like this ->

style "user-font"

{

font_name="Bitstream Vera Sans 10"

}

widget_class "*" style "user-font"

And again like this ->

gtk-font-name="Bitstream Vera Sans 10"

Firefox will only use the font described in the gtk-font-name section.

...poked around a bit and if I run gnome-font-properties, it seems to correct this, but that seems like a sloppy solution, as I don't run gnome-settings-daemon (which corrects everything). Does anyone know of what I can add to my .gtkrc-2.0 file for font settings?

Do you run any xsettings manager at all? If not, how do you get your apps use the GTK theme you've selected?

Do you run any xsettings manager at all? If not, how do you get your apps use the GTK theme you've selected?

Well I decided not to run the gnome-settings-daemon to set my GTK preferences because it also brings some other GNOME-related settings that I'm not interested in. The only settings file that I'm using is my .gtkrc-2.0 file:

gtk-icon-theme-name = "dlg-etiquette"
gtk-theme-name = "Clearlooks"

style "user-font"
{
		font_name = "Bitstream Vera Sans 8"
}

widget_class "*" style "user-font"

gtk-font-name = "Bitstream Vera Sans 8"

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Win11Debloat 06.11.2026 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 06.11.2026 fixes: Fix lock screen spotlight option being disabled when disabling the start recommended section by @Raphire in #619 Fix log message formatting by @Raphire Note The -RemoveCommApps and -RemoveW11Outlook command-line parameters for uninstalling a few specific apps have been removed with this release. If you previously relied on these parameters, please see this wiki page for alternative methods of removing these apps. Download: Win11Debloat 06.11.2026 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Yes for me, I installed 'old calculator' (Windows 7 calculator) in its place since it is more useful to me. I think paint is the only one I left installed
    • eh I'll wait for the June 2026 MVS ISO downloads which should be coming out next Tuesday June 16 and possibly contain build 8655 instead of 8653
  • Recent Achievements

    • Rookie
      restore went up a rank
      Rookie
    • Very Popular
      AndrewSteel earned a badge
      Very Popular
    • Veteran
      Taliseian went up a rank
      Veteran
    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      511
    2. 2
      +Edouard
      162
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      ATLien_0
      82
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!