DEV Community

Cover image for Here's How to Change GNOME Fractal's Font Size
Archer Allstars
Archer Allstars

Posted on

Here's How to Change GNOME Fractal's Font Size

Fractal is a Matrix chat client, like Element, Cinny, and FluffyChat.

There are many good things with chatting in Matrix:

  • It's secure because of E2EE.
  • You can also use any clients you want, provided that the one you choose implemented the security features of the Matrix protocol correctly.
  • You can even self-host it, meaning you control your data.

You can't go wrong with any of them on the above. It depends on your needs and your preference.

  • If you want calling, Element and FluffyChat (experimental feature) are there for you.
  • I like Fractal and Cinny UIs. And both of them are easy on RAM, especially Cinny. But I go with Fractal because its cross signing process is seamless. I use Element X on mobile, so I can't verify Cinny without the recovery key. Otherwise, I would go with Cinny.

There's one major issue with Fractal, though. I can't change its tiny font size. Sadly, its devs mistakenly understand that texts in chat messages should be treated the same with texts in the OS/DE user interface with all the visual aids in place.

To tell you the truth, I already have 1.5x scaling on my setup. I can't go further than this with a FHD screen. Enable the "Large Text" mode would also break many apps' UI at 1.5x scaling. You can go with 1.25x scaling with the Large Text mode, of which will end up with the same font size as 1.5x scaling. So, I absolutely need a bigger text to keep my eyes healthy 👀

Without further ado, here is how:

1. Create a config file

Assuming you install it from Flathub which is the official channel to get the app.

First, create a directory:

mkdir -p ~/.var/app/org.gnome.Fractal/config/gtk-4.0
Enter fullscreen mode Exit fullscreen mode

Then, use nano or any text editor to create a config file (CSS) there:

nano ~/.var/app/org.gnome.Fractal/config/gtk-4.0/gtk.css
Enter fullscreen mode Exit fullscreen mode

2. Change the font size in the config file we previously created

Paste this content:

* {
    font-size: 16pt;
}
Enter fullscreen mode Exit fullscreen mode

Change your preferred font-size as needed.

This method should work with any GTK4 apps.


Thanks for reading 🙏


Cover Photo by Parker Coffman on Unsplash

Top comments (0)