Re: xrandr Question finally ready to ask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



said Thierry de Coulon via tde-users:
| 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. 

Thanks. That is probably the location I need, though due to the 
peculiarities of this screen -- 7 inches, 1920x1200 resolution -- I'll use 
dpi = 168. I'll also have to add the command to rotate it 90 degrees to 
the right. Do you know if the commands can go on the same line, or must 
they be separate?
-- 
dep

Pictures: http://www.ipernity.com/doc/depscribe/album
Column: https://ofb.biz/author/dep/

____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux