Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

xrandr incorrectly detects physical screen size and ignores --fbmm

$
0
0
I did a clean install of a Debian 12 + KDE Plasma.

I have an older monitor, and its size is being incorrectly picked up:

Code:

~> xrandr -q | grep " connected"HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
This is an old SyncMaster is 23", around 509mm x 286mm and the fact that it's physically different causes KDE to incorrectly scale the login screen and almost everything behind it.

I wrote this autostart script and it fixed most of the issues:

Code:

# ~/.config/plasma-workspace/env/display-settings.sh#!/bin/shxrandr --dpi 96xrandr --output HDMI-0 --fbmm 509x286 # ignored no matter what I doxrandr --output HDMI-0 --scale 1x1
the dpi setting is being set correctly, but the --fbmm just doesn't work:

Code:

~> xrandr --output HDMI-0 --fbmm 509x286~> xrandr -q | grep " connected"HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
How do I force xrandr to take my value for the physical screen size?

Some specs, if needed:

Monitor: Samsung SyncMaster PX2370
GPU: NVidia GTX 1660ti
Driver Version: 535.183.01 (proprietary)
Kernel: Linux 6.1.0-23-amd64
X.Org X Server 1.21.1.7
KDE Plasma: 5.27.5
QT: 5.15.8

Statistics: Posted by welnyr — 2024-07-19 21:19 — Replies 4 — Views 91



Viewing all articles
Browse latest Browse all 3474

Trending Articles