Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run GTK applications on KDE, they use the QtCurve theme that matches my color and font scheme as configured in the KDE System Settings application.

However GTK applications run as superuser use the old default GNOME, regardless of whether I run them with kdesudo, gksudo, or sudo on a terminal. For example, here's gedit run as superuser on top, and under my normal user account on the bottom: gedit run as superuser and normal user on KDE

Strangely, Qt applications run with kdesudo display the default Oxygen styling but use my settings when run with sudo on a terminal.

Is there any way to configure the stying GTK applications use when run as superuser on KDE?

share|improve this question
up vote 4 down vote accepted

Try this.

Create a ~root/.gtkrc-2.0 with contents:

gtk-theme-name = "QtCurve"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.