Like all the rest of the applications it looks awfully small on a hidpi display. Now, it is a wine application and you can change the wine’s DPI setting per WINEPREFIX. However, teamviewer comes with its own, outdated copy of wine that lacks the comfortable winecfg. If you need one, you can just grab a package from an older version of your distribution, chances are it will be compatible.

So, given I am on the Fedora 22 and TV10, what I did is first check the teamviewer’s wine version:

$ /opt/teamviewer/tv_bin/wine/bin/wine --version
wine-1.6

then head to pbone’s rpm search and find the freshest 1.6 for fedora x86_64 which so happened to be th FC18’s 1.61, downloaded and got it extraceted:

mkdir wine-common-1.6; cd wine-common-1.6; rpm2cpio ../wine-common-1.6.1-1.fc18.noarch.rpm | cpio -idv

and then launch winecfg using the teamviewer’s wine home which is (~/.config/teamviewer10 for TV10 and ~/.local/share/teamviewer11 for TV11):

WINEPREFIX=~/.local/share/teamviewer11 ./usr/bin/winecfg

set your DPI in the “Graphics” tab, do OK and enjoy the hidpi mode in teamviewer!

4 Thoughts on “Teamviewer on Linux hidpi

  1. fantastic!!
    finally someone answered this trouble because TeamViewer people don’t seem to give a rip about it. I’ve emailed multiple times.
    only problem is that after I did what you did, the Computers & Contacts window won’t show up.
    Also, the mouse cursor is still super tiny in TV.
    any ideas on that?
    THANKS FOR THIS POST!!

    • i tried an in between setting for the DPI and the Computers&Contacts showed up. the scaling must have sent it off the screen.
      THANKS AGAIN!!

  2. Tim Hodson on November 22, 2016 at 12:15 pm said:

    Here’s another option that worked for me, which is rather hacky but involves no further software installation. Find the system.reg file under the WINEPREFIX you mentioned (eg find ~/.local/share/teamviewer11 -name system.reg). Then edit that file, and search for LogPixels. My file had a line:

    “LogPixels”=dword:00000060

    I changed the 00000060 to 000000c0 (ie doubled it). Now, TeamViewer is rather more usable! Pro tip: move the windows top-left before doing this, otherwise they are hard to find…

    This was based on a helpful comment I found at https://forum.winehq.org/viewtopic.php?t=515

  3. The current version that I just installed (12.0.71510) has an undocumented option reachable by “teamviewer winecfg” that allows for adjusting dpi in a more simple fashion. Thanks for the useful post which put me on the right track!

Leave a Reply

Your email address will not be published. Required fields are marked *

Post Navigation