You are not logged in.

#1 2009-03-06 15:44:38

sosonok
Member
Registered: 2008-11-18
Posts: 65

How to change KDE3 and qt3 apps look in KDE4

Since I didn't find this solution in the forums, I decided to share it for those who may be interested.


The fact is that KDE3 apps look can't be set by qtconfig and probably you don't want to install kdebase from KDE3 (which, on the other hand, it isn't in Arch repos anymore -still in kde-legacy-) and its dependencies.  But, assuming you have installed any KDE3 or qt3 app, you only need a few files in order to use kcontrol modules related to appearance.

(Those who understand Spanish can read this post, but remember changing paths, as shown below:
http://www.n0xtrum.com/2009/01/cambiar- … de-4.html)

1.- Download kcontrol from:

http://packages.ubuntu.com/hardy-backpo … l/download (AMD64)

http://packages.ubuntu.com/hardy-backpo … l/download (i386)

(I got kdemod package from kdemod-legacy repo, but I suppose it makes no difference, and kdemod's one is 31 MB)

http://kdemod.iskrembilen.com/legacy/x8 … pkg.tar.gz (AMD64)

http://kdemod.iskrembilen.com/legacy/i6 … pkg.tar.gz (i686)

2.- Uncompress it wherever you want (let's say ~/temp).

3.- Copy needed Kcontrol modules to /opt/kde/lib/kde3

sudo cp ~/temp/usr/lib/kde3/kcm_icons.* /opt/kde/lib/kde3
sudo cp ~/temp/usr/lib/kde3/kcm_colors.* /opt/kde/lib/kde3
sudo cp ~/temp/usr/lib/kde3/kcm_fonts.* /opt/kde/lib/kde3
sudo cp ~/temp/usr/lib/kde3/kcm_style.* /opt/kde/lib/kde3

and .desktop files to /opt/kde/share/applications/kde

sudo cp ~/temp/usr/share/applications/kde/icons.desktop /opt/kde/share/applications/kde
sudo cp ~/temp/usr/share/applications/kde/colors.desktop /opt/kde/share/applications/kde
sudo cp ~/temp/usr/share/applications/kde/fonts.desktop /opt/kde/share/applications/kde
sudo cp ~/temp/usr/share/applications/kde/style.desktop /opt/kde/share/applications/kde

4.- Change whatever you want:

kcmshell icons

kcmshell colors

kcmshell fonts

kcmshell style

And yes, K3b, that goes mainly for you :*

"Oxygen for deKorator" package comes with a color scheme that fits in KDE4:

http://www.kde-look.org/content/show.ph … tent=81358

Optionally, you can install "Oxygen Icon Theme for KDE3" if it's worth for you (54MB!):

http://www.kde-look.org/content/show.ph … tent=79046

snapshot1g.th.png

Last edited by sosonok (2009-03-06 16:26:44)

Offline

#2 2009-03-07 21:06:01

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: How to change KDE3 and qt3 apps look in KDE4

I tried this but I am still getting

kcmshell commant not found.

I installed kde3-base from kdemod legacy with it's dependencies and copied all the files you had listed.

Not sure what I did wrong?

Offline

#3 2009-03-08 00:23:23

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: How to change KDE3 and qt3 apps look in KDE4

you can change the theme for qt3 apps just fine with qt3config.

Offline

#4 2009-03-08 00:24:16

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: How to change KDE3 and qt3 apps look in KDE4

b9anders wrote:

you can change the theme for qt3 apps just fine with qt3config.

I am getting command not found with that? Does that also change the icons too?

Offline

#5 2009-03-08 00:34:39

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: How to change KDE3 and qt3 apps look in KDE4

cu3edweb wrote:
b9anders wrote:

you can change the theme for qt3 apps just fine with qt3config.

I am getting command not found with that? Does that also change the icons too?

strange. try

/opt/qt/bin/qtconfig

which is the same. Can't change icon set with it though.

Offline

#6 2009-03-08 00:34:56

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: How to change KDE3 and qt3 apps look in KDE4

nevermine I uninstalled qt3 when I was trying something different.

Offline

#7 2009-03-08 08:10:47

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: How to change KDE3 and qt3 apps look in KDE4

b9anders wrote:

you can change the theme for qt3 apps just fine with qt3config.

Sorry, but i cant. qtcurve simply does not appear in the list of qt3config. Apart from that qt3config will only work with qt-only applications, not with kde ones.

Last edited by Rasi (2009-03-08 08:11:13)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#8 2009-03-08 19:03:00

sosonok
Member
Registered: 2008-11-18
Posts: 65

Re: How to change KDE3 and qt3 apps look in KDE4

cu3edweb wrote:

tried this but I am still getting

kcmshell commant not found.

It belongs to kdelibs3 package.


By qtconfig you can't set things like icons, color schemes, etc, neither KDE apps look.

Offline

#9 2009-03-30 23:23:52

V01D
Member
Registered: 2006-07-18
Posts: 128

Re: How to change KDE3 and qt3 apps look in KDE4

Made a PKGBUILD which installs these files: http://aur.archlinux.org/packages.php?ID=25127 (kcmshell3)

Offline

#10 2009-03-31 00:59:36

jordz
Member
Registered: 2006-02-01
Posts: 248

Re: How to change KDE3 and qt3 apps look in KDE4

V01D wrote:

Made a PKGBUILD which installs these files: http://aur.archlinux.org/packages.php?ID=25127 (kcmshell3)

Thanks for that package V01D ! smile

Offline

#11 2009-06-26 05:15:56

Araknophobik
Member
From: Brazil
Registered: 2009-06-26
Posts: 5

Re: How to change KDE3 and qt3 apps look in KDE4

Hi!
When I try to run 'kcmshell fonts' I'm getting a window with the following error message:
libaudio.so.2: cannot open shared object file

I'm trying it on the x86_64 version and I think it can be related to some architecture issue, because I ran kcmshell successfully on a i686 version of Arch.

Is there someone here who faced the same problem?

Thanks in advance.

Offline

#12 2009-06-26 06:04:10

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: How to change KDE3 and qt3 apps look in KDE4

EDIT: Removed most of my comments. See sisco's post 2 down from this one in addition to my following comments. My solution apparently worked, even though theoretically it shouldn't have since the packages were completely unrelated o.O

Also, those in here may also find this link helpful:

http://chakra-project.org/bbs/viewtopic … 21&p=1

See especially Grassmonk's script. I had to start that every time before I ran some kde3 programs like kcontrol in order for them to work properly or at all (which also needed to be run prefixed by /opt/kde/bin, which I didn't feel like adding to my $PATH). I also had trouble with a nag about kdeinit not being able to launch a program -after it closed-, which I found the solution for and posted in the same thread. The kcmshell3 package was never of any help to me, I ended up having to just install the whole kdemod3-kdebase package and it worked fine.

Last edited by FrozenFox (2009-06-27 17:21:17)

Offline

#13 2009-06-27 01:37:12

Araknophobik
Member
From: Brazil
Registered: 2009-06-26
Posts: 5

Re: How to change KDE3 and qt3 apps look in KDE4

Thanks a lot!

kcmshell works perfectly now!

Offline

#14 2009-06-27 11:19:51

sisco311
Member
From: Romania
Registered: 2008-05-23
Posts: 112

Re: How to change KDE3 and qt3 apps look in KDE4

Araknophobik wrote:

Hi!
When I try to run 'kcmshell fonts' I'm getting a window with the following error message:
libaudio.so.2: cannot open shared object file

I'm trying it on the x86_64 version and I think it can be related to some architecture issue, because I ran kcmshell successfully on a i686 version of Arch.

Is there someone here who faced the same problem?

Thanks in advance.

libaudio.so.2 is provided by the nas package:

pacman -S nas

don't drink unwashed fruit juice.
i never make predictions, especially about the future.

Offline

#15 2009-06-27 17:18:55

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: How to change KDE3 and qt3 apps look in KDE4

Looking at the -Qi for each of my previously mentioned packages vs sisco's suggestions, the two aren't remotely related.. Bizarre that kcmshell works as expected with something not even close o.O I'll edit my post accordingly.. ty sisco

Araknaphobik, if you made a link based on my previous suggestion, you'd be well advised to remove it and try sisco's suggestion..

You might also want to post a report of the missing dependency to the chakra project if you used the kdebase package, or to kcmshell3 page on aur if you used that.. big_smile

Last edited by FrozenFox (2009-06-27 17:26:58)

Offline

#16 2009-07-01 14:34:43

MiCap
Member
From: Portugal
Registered: 2009-06-12
Posts: 10

Re: How to change KDE3 and qt3 apps look in KDE4

I have PDF Editor installed. It only deppends on qt3 but I have kde3-libs too. I can change the theme to Qtcurve in qtconfig, just added the path to kde3 plugins. I changed the icon theme in kcmshell to oxygen but it doesn't changes the icon theme of PDF Editor.
The icon theme does not appears on the PDF Editor config diallog. How can I make it appear?

Offline

#17 2009-07-01 21:38:29

MiCap
Member
From: Portugal
Registered: 2009-06-12
Posts: 10

Re: How to change KDE3 and qt3 apps look in KDE4

Sorry guys. PDF editor does not use standard KDE icon themes. We have to make our icon theme...

Offline

#18 2009-10-14 16:11:30

Som89
Member
Registered: 2009-10-13
Posts: 3

Re: How to change KDE3 and qt3 apps look in KDE4

Hello!

I have installed V01D's kcmshell3 package, but I still get the following message (for example when running kcmshell icons):

kbuildsycoca running...
kcmshell (kdelibs): WARNING: Could not find module 'icons'.

Of course, kdelibs3 is installed.
Maybe someone had faced such problem?

Offline

#19 2010-07-27 12:09:16

bouced
Member
Registered: 2010-07-27
Posts: 1

Re: How to change KDE3 and qt3 apps look in KDE4

I do encounter the same problem than Som89.
I've downloaded V01D's package, untarred it, launched makepkg and finally installed it (pacman -U kcmshell3-3.5.10-4-i686.pkg.tar.xz).
Still,
$ kcmshell --list
returns :
The following modules are available:

It there an environment variable to fix or extra packages to install ?
Or at least a way to make kcmshell more verbose ?

Last edited by bouced (2010-07-27 12:09:36)

Offline

#20 2010-07-27 13:52:19

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: How to change KDE3 and qt3 apps look in KDE4

This thread is quite old, and in this case it would have been more appropriate to start a new thread. See http://wiki.archlinux.org/index.php/For … Bumping.27

Thanks, and welcome to Arch.
Closing.

Offline

Board footer

Powered by FluxBB