Konqueror’s "Create new" Menu under KDE4

A while ago, I posted how to edit Konqueror’s “Create New” menu. Unfortunately, installing the KDE4 desktop seems to nullify this trick. This is because KDE4 redirects Konqueror from /usr/share/templates to /usr/lib/kde4/share/templates . Annoying, really. There are two solutions.

First solution is to copy your files from /usr/share/templates to /usr/lib/kde4/share/templates . Then either stop worrying about /usr/share/templates, or sync them whenever a change is made.

Second solution is to symlink (create a shortcut to) /usr/share/templates from /usr/lib/kde4/share. To do this, first move /usr/lib/kde4/share/templates to a “backup” state (like /usr/lib/kde4/share/templates.old ):

$ sudo mv /usr/lib/kde4/share/templates /usr/lib/kde4/share/templates.old

Then create the shortcut:

$ sudo ln -s /usr/share/templates /usr/lib/kde4/share/

And voila, you are back to maintaining one directory.

3 Comments:

  1. Not working in OpenSuse 11.1
    Sad, but true.

  2. Voila!
    It’s here! /usr/share/kde4/templates

  3. And if you use KDE 3 @ OpenSuse 11.1 it’s here
    /opt/kde3/share/templates

    Good Luck!

No Pingbacks

Leave a Comment

You need to enable javascript in order to use Simple CAPTCHA.
Security Code: