I'll show you three examples where you see the increase in size due to the text in the terminal. I change the res with xrandr, the pic1 has 800x600 and seems OK, then in pic2 I changed res to 1856x1392 and it also seems OK but after I restart awesome I get the thing in pic3.
I have not even after 3 weeks found the solution to this so I'm stumped. What can I do?
https://ibb.co/JktWWSR
https://ibb.co/vkKtsf3
https://ibb.co/xLCH97c
Seems like a different DPI value is detected after the change.
There are a couple of sources Awesome asks to determine a DPI value to use.
s.dpi = 42
).Xft.dpi
from the X resource database: awesome-client 'return awesome.xrdb_get_value("", "Xft.dpi")'
awesome-client 'return require("gears.debug").dump_return{size = {root.size()}, size_mm = {root.size_mm()}}'
auto_dpi_enabled
anywhere in your config?
Anyway, the following command should produce the DPI value that AwesomeWM settled on:
awesome-client 'local res = {} for s in screen do res[s] = s.dpi end return require("gears.debug").dump_return(res)'
Sorry, this answer is very much not an answer. However, your question is also more of a bug report than a question... sorry.