Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2698

Raspberry Pi OS • Re: Set screen resolution via CLI

$
0
0
To recap, I was doing all my tests against bullseye released on 2023-05-03 .

I tried to made the changes in the cmdline.txt file, no joy. I used both the commands (the one provided by the documentation and the other one suggested here, with the D addded).

No joy.

I tested both on my custom image and on a vanilla installation of the Raspberry Pi OS. It seems that changes to the cmdline.txt file are not applied.

Then I went full "open source" mode and took a look at what arandr is doing under hood.
It turns out that is writing the file in /usr/share/dispsetup.sh where it applies the settings. I modified it, and now everything works like a charm. I suspect that such file is loaded way later during the boot process, so any change is ignored.

I hope this helps to anyone else having this issue in the future.
Hi, can you share with us the command you have in /usr/share/dispsetup.sh? Many thanks in advance!

Statistics: Posted by w4ltz — Fri May 03, 2024 9:55 pm



Viewing all articles
Browse latest Browse all 2698

Trending Articles