You are not logged in.
I'm running Xfce and most of the apps are Gtk2. So when running gksu (which is a Gtk3 app nowadays) I get an ugly dialogue (see also here: https://bbs.archlinux.org/viewtopic.php?id=130398). But I noticed that if I press "Esc" instead of typing in the password, I get another dialog which looks quite gut and is obviously Gtk2. So I'd like to get this good looking dialogue instead of the bad looking one.
Does anyone have a hint on this? Maybe gksu or libgksu should be compiled with some Gtk related option (which would lead to an AUR package for it, I suppose)?
Thanks,
PhotonX
Last edited by PhotonX (2012-07-26 09:22:40)
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
Maybe some screenshots help to clarify the problem. Here's the ugly GTK3 dialogue: http://dl.dropbox.com/u/1507406/Schl%C3 … en_008.png
And here is the pretty GTK2 dialogue that comes if you press Escape in the first one: http://dl.dropbox.com/u/1507406/Arbeits … 01_009.png
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
This is only a guess, but maybe you need to set your GTK2/3 theme for root. At least for GTK3 theme settings you can copy ~/.config/gtk-3.0/ to /root/.config/.
Offline
The GTK2 theme is set for both user and root, while the GTK3 theme is not set for both root and the user. Setting a GTK3 theme would be an option of course since some other apps are also affected and thus it would have an overall good effect. But in the moment I'm rather trying to avoid GTK3 wherever it is possible. And I hope that gksu is one of such cases since obviously it has a GTK2 dialogue and the only problem is that it isn't called as first choice. ![]()
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
Do you get different dialogs when running gksu vs gksudo?
Offline
No, I'm always running gksu and get always the first (and ugly) one. The second appears if I hit Escape in the first one (instead of typing in the password).
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
Now I tried to run gksudo and it has the GTK2 dialogue. Very strange. ![]()
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline