15/02/2015

[CentOS 7] Chrome use system theme fix

After installing Google Chrome on CentOS 7 with the default theme enabled, you may notice that it will display the mouse pointer in the default Xorg theme instead of blending in with the system.

A workaround is to edit the /usr/share/icons/default/index.theme file by changing

Inherits=dmz-aa

to

Inherits=Adwaita

13/02/2015

[Linux] Boot in console mode

So you absolutely wanted that fancy video driver to work, but it didn't. Now it's impossible to boot into your system, even with the Ctrl+Alt+FX combination to get a tty to show up.

You can however boot directly into console mode. From the GRUB menu, before selecting a line to boot, press the "e" key.

Find the line you were going to boot (usually starts with "linux") and replace:

rgba quiet or rgbh quiet or the similar parameter you may have

with:

text 3

or another number which will be the runlevel of your choice.

Then press F10 to boot from that configuration or save, select the modified line and press enter.

Once you're logged in your console you can always try to start the graphical environment with:

startx

[CentOS] Detect Windows installation and update GRUB

After installing CentOS on your wannabe dual-boot machine, you realize with horror that for very important and critical reasons, your system does not have a dual boot menu and it's not able to recognize and read the Windows partition.

The solution is luckily very simple:

yum install epel-release
yum install ntfs-3g

This will allow the system to correctly manage NTFS filesystems.

grub2-mkconfig -o /boot/grub2/grub.cfg

This will update GRUB so that it shows the dual boot options now that it's able to recognize the Windows partition.

grub2-set-default X

This is optional and it's used to set the X kernel/OS as default when starting the system. You can find the number by reading the file /boot/grub2/grub.cfg