Linux - Add a background color to the root windows

Ask a question


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.
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team