User:Dfaure/Faq

From KDE TechBase
Revision as of 20:57, 30 January 2009 by Dfaure (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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