Ubuntu tip - retheme sudo

Oftentimes on your Ubuntu system you will need to launch applications using sudo (or a graphical form of it) if you're changing critical system settings or doing other tasks that need special privileges.

However, once you have opened up a GUI tool under sudo, it can be difficult to tell the difference between an application running with normal privileges and one running at the root level.

Lifehacker have a really neat trick that allows you to change the graphical look of applications launched with root privileges, so you can easily tell the difference.

A quick way to visually separate your simultaneous sessions, is to assign a different theme to your sudo applications. To do this, open a terminal and type the following:

sudo gnome-theme-manger

Pick a new theme, and any time you launch an application using sudo, you will be able to clearly see the difference between your sudo windows and your regular windows.

Very handy!

Avatar for peter Peter Upfold - http://peter.upfold.org.uk/

Peter Upfold is a technology enthusiast from the UK. Peter’s interest in Linux stems back to 2003, when curiosity got the better of him and he began using SUSE 9.0. Now he runs Linux Mint 9 on the desktop, runs a CentOS-based web server from home for his personal website and dabbles in all sorts of technology things across the Windows, Mac and open source worlds.

Home » Articles »

Discussion: Ubuntu tip - retheme sudo

  1. Spanky Jack (guest)

    # Posted on 10 September 2007 at 11:26 AM

    Never use sudo to open a GUI app. Use gksudo for that. It could lead to very nasty permissions problems. So the spell is

    gksudo gnome-theme-manager



Home » Articles » Ubuntu tip - retheme sudo