question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HiDPI Auto Scaling on Linux

See original GitHub issue

Do not scale if GDK_SCALE environment variable is set. Also, do not auto scale if app is being run with JetBrain-Runtime which has auto scaling enabled by default.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
DevCharlycommented, Mar 26, 2020

@cristatus many thanks for testing.

I now realize the bug in my fix and the difference to your fix.

It should be:

if( isSystemScaling() )
    return 96. / 72.;

I think it is better to return early from getGnomeFontScale() for the case that the desktop property “gnome.Xft/DPI” is not set.

BTW what Linux distro do you use? It looks very nice. Want try this distro…

0reactions
cristatuscommented, May 10, 2020

@DevCharly I just tried and found few issues. Looks like it’s being tracked with #94, I will provide my feedback there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HiDPI - ArchWiki
Go to Settings Manager > Appearance > Settings > Window Scaling and select 2 as the scaling factor. Go to Settings Manager >...
Read more >
How to Change HiDPI Scaling Settings on Linux - MakeUseOf
GNOME automatically detects HiDPI displays, but it doesn't provide much in the way of options for tweaking the degree of scaling. By default, ......
Read more >
Auto-scaling on HiDPI and normal DPI displays .... how?
I have problem with most apps. they don't scale properly on external display - they stay double size (2x) which makes them barely...
Read more >
HiDPI (High Dots Per Inch) Display | Kali Linux Documentation
This mode adjusts the scaling-factor for GTK, QT and even Java based interfaces, so that the user doesn't need to modify each one...
Read more >
How To Enable HiDPi Scaling on Linux - AddictiveTips
Inside of the Settings Panel, and click on the “look” section, then select “Scaling”. Under scaling, the user is able to easily adjust...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found