88

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,824
  • 4
  • 20
  • 24
  • 1
    PSA: Using a scaleFactor >= 2 will for some reason make screen sharing buttons disappear (tested in Ubuntu 20.4.1, using ZOOM 5.4.6). Try using scaleFactor of 1.9 or 1.75 instead. – Hyperplane Dec 09 '20 at 10:31

7 Answers7

124

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,356
  • 1
  • 9
  • 4
  • Thank you, you saved my time – id3vz Apr 25 '20 at 03:08
  • 4
    Thank you! Here's the oneliner: `perl -i -pe 's/scaleFactor=1/scaleFactor=2/' ~/.config/zoomus.conf` – assafmo Jun 02 '20 at 08:48
  • 5
    This worked for me too, though I was having the opposite problem. My external monitor was scaled correctly, but the built-in laptop screen it was at double the size, and very big. It was `scaleFactor=auto` and I changed it to `scaleFactor=1` - thanks, very helpful! – david_nash Jul 04 '20 at 04:38
  • 3
    It doesn't have to be full number, ScaleFactor=2 made the icons kind of blurry, but ScaleFactor=1.5 works great for me – Greg Aug 14 '20 at 15:18
  • Doesn't work properly. I've got a huge window with huge buttons. (Kubuntu 20.04, Plasma Version: 5.18.5, with default env QT_AUTO_SCREEN_SCALE_FACTOR=0). `useSystemTheme=true` as mentioned below works fine. – Ilia w495 Nikitin Nov 24 '20 at 14:10
  • 4
    `autoscale=true` worked for me, without changing `scaleFactor` – Reb.Cabin Dec 29 '20 at 16:29
  • Adding a line 'ScaleFactor=2' in the ringcentral.conf file worked for me – the world is not flat Sep 22 '21 at 12:35
86

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.

Lino Ferreira
  • 1,021
  • 6
  • 5
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,824
  • 4
  • 20
  • 24
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 @@
  • 4
    Instead of modifying the `.desktop`, a flatpack override can be used: `flatpak override --env=QT_SCALE_FACTOR=2 us.zoom.Zoom` – jkoelker Jun 22 '20 at 18:36
  • For pop users, path is `~/.local/share/flatpak/exports/share/applications/us.zoom.Zoom.desktop` for Pop!_OS 20.04 – Ulad Kasach Nov 24 '20 at 15:21
  • 1
    This is exactly what worked for me, but (a) zoom flatpak is installed system-wide at `/var/lib/flatpak/app/us.zoom.Zoom/current/active/export/share/applications/us.zoom.Zoom.desktop` and (b) it scales too big on my 4k screen, i.e. QT_SCALE_FACTOR=0.5 is more appropriate. – aanno Jun 07 '21 at 16:11
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
  • 168
  • 4
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