Tuesday, May 5, 2009

Synaptic and gtk style in kde

All kubuntu users who prefer synaptic might have noticed how ugly it looks. All gnome applications running on sudo or kdesudo looks same as such applications look for gtk style under /root which do not have the gtk style.
In my kde I am using qtcurve kde 4 version. TO fix this issue i simple copies the gtk file to root directory.

sudo cp ~/.gtkrc-2.0-kde4 /root/.gtkrc-2.0

Now my synaptic has the beautiful qtcurve style. But when ever you change the gtk style for gnome applications by kde system settings , you will have to copy them to root's home directory if it needs to be updated for synaptic package manager

1 comment:

Naatan said...

Use the following instead, you won't have to update anything after changing your theme:

sudo ln -s ~/.gtkrc-2.0-kde4 /root/.gtkrc-2.0