hallo. this is my third post, apologies in advance for any errors made. i am not good with computer
is there a way for me to set a xrandr config before i log into my account?
i am using an unusual monitor configuration and the default configuration the system assigns it before i log in is not ideal. i don’t know what keywords to use to search for this problem so if you know an answered question for this problem i would thank you many thanks
According to the accepted answer on this page:
I think you can add the display modes to
If you don’t have a
xorg.conf, then you can use the following as a basis. You need to replace the entries with the names
Modes with the correct entries for your system. Depending on your hardware, you may need additional entries, for example if your system has more than one graphic chip.
Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
Modes "1280x1024_60.00" "1024x768_60.00"
If you don’t know the name of the video driver that your system is using then you may get the name as follows (if you have an intel graphic chip, the driver name is just “intel”):
lshw -class display | grep "driver"
The modelines can be generated with
cvt <h-resolution> <v-resolution> [refresh]
Hope it helps!