Tiny Core Base > Corepure64

How to change display resolution in Xfbdev?

<< < (2/2)

Rich:
Hi euless

--- Quote from: euless on November 13, 2024, 09:43:11 PM --- ... Is /opt/bootlocal.sh the proper place to set the backlight brightness at boot time? ...
--- End quote ---
I don't know if  /sys/class/backlight/brightness  exists before the GUI starts.

A safer alternative is create a file in ~/.X.d/ , dimLCD for example. The exact
name does not matter. Place the following line in that file:

--- Code: ---echo 2000 | sudo tee /sys/class/backlight/brightness
--- End code ---

To test it:
Click the Exit icon.
Select Exit to Prompt.
Click OK.
Then enter startx and your screen should dim as the GUI starts.

Navigation

[0] Message Index

[*] Previous page

Go to full version