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/.