How can I run:
xbacklight -set 0
before login screen?
How can I run:
xbacklight -set 0
before login screen?
For this you can use the file /etc/rc.local. Insert your command to this file before exit 0 and anytime you start your system the command is executed. Please ensure that he file is also executable.
/etc/rc.local runs. So you might need to add sleep 10, or that with a different number, to be sure that the display is ready to take the command.
– MadMike
Nov 07 '13 at 06:52
From your question, it appears you want to set screen brightness on startup. With current architecture (Xorg, not Mir or Wayland) you can do it like written on: How do I set default display brightness?