Re: high DPI screens with openbox
Louis-David Mitterrand <[email protected]> Wed, 10 Feb 2016 19:16:02 +0100
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <[email protected]> |
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 > >work. > >_______________________________________________ > >openbox mailing list > >[email protected] > >http://icculus.org/mailman/listinfo/openbox > in other words, if you set dpi accordingly in your X server's settings, it > should work. > something like this: > > #!/bin/bash > > XFT_SETTINGS=" > 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! _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox