undoIT wrote:/opt/bin/VirtualBox
that loads up VirtualBox. I do see that the virtualbox-bin.desktop was created in /usr/share/applications/
However, it wasn't added to the KDE menu?
undoIT wrote:- Code: Select all
# cp /usr/share/applications/virtualbox-bin.desktop /usr/share/applications/kde4/virtualbox-bin.desktop
now VirtualBox appears in the KDE menu. I'm guessing that the kde4 directory was setup as some kind of legacy thing to prevent conflicts for people still using KDE3. Perhaps this should be abandoned, are there still people installing new KDE distros and then installing KDE3?
I don't think that is the reason, as I don't have your problem. I do have a KDE Menu entry for VirtualBox (it's under Kickoff > Applications > System) and yet I don't have the file /usr/share/applications/kde4/virtualbox-bin.desktop, as you can see:
- Code: Select all
fitzcarraldo@meshedgedx ~ $ locate virtualbox-bin.desktop
/usr/portage/app-emulation/virtualbox-bin/files/virtualbox-bin.desktop-2
/usr/share/applications/virtualbox-bin.desktop
fitzcarraldo@meshedgedx ~ $
Therefore the reason the application does not appear in the KDE Menu in your case could be distribution-specific. What does the command
kde4-config --path data return in your case? In my case I get the following:
- Code: Select all
fitzcarraldo@meshedgedx ~ $ kde4-config --path data
/home/fitzcarraldo/.kde4/share/apps/:/usr/share/apps/
fitzcarraldo@meshedgedx ~ $
As you can see, in my installation KDE is configured to know about the two paths /home/fitzcarraldo/.kde4/share/apps/ and /usr/share/apps/. It could be that SL has been configured differently.