Commit graph

15 commits

Author SHA1 Message Date
Vincent Bernat
d52488e1c9 xsettings: always set Gdk/* properties
It shouldn't hurt if we use 1 as scaling factor.
2018-07-27 22:53:54 +02:00
Vincent Bernat
387c6d0078 xsettings: use xsettings to set scale factor 2018-07-27 22:50:05 +02:00
Vincent Bernat
1aa03a9044 xsettings: configure neo for new 4K screens 2018-07-27 21:44:16 +02:00
Vincent Bernat
01d65673ca xsettings: when using display port adapter, keep HiDPI settings too
In fact, we should detect we have some videoprojector and do that.
2016-04-17 19:07:04 +02:00
Vincent Bernat
cb7763f070 xsettings: when using HDMI output only, keep HiDPI
The HDMI output is used mostly for presentations.
2016-03-30 14:48:14 +02:00
Vincent Bernat
f3f3754336 xsettings: compatibility with modeset driver 2016-02-19 10:06:22 +01:00
Vincent Bernat
f5954001cf xsettings: handle connected but unused screens as well 2015-08-05 19:09:39 +02:00
Vincent Bernat
d9008f094d xsettings: do not rely on a primary screen
It is likely that we don't have one.
2015-08-05 09:36:26 +02:00
Vincent Bernat
b0d555ff98 xsettings: just hard-code appropriate DPI settings 2015-07-23 21:42:32 +02:00
Vincent Bernat
e0ceb40259 xsettings: use xrandr to compute appropriate DPI 2015-07-23 13:23:09 +02:00
Vincent Bernat
5710a37455 xsettings: keep using xdpyinfo if override not present 2015-07-23 09:02:08 +02:00
Vincent Bernat
f253d81ef5 xsettings: grab DPI from xsettings.dpi
Some applications, like Chromium don't like the X server to use an
appropriate DPI setting. Dunno why. See:
 https://code.google.com/p/chromium/issues/detail?id=511580

This is a workaround for that.
2015-07-23 09:00:02 +02:00
Vincent Bernat
58cea06e8e xsettings: also fallback to xrdb
LibreOffice doesn't use xsettings...
2014-11-05 13:40:31 +01:00
Vincent Bernat
b30a00e7e3 xsettings: fix invocation of xsettings 2014-09-17 18:02:03 +02:00
Vincent Bernat
f10cb9fb84 xsettings: use some helper to configure xsettingsd 2014-09-17 10:39:22 +02:00