You are not logged in.

#1 2012-07-26 09:15:08

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 607

gksu has two different dialogue types

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. smile 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

#2 2012-07-28 07:14:55

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 607

Re: gksu has two different dialogue types

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

#3 2012-07-28 13:39:00

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: gksu has two different dialogue types

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

#4 2012-07-28 15:11:37

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 607

Re: gksu has two different dialogue types

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. hmm


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

#5 2012-07-28 15:20:33

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: gksu has two different dialogue types

Do you get different dialogs when running gksu vs gksudo?

Offline

#6 2012-07-28 15:32:30

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 607

Re: gksu has two different dialogue types

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

#7 2012-07-28 17:10:27

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 607

Re: gksu has two different dialogue types

Now I tried to run gksudo and it has the GTK2 dialogue. Very strange. smile


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

Board footer

Powered by FluxBB