Linux - Add a background color to the root windows


How to clearly distinguish the root windows from others.


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


  • 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.


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.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Linux - Add a background color to the root windows », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (