User:Dfaure/Faq: Difference between revisions

From KDE TechBase
(New page: == Launching KDE4 applications from KDE3 == Question: I have a kde3 app that needs kfmclient to launch a webbrowser, but if I install kdebase3, it will launch konqueror-3, while I of co...)
 
 
Line 3: Line 3:
Question:  
Question:  


I have a kde3 app that needs kfmclient to launch a webbrowser, but if I install kdebase3, it will launch konqueror-3, while I of course want konqueror-4.
I have a kde3 app installed, as well as kdebase3, it will launch konqueror-3, while I of course want konqueror-4.


Answer:
Answer:
Line 17: Line 17:


* Then use <code>keditfiletype text/html</code> (in your kde3 env) and add konqueror-4. It will create a ~/.kde/share/applnk/.hidden/konqueror-4.desktop which isn't seen by kde4 if you use a different KDEHOME for kde4.
* Then use <code>keditfiletype text/html</code> (in your kde3 env) and add konqueror-4. It will create a ~/.kde/share/applnk/.hidden/konqueror-4.desktop which isn't seen by kde4 if you use a different KDEHOME for kde4.
You might have to do the same with a kfmclient-4 script, for applications who call kfmclient directly (e.g. via invokeBrowser).

Latest revision as of 01:04, 31 January 2009

Launching KDE4 applications from KDE3

Question:

I have a kde3 app installed, as well as kdebase3, it will launch konqueror-3, while I of course want konqueror-4.

Answer:

  • Make a script ~/bin/konqueror-4 like this:
#!/bin/sh
source /the/kde4_env
konqueror $*
  • Make it executable chmod u+x ~/bin/konqueror-4
  • Then use keditfiletype text/html (in your kde3 env) and add konqueror-4. It will create a ~/.kde/share/applnk/.hidden/konqueror-4.desktop which isn't seen by kde4 if you use a different KDEHOME for kde4.


You might have to do the same with a kfmclient-4 script, for applications who call kfmclient directly (e.g. via invokeBrowser).