2

How can I run:

xbacklight -set 0

before login screen?

Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407

2 Answers2

1

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.

Uwe Plonus
  • 709
  • 4
  • 14
0

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?