You are not logged in.
Didn't have any problems on other laptops, but on lenovo t440p every gui application has a big toolbar. It is visible in browsers, text editors, etc. Tried setting Dpi manually, doesn't work. Xorg/dwm
Offline
Tried setting Dpi manually, doesn't work.
https://bbs.archlinux.org/viewtopic.php?id=57855
Xorg/dwm
How exactly are you starting the graphical desktop?
Jin, Jîyan, Azadî
Offline
*doesn't change anything
starting with startx
Offline
How exactly did you try to set the DPI?
Can we see
xdpyinfo | grep -B 2 resolution
starting with startx
What is the full content of ~/.xinitrc?
Jin, Jîyan, Azadî
Offline
screen #0:
dimensions: 1366x768 pixels (309x173 millimeters)
resolution: 112x113 dots per inch
~/.fehbg &
slstatus &
exec dwm
Offline
Is this a fully updated system? X did try to derive the correct DPI with the v21 release but this was reverted after it caused problems such as you describe so I think it should now default to 96.
And once more:
How exactly did you try to set the DPI?
EDIT: and your ~/.xinitrc is missing some sections so consult the relevant ArchWiki page for details of the correct configuration (seth's signature contains a convenient quick link).
Last edited by Head_on_a_Stick (2022-02-13 16:49:38)
Jin, Jîyan, Azadî
Offline
by editind the
~/.Xresources
Xft.dpi: 192
also tried xrandr with scaling-factor, it made things worse in terms of text visibility, so i deleted .xresources
everything from here
on out of the box distros, same problem
Offline
Please answer my other questions. I'm loosing patience here.
Jin, Jîyan, Azadî
Offline
Sorry for the late response, fully updated, fixed the .xinitrc, had set up the dpi by editing the /etc/X11/xorg.conf.d/90-monitor.conf:
Section "Monitor"
Identifier "eDP1"
DisplaySize 309 173 # In millimeters
EndSection
(I'm so sorry I kept you waiting)
Offline
(I'm so sorry I kept you waiting)
I'm don't mind delays, it's the way you don't answer all my questions that I find frustrating.
So once again: is the system fully updated?
had set up the dpi by editing the /etc/X11/xorg.conf.d/90-monitor.conf
That will set the "correct" DPI but for a 1080p screen I think it would be best to set the DPI to 96 because this is what most applications expect.
So remove 90-monitor.conf and the Xft.dpi line in ~/.Xresources and try
startx -- -dpi 96
^ Does that fix things?
Jin, Jîyan, Azadî
Offline
fully updated, if starting with -dpi 96, the dwm (https://dwm.suckless.org/) ui becomes smaller, but every application stays the same (codeblocks, text editor, browser, file manager etc)
Offline
Can you share a screenshot? Upload the image to a hosting site and post the link here so we can see it in full size.
Does xdpyinfo report 96DPI?
Jin, Jîyan, Azadî
Offline
Yes, 96.
here are the screenshots:
firefox default page
blender
codeblocks
firefox2
(websites look normal, only gui programs are this way)
Offline
Try adding the Xft.dpi line back in ~/.Xresources but set it to 96.
Jin, Jîyan, Azadî
Offline
not working + any other distro is set on 96 by default, and the result is the same
Offline
Please share the X.Org log. It should be under ~/.local/share/xorg/.
Jin, Jîyan, Azadî
Offline
Offline
Does switching to the modesetting DDX driver help?
# /etc/X11/xorg.conf.d/20-modesetting.conf
Section "Device"
Identifier "Intel Graphics"
Driver "modesetting"
EndSection
Remove your Intel DDX configuration file before trying that (the file in which you have activated the TearFree option).
Jin, Jîyan, Azadî
Offline
no, it doesn't, and now there is tearing
Offline
Yes, 96.
here are the screenshots:
firefox default page
blender
codeblocks
firefox2
(websites look normal, only gui programs are this way)
For me these screenshots looks good for 1366x768 display. Maybe I am wrong.
Do you have chance connect FullHD (1920x1080) monitor to compare results?
Offline
Unfortunately I can't connect to a fullhd display.
However, I can compare the results to those I had with windows. I don't have screenshots, but I think it is apparent in codeblocks:
https://windows-cdn.softpedia.com/scree … able_1.png
https://imgbb.com/hBLwhfg
personally I noticed it right away in a browser (firefox, brave)
Offline
https://www.reddit.com/r/suckless/comme … ze_on_dwm/
dwm's config.h shouldn't have an impact on any application except dwm. For okular, or qt apps in general, qt5ct and for gtk apps lxappearance are gui applications to change the appearance, including fonts, of applications. Alternatively you could look into 'man fonts-conf', though this quite complicated and even then you might have to change the font for the toolkit(s).
Offline
I can't find any other setting except Dpi, tried both lxappearance and qt5ct don't affect it
Offline
Please see following screenshots - they compare how Firefox and CodeBlocks looks on your and my computer:
I am using KDE, breeze-dark, 96dpi, 100% scale.
I don't know, if is possible to set lower dpi, then 96. Scale can be set only >= 100%.
Usually we solve opposite problem on HiDPI monitors,
for example on 4K display with 192dpi we can use scale 200% to "convert" it to FullHD 96 dpi.
Offline
I just never had such behavior on other laptops, thanks for your screenshots!
Maybe there is something wrong on certain sized monitors and/or resolutions
Offline