Today I installed Kali Linux 1.1.0a and was really frustrated
with the fact that you can't completely disable the option for the screen to
turn off. When you go to Applications->System
Tools->Preferences->System Settings->Brightness and Lock, the
maximum amount of time is 1 hour and no "Never" option.
I tried multiple things, but nothing would work. After some digging I
was able to find the file /usr/share/gnome-control-center/ui/screen.ui. By adding the option here, we are able to
select never, and it works!
Open the file with
your favorite editor. For simplicity, I
will suggest using nano.
nano /usr/share/gnome-control-center/ui/screen.ui
Locate the following
line (It is located in 2 different places in the file. Use the second one, around line 83):
<row>
<col id="0"
translatable="yes">1 hour</col>
<col id="1">3600</col>
</row>
Add the following:
<row>
<col id="0"
translatable="yes">Never</col>
<col id="1">0</col>
</row>
Once you close and
save the file, open Brightness and Lock and Never will now be an option. This will now prevent the screen from turning
off.
The only issue with
doing it this way is if you close Brightness and
Lock again, it will default to 1 minute.
However, after going back into Brightness
and Lock with 1 defaulted, it will not take effect unless you make a
change and exit.
Of course I just found http://blog.tordeu.com/?p=292 which has really good informtion on how to do this correctly.
No comments:
Post a Comment