It appears that explicitly setting the variable
# export GTK2_RC_FILES=/root/.gtkrc-2.0-kde:/root/.kde/share/config/gtkrc-2.0
is enough to make the problem disappear (on my system) for synaptic and wireshark.
If this variable is unset, Synaptic looks "ugly". I think that's a bug as I'd expect applications to find their defaults without the help of environment variables (and the default should not look ugly).
There's also GTK_RC_FILES, but I don't know what application uses this variable.
I strongly disrecommend symlink'ing any files from your regular $HOME to root's home, or vice-versa.
Prior to this, I've set root's "use my KDE style in GTK applications" via
#kcmshell kcmgtk
as was recommended somewhere -- and verified that it modified, /root/..., not my /home/... (cf. the ugly sudo issue).
It appears that explicitly setting the variable FILES=/ root/.gtkrc- 2.0-kde: /root/. kde/share/ config/ gtkrc-2. 0
# export GTK2_RC_
is enough to make the problem disappear (on my system) for synaptic and wireshark.
If this variable is unset, Synaptic looks "ugly". I think that's a bug as I'd expect applications to find their defaults without the help of environment variables (and the default should not look ugly).
There's also GTK_RC_FILES, but I don't know what application uses this variable.
I strongly disrecommend symlink'ing any files from your regular $HOME to root's home, or vice-versa.
Prior to this, I've set root's "use my KDE style in GTK applications" via
#kcmshell kcmgtk
as was recommended somewhere -- and verified that it modified, /root/..., not my /home/... (cf. the ugly sudo issue).