91

Screen elements are too small to click or read on my 4K laptop screen. How do I make it obey Gnome scaling, which is set to 200%?

I'm on Fedora 29, but this should be the same issue on Ubuntu 18.04 LTS

This issue also affects macbook retina display screens.

Ray Foss
  • 1,864

7 Answers7

129

An answer that does not require changing common files that may be changed by future installs:

Zoom currently creates a file named zoomus.conf under your .config folder in the user's home folder.

One of the settings is ScaleFactor, set to 1 by default. Set this to 2, and next time you start the application it will have appropriate-sized visuals.

RealSkeptic
  • 1,406
87

Recently I faced the opposite problem on Ubuntu 20.04 with Zoom 5.1.412382.0614: the UI was zoomed in and everything was too big.

The scaleFactor setting in the zoomus.conf file mentioned in the accepted answer was set to 1. However, changing the autoScale parameter to false solved the issue.

And as mentioned in the comments to this answer (thanks everyone!) it may be necessary to also set useSystemTheme=true so the autoScale parameter setting is respected.

26

The scale is set in an environment variable QT_DEVICE_PIXEL_RATIO.

You can add it to the desktop file in /usr/share/applications/Zoom.desktop by changing the Exec line to Exec=env QT_DEVICE_PIXEL_RATIO=2 /usr/bin/zoom %U

Or add export QT_DEVICE_PIXEL_RATIO=2 to you profile script

Source: zoom.us support

Ray Foss
  • 1,864
4

In Fedora 31, installed from Flatpak, I edit ~/.local/share/applications/us.zoom.Zoom.desktop as Ray Foss suggested above.

Before:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=zoom --file-forwarding us.zoom.Zoom @@u %U @@

After:

Exec=env QT_SCALE_FACTOR=2 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=zoom --file-forwarding us.zoom.Zoom @@u %U @@
2

The other options did not directly work for me, however Luke Hsiao's tips [1] did.

With a Flatpack in Pop!_OS 20.04, I changed my ~/.local/share/flatpak/exports/share/applications/us.zoom.Zoom.desktop to include QT_SCREEN_SCALE_FACTORS env in the exec line. First I ran xrandr to find out my main screen is HDMI-A-0.

Then I prepended the env to the Exec line

Exec=env QT_SCREEN_SCALE_FACTORS=HDMI-A-0=2.00 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=zoom --file-forwarding us.zoom.Zoom @@u %U @@

If you have more monitors you can append their settings as comma-separated values.

[1] https://luke.hsiao.dev/blog/zoom-scaling/

flurdy
  • 167
1

If you are using wayland as your window manager you might want to run zoom in wayland as well. By default, it is xwayland.

The 2 advantages are:

  1. HiDPI is scaled correctly with default options
  2. The zoom window is rescaled when moved on a different screen (Useful with an external screen with a different resolution)

To enable zoom in wayland mode: Exec=env QT_QPA_PLATFORM=wayland /usr/bin/zoom %U

My zoomus.conf is as follow: autoScale=true, scaleFactor=1 and useSystemTheme=true.

Eric M.
  • 131
  • 3
0

Zoom can be started with a proper scaling by overriding the QT_SCALE_FACTOR environment variable.

$ QT_SCALE_FACTOR=2 zoom

https://wiki.archlinux.org/index.php/HiDPI#Zoom

FL1NT
  • 11