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

    • Euro-Office must default to ODF to be considered "genuinely European", LibreOffice argues by David Uzondu Euro-Office is a web-based collaborative office suite that positions itself as a "European sovereign alternative" to American tech companies, backed by a coalition of developers including Nextcloud, IONOS, Abilian, BTactic, OpenProject, and, more recently, Tuta. The project officially went live a couple of days ago, but not before drawing heavy fire from LibreOffice developers, who called the marketing claim that Euro-Office represents the "first open-source office suite developed in Europe" a deceptive historical inaccuracy because projects like OpenOffice and LibreOffice existed decades earlier. Now that the project has launched, LibreOffice is back with another complaint, arguing that Euro-Office cannot consider itself "genuinely European" while it pushes proprietary Microsoft defaults on users. Euro-Office had promised to improve the OpenDocument Format (ODF) back in April, but the current release still plagues users with several technical failures. For instance, the suite lacks an admin setting to enforce ODF, and mobile editors completely block ODF saves, forcing files into Microsoft's OOXML formats. Some configurations force files into read-only mode, while editing frequently corrupts document formatting or erases data. LibreOffice thinks that merely supporting a format as an afterthought does not make you a sovereign alternative, as file formats are the battleground where" digital sovereignty is won or lost." The road to the first stable release of Euro-Office has been quite bumpy due to an aggressive public fallout with OnlyOffice, from which the coalition originally forked the project. OnlyOffice struck back by accusing the coalition of violating copyright terms under its AGPLv3 branding requirements by stripping the original branding anyway and forking the code. Getting Euro-Office up and running is a bit wonky (at least for non-technical users), as there is no direct installer to grab off the web. The easiest way we learnt is by using Docker. First, pull the official Euro-Office image from the GitHub Container Registry: docker pull ghcr.io/euro-office/documentserver:latest Then, run the container with active ports and a secure JWT token, enabling the test environment: docker run -i -t -d -p 8080:80 --restart=always -e EXAMPLE_ENABLED=true -e JWT_SECRET=my_secure_jwt_secret ghcr.io/euro-office/documentserver:latest And finally, open a web browser and go to the following address: http://localhost:8080 If you are running this on a remote server, replace localhost with your server's IP address. You will see the Euro-Office test page, where you can create new text documents, spreadsheets, or presentations directly in the browser. Image via Euro-Office Nextcloud promises that proper standalone desktop versions and mobile apps will arrive in a future release.
    • It’s any of their products not just windows.
    • Google Gemini has been failing for users across the United States, Europe, and Asia since early Wednesday morning, June 10, 2026, and more than six hours into the incident Google has yet to declare a fix............. https://www.techtimes.com/articles/318152/20260610/google-gemini-outage-tops-six-hours-errors-1076-1099-worldwideflash-lite-still-answers.htm
    • Fun fact: There are more Warhammer 40k games than there are stars in the universe.
  • Recent Achievements

    • Week One Done
      FBSPL earned a badge
      Week One Done
    • One Year In
      Jim Dugan earned a badge
      One Year In
    • One Month Later
      Tommi118 earned a badge
      One Month Later
    • One Month Later
      sjbousquet earned a badge
      One Month Later
    • Week One Done
      sjbousquet earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      486
    2. 2
      PsYcHoKiLLa
      197
    3. 3
      +Edouard
      155
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      69
  • Tell a friend

    Love Neowin? Tell a friend!