Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.