I have a habit of using the same window decoration for programs that are ran as root, like Synaptic etc. After an exhaustive search I found these nifty commands that make the root use the user settings:
$ sudo ln -s ~/.gtkrc-2.0-kde4 /root/.gtkrc-2.0-kde4
$ sudo rm /root/.kde/share/config/kdeglobals
$ sudo ln -s ~/.kde/share/config/kdeglobals /root/.kde/share/config/kdeglobals
and for GTK applications appearance:
$ sudo cp ~/.gtkrc-2.0-kde4 /root/.gtkrc-2.0
But, something doesn't work and the root appearance is on the default theme in 10.10. Can anyone point out what's wrong?
$ sudo ln -s ~/.gtkrc-2.0-kde4 /root/.gtkrc-2.0-kde4
$ sudo rm /root/.kde/share/config/kdeglobals
$ sudo ln -s ~/.kde/share/config/kdeglobals /root/.kde/share/config/kdeglobals
and for GTK applications appearance:
$ sudo cp ~/.gtkrc-2.0-kde4 /root/.gtkrc-2.0
But, something doesn't work and the root appearance is on the default theme in 10.10. Can anyone point out what's wrong?
Comment