You are not logged in.

#1 2022-02-12 15:59:39

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

UI scale too big

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

#2 2022-02-13 14:43:09

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,824
Website

Re: UI scale too big

iguianajnes wrote:

Tried setting Dpi manually, doesn't work.

https://bbs.archlinux.org/viewtopic.php?id=57855

iguianajnes wrote:

Xorg/dwm

How exactly are you starting the graphical desktop?


Jin, Jîyan, Azadî

Offline

#3 2022-02-13 15:12:47

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

*doesn't change anything
starting with startx

Offline

#4 2022-02-13 15:31:04

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,824
Website

Re: UI scale too big

How exactly did you try to set the DPI?

Can we see

xdpyinfo | grep -B 2 resolution
iguianajnes wrote:

starting with startx

What is the full content of ~/.xinitrc?


Jin, Jîyan, Azadî

Offline

#5 2022-02-13 16:01:23

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

screen #0:
  dimensions:    1366x768 pixels (309x173 millimeters)
  resolution:    112x113 dots per inch
~/.fehbg &
 slstatus &
 exec dwm 

Offline

#6 2022-02-13 16:33:34

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,824
Website

Re: UI scale too big

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:

I wrote:

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

#7 2022-02-13 17:18:45

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

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

#8 2022-02-13 20:53:14

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,824
Website

Re: UI scale too big

Please answer my other questions. I'm loosing patience here.


Jin, Jîyan, Azadî

Offline

#9 2022-02-14 05:27:53

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

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

#10 2022-02-15 06:43:52

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,824
Website

Re: UI scale too big

iguianajnes wrote:

(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?

iguianajnes wrote:

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

#11 2022-02-15 12:21:05

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

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

#12 2022-02-15 14:04:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,824
Website

Re: UI scale too big

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

#13 2022-02-15 14:35:40

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

Yes, 96.
here are the screenshots:
firefox default page
blender
codeblocks
firefox2
(websites look normal, only gui programs are this way)

Offline

#14 2022-02-15 16:00:52

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,824
Website

Re: UI scale too big

Try adding the Xft.dpi line back in ~/.Xresources but set it to 96.


Jin, Jîyan, Azadî

Offline

#15 2022-02-15 16:15:17

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

not working + any other distro is set on 96 by default, and the result is the same

Offline

#16 2022-02-15 16:16:16

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,824
Website

Re: UI scale too big

Please share the X.Org log. It should be under ~/.local/share/xorg/.


Jin, Jîyan, Azadî

Offline

#17 2022-02-15 16:21:03

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

Offline

#18 2022-02-15 16:35:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,824
Website

Re: UI scale too big

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

#19 2022-02-15 16:43:05

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

no, it doesn't, and now there is tearing

Offline

#20 2022-02-15 18:34:30

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 189

Re: UI scale too big

iguianajnes wrote:

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

#21 2022-02-15 18:42:17

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

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

#22 2022-02-15 18:56:45

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 189

Re: UI scale too big

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

#23 2022-02-16 08:07:01

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

I can't find any other setting except Dpi, tried both lxappearance and qt5ct don't affect it

Offline

#24 2022-02-16 12:49:12

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 189

Re: UI scale too big

Please see following screenshots - they compare how Firefox and CodeBlocks looks on your and my computer:

https://ibb.co/bvPkbwV

https://ibb.co/xSNrQgV

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

#25 2022-02-16 13:08:10

iguianajnes
Member
Registered: 2022-02-12
Posts: 13

Re: UI scale too big

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

Board footer

Powered by FluxBB