I use a python script to set brightness to zero.
I've put it in Startup Applications. It works only when I login. There is full brightness at login screen.Code:#!/usr/bin/python import dbus bus = dbus.SessionBus() proxy = bus.get_object('org.gnome.SettingsDaemon', '/org/gnome/SettingsDaemon/Power') iface = dbus.Interface(proxy, dbus_interface='org.gnome.SettingsDaemon.Power.Screen') iface.SetPercentage(0)
Where should I put this so that it sets brightness to zero at login screen?