This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Moving from 3.5 into 4.3 ...and missing files

Tags: None
(comma "," separated)
User avatar
xywa
Registered Member
Posts
48
Karma
0
OS
Hi ya!

I use a Gentoo linux for AM64. I have moved few days ago from KDE 3.5 into 4.3 (as it become stable for amd64).

...and I have now some problems. I realized that some files (eg. K3B or KmyMoney2) are not in the KDE menu. They are in the system but they ARE NOT as part of KDE4. I was trying to delete old kde3.5 by emerge --depclean, and reinstall K3B and KmyMoney2 again, but they are still in old kde 3.5 folders.

[1] What to do to have them in my KDE menu?
[2] What to do to delete in FULL old kde?
[3] How to find other programs which were connected to the kde 3.5 and are not exist in my kde 4.3 menu?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Assuming you know where they are installed, and only they are located there, you should set KDEDIR to where KDE 4 is installed, and set KDEDIRS to $KDEDIR:/path/to/kde3/apps.

Code: Select all
export KDEDIR=/path/to/kde4/install
export KDEDIRS=$KDEDIR:/path/to/kde3/apps/


Then run "kbuildsycoca4 --noincremental"
You need to set these variables before KDE is started up, so ~/.bashrc or ~/.profile would probably be best.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
xywa
Registered Member
Posts
48
Karma
0
OS
U have done it (as a root) from the console before KDE start:
export KDEDIR=/path/to/kde4/install
export KDEDIRS=$KDEDIR:/path/to/kde3/apps/
kbuildsycoca4 --noincremental


and... still the same :(
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Those commands need to be run as your standard user, and not as root.

The first two lines need to be placed in ~/.bashrc and KDE will likely handle the rest automatically.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Oceanwaves
Registered Member
Posts
64
Karma
0
OS
xywa wrote:I use a Gentoo linux for AM64. I have moved few days ago from KDE 3.5 into 4.3 (as it become stable for amd64).

...and I have now some problems. I realized that some files (eg. K3B or KmyMoney2) are not in the KDE menu. They are in the system but they ARE NOT as part of KDE4. I was trying to delete old kde3.5 by emerge --depclean, and reinstall K3B and KmyMoney2 again, but they are still in old kde 3.5 folders.

[1] What to do to have them in my KDE menu?
[2] What to do to delete in FULL old kde?
[3] How to find other programs which were connected to the kde 3.5 and are not exist in my kde 4.3 menu?

Those versions are still the KDE3 versions. KDE4 versions of Amarok or k3b are not yet released stable for Gentoo (at least for x86, please check for amd64)! For KMyMoney there's not even a KDE4 only version released yet.

That's why they are still in the KDE3.5 slot.

app-cdr/k3b
Available versions:
(3.5) 1.0.5-r6
(4) ~1.66.0_alpha2-r1 ~1.68.0_alpha3

media-sound/amarok
Available versions:
(3.5) 1.4.10_p20090130-r3
(4) ~2.1 ~2.1.1 ~2.2.0

As you can see the KDE4 versions are still unstable (on x86)

From the KMyMoney home page:
KMyMoney today is a KDE3 application and does not work on KDE4 w/o the KDE3 libraries being installed at the same time.
Source: http://kmymoney2.sourceforge.net/index-install.html

To answer your questions:
[1] Simply klick RMB on K-Menu button and select Menu Editor. Then add the entries to the section you prefer.

[2] As long as you want to use KDE 3 apps like k3b or KMyMoney you will need at least kdelibs from KDE3. If you don't have any KDE 3 applications anymore a simple "emerge -a --depclean" should be sufficient to un-emerge all KDE3 stuff.

[3] That's not that easy. If you are using app-portage/eix you can run
Code: Select all
eix  --installed-slot "3.5"
to get a list of all packages installed in a slot named "3.5". This should give you a list of all KDE 3.5 packages on your system.

Using
Code: Select all
eix -2 --installed-slot "3.5"
you get a list of packages that are installed in a slot named "3.5" and have at least one version in another slot.

However, this will just give you a list of installed packages. I don't know if there is a way to tell which of them are in K-Menu and which are not.

Oceanwaves


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]