User:Dfaure/Faq

From KDE TechBase
Revision as of 01:04, 31 January 2009 by Dfaure (talk | contribs) (→‎Launching KDE4 applications from KDE3)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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).