Crystal, thanks for the suggestion, but that didn't work either.
However, I found a simpler way of doing it: Add the line
${exec_prefix}/bin/xrandr --size 1600x900
with whatever screen resolution you desire, to the file
/etc/X11/xenodm/Xsetup_0
and restart xenodm. (Get acceptable resolutions using
xrandr or lxrandr.)
On Fri, Jul 4, 2025 at 12:25 PM Crystal Kolipe <kolipe.c@exoticsilicon.com> wrote:
On Fri, Jul 04, 2025 at 12:01:22PM -0600, David Raymond wrote:
> I used to be able to set my X11 screen resolution on boot by putting
> something like the file
>
> Section "Screen"
> Identifier "Screen0"
> SubSection "Display"
> Virtual 1600 900
> EndSubSection
> EndSection
You probably want something like:
Section "Monitor"
Identifier "HDMI-2"
Modeline "1600x1200_60.00" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync
Option "PreferredMode" "1600x1200_60.00"
EndSection
The Identifier should be the port that the display is actually connected to,
which you can find out with xrandr.
And obviously don't use those specific line timings, but use
/usr/X11R6/bin/gtf or /usr/X11R6/bin/cvt to generate suitable timings for your
hardware.
No comments:
Post a Comment