Linux - Add a background color to the root windows

December 2016




Issue


How to clearly distinguish the root windows from others.

Solution


The solution is to add a background color to the root windows!

Nautilus

  • Open Nautilus as root: gksudo nautilus, then go to "Edit> Backgrounds and Emblems". Click on the "color" box on the left.
  • Then, drag drop a color on the root folder. The folder will change color background only for the super-user.
  • That's all!
  • Close the window now.

Gedit


The same principle can be used with Gedit:
  • Open Gedit as root: gksudo gedit then go to Edit> Preferences.
  • In the Fonts and Colors tab, click the color scheme.

Note that: when you are in root, the command prompt ends with a #, rather than a $ symbol for a simple user.

Related :

This document entitled « Linux - Add a background color to the root windows » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.