Building atom with chromium and HiDPI support


#1

Hello,

I would really like to use atom on my linux with an HiDPI screen. The user interface is fine, but I can not see the menus (that’s a chromium bug which is fixed already in the latest versions and in chrome).

I assume that it might be difficult to build my custom atom based on more recent versions of chromium (I found this thread, and I will have a look if this might help: Using Atom with Chromium Canary).

It would be just fine if I could pass some options to chromium, such as --force-device-scaling-factor, this way I can turn HiDPI off for atom, increase the font size and that would be fine.

It is not easy to work with a new editor without being able to read the menus.

Thank you and regards
Paul.


#2

In the meantime until native or out of the box working hidpi-support (or UI-scaling) is in Atom, this package works reasonable well on my Thinkpad Yoga (12,5" with 1920x1080, which is 176ppi, so kinda hidpi but not quite): https://atom.io/packages/hidpi


#3

Thanks, but this package does not work for me: The menus are still unusable.
I have the problem described in this screenshot ( https://cloud.githubusercontent.com/assets/891025/8556968/9b9c7470-24fa-11e5-818a-8bb6444abe1f.png ), explained in this bug: https://github.com/atom/atom/issues/3826


#4

You can track the progress of Atom being updated to the latest version of Electron and Chromium here:


#5

Thanks.
Yes, I am using currently this branch, it works fine for me, the menus are visible. Just double sized, but at least usable.

So there is no way to pass chromium options to atom?


#6

There is, I’ve just never needed it … so I don’t remember what it is off the top of my head. You can search the Issues in atom/atom for examples.