Home  >  Article  >  Operation and Maintenance  >  Enable fractional scaling in Fedora using GNOME

Enable fractional scaling in Fedora using GNOME

WBOY
WBOYforward
2023-06-27 21:41:271063browse

使用 GNOME 在 Fedora 中启用分数缩放

(Fractional Scaling) Fractional Scaling is a handy feature that allows you to maximize optimization of HiDPI monitors and high-resolution laptops. By fine-tuning the scaling, you can create a well-balanced desktop display that's neither too big nor too small and looks great. Although resolution settings are also available, due to operating system limitations, they usually match your actual situation.

Additionally, this feature allows you to resize text and other UI elements on the screen without making everything look blurry. This is useful if you have a high-resolution monitor and want to make text easier to read.

Ubuntu 20.04 LTS introduced fractional scaling of 100%, 125%, 150%, 175% and 200% in 2020. You can find it in the Display settings under the Settings tab.

But in Fedora Workstation with the default GNOME desktop, only 100% and 200% zoom are available.

使用 GNOME 在 Fedora 中启用分数缩放Default scaling for GNOME in Fedora

Open a terminal window (CTRL ALT T).

Run the following commands. This command enables 125%, 150% or 175% scaling in Fedora OS with GNOME.

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

Restart Fedora.

Open the Settings app and you should see the new zoom factor.

使用 GNOME 在 Fedora 中启用分数缩放 Fractional Scaling in GNOME Fedora

However, it is important to note that fractional scaling is not always perfect. Some applications may not scale correctly. Non-GTK applications can appear blurry if the application is not designed appropriately.

Also, it is important to note that fractional scaling may increase laptop power consumption due to the greater rendering workload of the GPU.

Some usage instructions

According to my testing, the above command should be valid in Wayland.

If you don’t want to use the above commands, but still want to get a similar experience, then you can follow these steps:

Install GNOME using sudo dnf install gnome-tweaks "Tweaks" app.

Go to the "Fonts" settings and change the scale factor.

Try setting the scaling to 1.1 or 1.2, which will maintain 100% scaling while achieving larger fonts. Adjust it to your needs.

使用 GNOME 在 Fedora 中启用分数缩放Font scaling

Font scaling

  • 125%: This is a typical value for fractional scaling. It increases text size and UI elements by 25% without making everything appear blurry.
  • 150%: This is a good value for people who want to enlarge text and other UI elements without increasing the display resolution.
  • 175%: This is a good value for people who want to make text and other UI elements very large.

Trying out different scaling factors is crucial to finding the one that works best for you. The optimal scaling factor will depend on your monitor size, eyesight, and preference.

I hope this guide helps.

The above is the detailed content of Enable fractional scaling in Fedora using GNOME. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:51cto.com. If there is any infringement, please contact admin@php.cn delete