Saturday, December 27, 2008

Change KDE3 apps theme color in ubuntu intrepid (even if you have kde4 installed).

Sometime I'm amazed at some people's ingenuity.

Original post for getting around the kde4 new systemsettings not accounting for kde3 apps colors/themes (yeah, you'd think that you change it in KDE4, all kde apps would look like that...).


Quote
i'd like to change the color theme of amarok and k3b in kubuntu intrepid (8.10). in hardy i could do that running kcontrol.



Hmm - this says that there are no such beast > qt3 wrapper to make kde3 applications look like kde4 ?


Hmm #2 - let's use kde3 tools: kcontrol module color.


Quick and dirty way to get kde3 color controls

Going to the Ubuntu Packages

Searching:
Quote
Search: kcontrol
Distribution: hardy-backports

=> kcontrol (4:3.5.10-0ubuntu1~hardy2)

Scrolling down, there are download kcontrol (amd386/i386)

In this example i386 =>

Download Page for kcontrol_3.5.10-0ubuntu1~hardy2_i386.deb on Intel x86 machines

Downloading it in to the ~/kcontrol/
that is /home//kcontrol/

Opening a konsole there, it tells:
Quote
user@machine:~/kcontrol$


Giving a command:
Code:

dpkg -x kcontrol_3.5.10-0ubuntu1~hardy2_i386.deb ~/kcontrol



There are lot of stuff, but now we only need:

- kcm_colors.la
- kcm_colors.so

they are ~/kcontrol/usr/lib/kde3

- colors.desktop
it is in the
~/kcontrol/usr/share/applications/kde

Explanation > KConfig Module HOWTO


Copying:
Code:

sudo cp ~/kcontrol/usr/lib/kde3/kcm_colors.la /usr/lib/kde3
sudo cp ~/kcontrol/usr/lib/kde3/kcm_colors.so /usr/lib/kde3
sudo cp ~/kcontrol/usr/share/applications/kde/colors.desktop /usr/share/applications/kde




Restarting, sometimes KDE 4.1.X and Intrepid is a bit slow to notice that there are installed/modified applications.


Testing: Alt + F2 and typing
Code:

kcmshell colors



Let there be light colors:

No comments: