Questions tagged [dpi]

34 questions
27
votes
3 answers

How to get the DPI of an image file (PNG)

If I export an image with lets say 300 DPI and I read out its meta-info with any application that can do it (like file, exiftool, identify,mediainfo etc.), I always get a value showing Image-Width and Image-Height. In this case: 2254 x 288 how do I…
nath
  • 5,430
  • 9
  • 45
  • 87
17
votes
1 answer

xrandr scale 2x2 for multi display (4K HiDPI and Full HD mix) - blurred output

On Kubuntu 17.04 with nouveau, I'm trying to obtain a dual monitor setup with a 4K as main one and a Full HD (actually 1920x1200 but makes no difference) on the right. I'm using double KDE system scale (as described in…
Ayberk Özgür
  • 309
  • 1
  • 2
  • 6
14
votes
6 answers

Multiple monitors HiDPI scaling

I have a Dell p2715q 27" 4K monitor and a HP 23xi pavilion 23" 1080p monitor for my dual monitor setup. The Dell monitor is currently running at a resolution of 3840x2160 @ 60Hz, while the HP is running at 1920x1080 @ 60Hz. When I initially setup…
Isaac Mast
  • 141
  • 1
  • 1
  • 4
11
votes
3 answers

DPI settings in Awesome window manager

I have a nice new shiny 4k monitor. I can increase the font size for most applications (including awesome) however, there are a few issues: The wibar vicious widgets show a tiny font, not the one defined in theme.lia. Any Gnome applications still…
11
votes
4 answers

What display manager/window manager can support multiple monitors with different dpi?

There is no permutation that I have yet found of window manager / display manager, that correctly scales windows and applications on two different monitors with two different DPIs. I have a 40 inch 4k monitor running about 110 dpi, plugged into a…
Thomas Browne
  • 333
  • 3
  • 14
10
votes
3 answers

Who is setting the Xresource Xft.dpi?

We recently received new laptops with a 2160p display. I received it with Ubuntu 16.04 installed with the Unity desktop. I've since installed and use Xfce 4, but kept the Unity greeter (because pretty). I fully expected to see font scaling issues…
ewhac
  • 983
  • 2
  • 9
  • 24
9
votes
1 answer

Wayland Scaling

Im playing around with wayland (on Fedora 24) and multi-dpi screens. With X I am settings my secondary non HDPI screen to scaled with xrandr --output eDP-1 --auto --output DP-1-8 --auto --panning 3840x2400+3840+0 --scale 2x2 --right-of eDP-1 How can…
Ben Flowers
  • 161
  • 1
  • 2
  • 6
5
votes
0 answers

KDE Plasma: GTK fonts too large after update

I've just updated Arch Linux with KDE to Plasma 5.12.5 (I forgot to check which version I had before, but the last update I did was about a month ago) and I noticed the fonts in GTK applications are now ever so slighty larger than in QT…
kasimir
  • 425
  • 5
  • 14
5
votes
1 answer

Gnome automatically scales x2 on a HiDPI Display (XPS 13)

I have the issue that ubuntu gnome (17) always has the automatic scale factor 2 when using the native resolution (3200x1800). When I change the resolution (to 1920x1080 for example) it scales normally (factor 1). When I look at gsettings get…
4less
  • 51
  • 1
  • 2
5
votes
1 answer

Losslessly change the dpi value of a JPEG on Linux

How can I change the dpi value recorded in a JPEG file without actually touching anything else, nor recompressing the image? Linux compatible solutions are welcome. This 2011 link says we may not have had a tool to do it back then...
Totor
  • 19,302
  • 17
  • 75
  • 102
4
votes
0 answers

X Logical Font Description and HiDPI

The problem: X-server serves fonts at a fixed resolution of 100dpi, rather than the current window system resolution (xdpyinfo | grep -F resolution). A bit of theory. There are legacy server-side fonts which are sent to X clients over the network…
Bass
  • 229
  • 3
  • 11
4
votes
1 answer

Change xfce4-settings:appearance (dpi scaling) options via terminal

I want to set the dpi scaling in xfce4-settings:appearance via bash script, so that I can bind it to a key shortcut. In the official docs I can only find the method to change it via GUI. Is there a terminal command to set the dpi value? Thanks for…
4
votes
1 answer

KDE dynamic high-dpi text scaling

I am looking for an equivalent of the following gnome setup, in KDE: Under gnome+X11, I can get instant scaling of gnome apps, KDE apps and chrome/chromium (>v49) when plugging my high-dpi monitor (27" 4K) by running: gsettings set…
eddygeek
  • 1,261
  • 1
  • 12
  • 9
4
votes
1 answer

How do I make all GTK applications use a custom DPI setting?

After upgrading from Debian 8 to Debian 9, the text editor Pluma (a Gedit fork) no longer use my custom DPI setting. I noticed the same thing with the editor Geany. Here are my Xft settings in ~/.Xresources: Xft.antialias: true Xft.autohint:…
August Karlstrom
  • 1,736
  • 2
  • 27
  • 39
3
votes
0 answers

Gnome + i3wm on a 4K display - ruined my DPI scaling in Gnome

I have an issue with the user interface scaling under Gnome 3.38. I am using it only on the internal display of a Dell XPS 15 inch laptop with a 2160p 4K display. Nvidia dGPU with proprietary driver. Wayland is disabled, I'm on a standard xorg…
Euda
  • 31
  • 2
1
2 3