[openbox] high DPI screens with openbox
turkuting at gmail.com
Wed Feb 10 13:22:36 EST 2016
On 02/10/2016 08:16 PM, Louis-David Mitterrand wrote:
> On Wed, Feb 10, 2016 at 06:14:54AM +0200, TT wrote:
>> On 02/09/2016 01:12 PM, Jim Rees wrote:
>>> Louis-David Mitterrand wrote:
>>> I have a new Dell XPS 15" laptop with 3840x2160 resolution.
>>> In openbox is there a way/tool to scale up the UI like in gnome so the
>>> interface appears with a "normal" size while keeping native resolution?
>>> The font sizes are all in points, so if you have correctly configured your X
>>> server and fontconfig to know what dpi the screen is, the text should appear
>>> in "normal" size. At least that's the theory. I'm not sure how the icons
>>> openbox mailing list
>>> openbox at icculus.org
>> in other words, if you set dpi accordingly in your X server's settings, it
>> should work.
>> something like this:
>> Xft.antialias: 1
>> Xft.autohint: 0
>> Xft.dpi: 96 <== you need a different value here.
>> Xft.hinting: 1
>> Xft.hintstyle: hintfull
>> Xft.lcdfilter: lcddefault
>> Xft.rgba: rgb
>> echo "$XFT_SETTINGS" | xrdb -merge > /dev/null 2>&1
>> save it, make executable and add to your autostart.
> My gods it works, thanks!
now if your system parses ~/.Xdefaults or ~/.Xresources, it would be
more elegant to define the value there.
> openbox mailing list
> openbox at icculus.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openbox