Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Somehow I've messed everything up and when I open a program like time-admin and click "Click to make changes", it uses a Qt / KDE style interface rather than the Gtk style. enter image description here

Running gksudo AppNameHere in the terminal works fine and gives me the normal interface for root authorization. enter image description here

How can I make it where I always get the Gtk interface for entering the password again?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

The policykit dialogs are unrelated to gksu. You will have to purge the package:

    polkit-kde-1

The gtk+ dialog comes from package:

    policykit-1-gnome

if you accidentally removed it while installing KDE.

share|improve this answer
    
I've never installed KDE. Polkit-kde-1 isn't installed, and policykit-1-gnome is. –  Thomas Boxley Sep 25 '11 at 3:40
    
Nevertheless, this is the root of your problem: The policykit subsystem picks the KDE-dialogs instead of the GTK-ones; you will have to undo some of the changes, maybe reinstalling policykit-1-gnome will help. –  aquaherd Sep 25 '11 at 11:07
add comment

most probably your alternatives system got messed up. You can install galternatives like this:

sudo apt-get install galternatives

After that find libgksu-gconf-defaults and check does it look like on the bottom image:

a busy cat Good luck!

share|improve this answer
    
It looks exactly like this :/ –  Thomas Boxley Sep 18 '11 at 23:30
add comment

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.