Questions tagged [dpi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
17
votes
1answer
10k views

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 ...
15
votes
2answers
21k views

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 ...
13
votes
4answers
13k views

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 ...
11
votes
3answers
13k views

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 ...
11
votes
4answers
3k views

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 ...
8
votes
1answer
5k views

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 ...
7
votes
3answers
9k views

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 ...
5
votes
1answer
2k views

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 ...
4
votes
2answers
2k views

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 ...
4
votes
0answers
73 views

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 ...
3
votes
0answers
2k views

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 ...
3
votes
1answer
960 views

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 (...
3
votes
1answer
5k views

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 ~/....
2
votes
1answer
977 views

What if I set DPI bigger than monitor's PPI in gnome using xrandr?

I have a monitor with resolution 1440x900, 19 inch, whose PPI is 89.37. I can set the screen DPI with command: # xrandr --dpi 100 But the problem is my monitor's PPI is only 89.37, how can xrandr ...
2
votes
0answers
96 views

Force Firefoxe's chrome change font size when DPI changes

I sometimes need to switch between displays of vastly different DPIs. For that, I change the X database using xfconf, a part of Xfce, like so: xfconf-query -c xsettings -p /Xft/DPI -s 144 # or 96, ...
2
votes
0answers
868 views

KDE auto scaling screen after login with HiDPI monitor connected or not

I have an internal 3840x2160 monitor, and an external 2560x1440 monitor. I recently installed Manjaro with KDE 5.9. I have tried using xrandr with scale 2x2. It seems ok but is laggy. I don't ...
2
votes
0answers
676 views

Linux on hidpi displays: is scaling the only option?

I have a 210 dpi display. I noticed that in all desktop environments xorg forces the dpi to be just 96 and that I need to scale things x2 to be seen reasonably and fonts are being drawn with 192 dpi. ...
2
votes
0answers
921 views

HiDPI screen and scaling

I recently got a new work laptop which has a native resolution of 3200x1800. It works great. I've been able to get things to be mostly the right size with KDE's display scaling... but it's not quite "...
2
votes
1answer
676 views

Convert scanned image to PDF with fixed DPI

Imagine I have a bunch of JPEG files that I have scanned using a known resolution (300 dpi in this case). However the JPEG file has some additional margin at the border because the scanner's area is ...
1
vote
1answer
31 views

How to scale down PDF file (in pixels and in cm)?

I need to automatically convert my pupils' solutions which are photos and scans of various orientations, resolution, quality and file format into a single PDF with fitting dimensions. The dimensions ...
1
vote
1answer
1k views

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 ...
1
vote
1answer
85 views

Permanently magnify the content displayed in Firefox

I'm using Linux Mint 17.1 MATE. On of the users of the computer have troubles with eyesight and seeing very small text. I increased the DPI of the whole text in RMB > Change Desktop Background > ...
1
vote
0answers
41 views

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. ...
1
vote
1answer
265 views

Is X DPI (dot per inch) setting just meant for text scaling?

On Linux the DPI (dot per inch) is set to 96 per default, it can be changed globally on the X start up parameter for instance X -dpi 120 This seem to mainly impact text/font scaling. In comparison ...
1
vote
1answer
714 views

urxvt not picking up the correct DPI

I'm running Manjaro Gnome on a HiDPI display. Most things work fine but some programs like urxvt or rofi don't seem to pick up the correct system-wide DPI settings and look very TINY. I thought I ...
1
vote
1answer
2k views

Setting DPI and monitors permanently

I'm running elementary OS Freya (based on Ubuntu 14.04) on a MacBook Pro 13.3" 2013 Retina and I'm having weird DPI problems: Some applications (eg Google Chrome) have no awareness of DPI settings ...
1
vote
1answer
4k views

How to set the DPI in a Hi-Res screen? The default setting is too small

I'm running Linux Mint MATE 17.3 on a brand new Asus UX305FA with screen resolution 1920x1080. Everything is super small. I would like that the overall appearance is managed correctly like in the ...
0
votes
0answers
49 views

Screen Resolution and DPI

I'm a little confused as to how screen resolution and DPI work. It seems to me that for a given display, once you set the screen resolution the dpi should also be fixed. However, xrandr allows you to ...
0
votes
0answers
28 views

Arch Linux Gnome Font Rendering Problems

Hello Everyone and thanks for looking. As I was customizing arch linux with Gnome DE installed, I noticed that the text are not very sharp. And so I went ahead and turned on anti aliasing through ...
0
votes
0answers
48 views

How to reload font file configuration in KDE5 plasma

I'm trying to set font config in file ~/.config/kcmfonts cat > ~/.config/kcmfonts <<EOF [General] forceFontDPI=216 EOF Then restart plasmashell and kwin_x11 plasmashell --replace &>/...
0
votes
0answers
35 views

default font size keeps resetting in kde plasma

This could be botched dpi settings, but unsure. This began happening somewhat recently, every time I log in and often while I'm logged in the font size will change to some much smaller value. Checking ...
0
votes
0answers
25 views

Why does xrandr pick a different DPI if called by lightdm?

I have a script which calls xrandr and specifies my screen layout: #!/bin/sh xrandr --output DVI-D-0 --off --output HDMI-0 --off --output DP-0 --off --output DP-1 --off --output DP-2 --mode 2560x1440 -...
0
votes
1answer
253 views

How to determine what entity changes Xorg DPI settings?

I've installed Xubuntu 19.04, and to account for my laptop's screen resolution, in /etc/lightdm/lightdm.conf I've added the line xserver-command=X -dpi 166 The result is that XFCE panel, terminal ...
0
votes
0answers
87 views

How do I change the DPI of only one application, “/usr/bin/wps”?

How do I change the DPI of only one application: "/usr/bin/wps"? On this page, I found the following script but don't know which part(s) should be replaced with "/usr/bin/wps". #!/usr/bin/bash ...