Aar*_*ron 5 display multiple-monitors scaling display-resolution 19.04
我在 19.04 中为高 DPI 监视器使用了新的分数缩放功能。它工作得很好,我非常喜欢它。有一件事让我有点恼火。每次我重新启动计算机时,缩放因子都会重置为 1.0。我每次都必须在系统设置中进行调整。有没有办法使缩放永久?
操作系统:Ubuntu 19.04 x86_64
Gnome:3.32.0
显示器 1:3840 x 2160,27 "
显示器 2:1920 x 1080,24 "
GPU:NVIDIA GeForce GTX 960
小智 1
我可以在 20.04 中通过 Eero Kaan 指南中的 gnome 设置来完成此操作: https: //kaanlabs.com/ubuntu-set-scaling-factor-to-200-percent/。
sudo vim /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
更改键名称“scaling-factor”中的默认行,它应该类似于:
<key name="scaling-factor" type="u">
<default>0</default>
<summary>Window scaling factor</summary>
<description>
Integer factor used to scale windows by. For use on high-dpi screens.
0 means pick automatically based on monitor.
</description>
</key>
Run Code Online (Sandbox Code Playgroud)
更改<default>0</default>为<default>2</default>并保存。
sudo glib-compile-schemas /usr/share/glib-2.0/schemas