Hacker News new | ask | show | jobs
by CJefferson 4765 days ago
Could you describe how to adjust the dpi? I would like to try changing it on my current laptop, to get a feel for if my apps will work in future.

I realise I should be able to read the docs, but I have found lots of different suggestions on how to do it, while you have successfully!

3 comments

There are a few ways to change the "text scaling factor" http://askubuntu.com/questions/60044/how-do-i-change-the-fon... but that doesn't change the real DPI that X uses. If your hardware supports XRANDR, it should automatically configure your device. If it gets a wrong value or you just want to override it: http://wiki.debian.org/XStrikeForce/HowToRandR12#III.3._Chan...
Unity tweak tool -> Fonts -> text scaling factor.

And for chromium I set default zoom to 125% in browser settings.

I'm using the dpi flag in X. Not sure if it would do the right thing on multiple monitors, but it works great on my Pixel:

https://github.com/appsforartists/pixel_webdev/blob/master/r...