You are not logged in.

#1 2018-02-02 19:55:52

olocin
Member
Registered: 2018-01-03
Posts: 171

again on hidpi, this time with chromium (and firefox)

I'm using dwm on a hidpi laptop display, but things are not so smooth (:

1. according to the wiki, chromium should detect automatically the dpi and behave consistently, but this does not happen for me:
I do startx -- -dpi 216 and xdpyinfo | grep -B2 resolution gives correctly 216x216, but chromium remains instead very small.
Chromium allows you to manually set it with --force-device-scale-factor flag, but is there a way to set this option on a session basis, say in .xinitrc?

2. firefox has layout.css.devPixelsPerPx but this does not scale bookmarks/address bar/drop down menu, only the webpages, and again it is done inside the browser, every time you switch between two displays!
is there a way to set this in .xinitrc?

The main point is that I would like to use two different .xinitrc files for different (internal and external) displays used at different times (but never together), and not having to change many things by hand.

Edit1: let me also mention that I'm not interested in solving this via add-ons.

Last edited by olocin (2018-02-02 21:31:09)

Offline

Board footer

Powered by FluxBB