I can confirm this bug in kubuntu hardy and jaunty.
--
[Kubuntu] GTK apps launched as superuser are unthemed
https://bugs.launchpad.net/bugs/351874
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-default-settings in ubuntu.
--
This works:
sudo cp ~/.gtkrc-2.0-kde4 /root/gtkrc-2.0
for hardy, you need to run
sudo cp ~/.gtkrc-2.0-kde /root/gtkrc-2.0
--
[Kubuntu] GTK apps launched as superuser are unthemed
https://bugs.launchpad.net/bugs/351874
You received this bug notification because you are a member of Kubuntu
Bugs,
The problem is that the env variable that is responsible for the theming
is reset by *sudo
2 Options:
1) Make kdesudo preserve that particular variable
2) Patch KApplication to (re)set the variable and thus make the whole
startkde-hook stuff unnecessary
** Changed in: kubuntu-default-settings
In this thread there is a temporary solution:
http://ubuntuforums.org/showthread.php?t=811752
Or, as noted in one of the duplicates of this bug, run:
sudo cp ~/.gtkrc-2.0-kde4 /root/gtkrc-2.0
after each change you made to your GTK+ theme settings.
Hope that helps while the bug is being fixed.
Unacceptable. kademar Linux (it's based on Debian testing) can do this.
http://www.kademar.org/
** Changed in: kubuntu-default-settings (Ubuntu)
Status: Won't Fix = Confirmed
--
[Kubuntu] GTK apps launched as superuser are unthemed
https://bugs.launchpad.net/bugs/351874
You received this
** Package changed: ubuntu = kubuntu-default-settings (Ubuntu)
--
[Kubuntu] GTK apps launched as superuser are unthemed
https://bugs.launchpad.net/bugs/351874
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-default-settings in ubuntu.
Hi,
There isn't much more we can do right now on that point.
Indeed, the settings are set while the user logs in, within startkde, and
therefore, only having launched a kde session once well make the gtk settings
available.
This is due to gtk apps not beeing able to deal with kiosk settings in
Mandriva Linux's tools are GTK+, and this distribution doesn't have this
problem.
In any case, although this can not be solved now, I think this bug
should be marked as confirmed. It is a significant weakness in the
consistency of appearance.
--
[Kubuntu] GTK apps launched as superuser are