I was doing some
testing with Red Hat Enterprise Linux and didn't want to install it on physical
hardware as I didn't have any available at the time. After installing the OS, I decided to install
the Hyper-V Integration tools so that I could have access to the NIC. After getting it installed and rebooting, the
CDRom is gone. It's not that I can't
mount it, the actual device is gone. I
did some searching and apparently, this is a known issue by Microsoft. They have http://support.microsoft.com/kb/2600152
available for this issue as a workaround.
I created a shell script to do this and have it run at boot so I don't
have to worry about it again.
Total Pageviews
Friday, March 20, 2015
Kali Linux Turning The Screen Off "Turn Screen off when inactive for"
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.
Subscribe to:
Posts (Atom)