On Mon, Aug 25, 2025 at 12:42 (+0200), Thierry de Coulon via tde-users wrote:
On Monday 25 August 2025 10:31:39 Felix Miata via tde-users wrote:
dep composed on 2025-08-25 06:50 (UTC):
I have a line I need to run sometime before the desktop appears on a dinky computer. It's an xrandr command that rotates the screen 90 degrees to the right and sets 168 dpi. What I don't know is where to put it.
If you want it applicable to any and every user of the computer, on Debian, Ubuntu, Mint and kin, put it in /etc/X11/Xsession.d/.
I have a bash script in /etc/X11/Xsession.d that does someting like that. It reads:
#!/bin/bash xrandr --output eDP-1 --primary --mode 1920x1080
And sets this Thinkpad (that has high resolution screen) back to something usable for a desktop. DOn't remember having done something else.
? Are you saying you use xrandr to set your screen to a lower resolution? If so, why would you do that? (I am using a 142 dpi laptop screen, and my wife's is something like 160 dpi, and neither of us are staring at hard-to-read text or teeny-tiny icons.)
Jim