Post tutorials, HOWTO's and other useful resources here.
-
tome
- Contributor

- Posts: 657
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks and lies
-
Contact:
Post#1
by tome » 25 Aug 2013, 15:52
Add the following kernel parameter in your bootloader:
and set your brightness with:
Code: Select all
echo 100 > /sys/class/backlight/nv_backlight/brightness
replace 100 with number 1 - 100 (don't use 0).
You have mind and feelings. Be wise and clever.
tome
-
hope
- Black ninja

- Posts: 48
- Joined: 04 Jul 2020, 12:07
- Distribution: porteus 5.0rc1 KDE desktop
Post#2
by hope » 04 Jul 2020, 17:25
Thanks for the excellent code! The same code works for me without putting any parameter inside a bootlader, I just used
Code: Select all
echo 200 > /sys/class/backlight/intel_backlight/brightness
command works. Actually I used more than 100 without any problems since 100 makes my screen relatively darker than I expected. Maybe vendor to vendor limits changes ? Actually there is a file under which shows the maximum brightness value under the same folder which is max_brightness. I think you can increase the value 1 less than the that maximum value in safety.
Newbie to Linux-Unix systems, try to read,learn, apply, modify and create.
hope
-
hope
- Black ninja

- Posts: 48
- Joined: 04 Jul 2020, 12:07
- Distribution: porteus 5.0rc1 KDE desktop
Post#3
by hope » 19 Feb 2021, 21:43
Actually,
Code: Select all
xrandr --output <screen-name> --brightness 0.5
will do the same job. (0.5 at the reduces backlight to 50 percent and you can find your screen-name by typing xrandr. Just before command itself, there are the name of the connectors which are your sceen-names, select the connected ones).
Newbie to Linux-Unix systems, try to read,learn, apply, modify and create.
hope