[QGIS-Developer] Development / HiDPI / Linux

G. Allegri giohappy at gmail.com
Mon Oct 16 08:19:47 PDT 2017


With Lubuntu I've got good results setting "Xft.dpi:150" within my
.Xresources file.

giovanni

Il 16 ott 2017 17:05, "Alessandro Pasotti" <apasotti at gmail.com> ha scritto:

> Hi Mathias,
>
> My only real problem now is with PgAdmin 3, all other applications that I
> use are running just fine on HiDPI.
>
> The apps I uses more often are: QGIS, various browsers, thunderbird, Qt
> creator 4 and they are all ok.
>
> What I usually do to fine-tune all is to force dpi in the display section
> of the system config panel (I think it goes directly to X through xrandr).
>
> But I'm on Kubuntu xenial, perhaps that makes a difference.
>
>
>
> On Mon, Oct 16, 2017 at 4:44 PM, Matthias Kuhn <matthias at opengis.ch>
> wrote:
>
>> Hi developers,
>>
>> Just for a couple of days I'm a happy owner of a HiDPI device on which I
>> immediately setup Fedora 27 which ships with Gnome 3.26, wayland, Qt 5.9
>> and all the other nice new libraries and stuff.
>>
>> Trying to develop (and use the system otherwise) I failed terribly to
>> get a satisfactory configuration for QGIS development (and also
>> otherwise). There are a few knobs to "finetune" DPI, but I just seem not
>> to be able to get things right. Each variable I set somewhere has
>> side-effects somewhere else.
>>
>> * Gnome itself already has a scale setting which at 100% makes things
>> very, very tiny and at 200% (the only other option) makes everything
>> grandma mode.
>>
>> * Then there is also the environment variable
>> QT_AUTO_SCREEN_SCALE_FACTOR which seems to make Qt Creator a bit more
>> usable. (Qt Creator internally actually seems to be using two different
>> dpi's - probably QML vs. QWidget issues) But with this env variable set,
>> the QGIS interface seems to be scaled up twice.
>>
>> * Then there are various other variables for Thunderbird, Firefox, ...
>> that again allow to scale contents for specific applications
>>
>> * And I read somewhere about xrandr for additional zooming, but I'm
>> neither convinced that this is a good approach since some mouse setting
>> apparently needs to compensate for this, nor does this seem to have any
>> effect (probably because of Wayland) Source:
>> https://wiki.archlinux.org/index.php/HiDPI
>>
>>
>> So apart from a rant for the mess by GUI frameworks and window managers,
>> there's also a question: did anyone succeed to set things up properly?
>>
>>
>> Thanks
>>
>> Matthias
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171016/9c7faa7d/attachment-0001.html>


More information about the QGIS-Developer mailing list