Prune KDE New File > Templates

You may wish to get rid of some templates in the contextual menu in KDE. The best practice would be removing the package installing those templates, however this is not always possible due to dependency problems.

Examples are:

Illustration Presentation TextDocument SpreadSheet HTMLFile

which are part of Koffice suite but are useless if you only use OpenOffice Suite. These are installed by package koffice-data-kde4 which is a dependency of krita4, thus cannot be removed.

All system templates are located in: /usr/share/templates

so this command line command would get rid of them, at least until next koffice-data-kde4 package update!

cd /usr/share/templates
sudo rm Illustration.desktop Presentation.desktop TextDocument.desktop SpreadSheet.desktop HTMLFile.desktop

You have to log out and in again for the changes to be effective.

Related posts:

  1. une-gconf-default gconf file missing error while updating
  2. “What package is that file in?”
  3. change compression algorithm of KDE4 ark dolphin context menu
  4. Mozilla lightning&sunbird calendar events file
  5. Set Gnome Calendar First Day of Week to Monday
| Print This Post Print This Post | Email This Post Email This Post
RSS 2.0 | Trackback | Comment

One Response to “Prune KDE New File > Templates”

  1. Gen2ly says:

    I like the idea, unfortunately doing this will only last until the next update. A KDE dev might just put a way to configure this in the future.

Leave a Reply

XHTML: You can use these tags: b, cite, code, em, i, q cite="", strike, strong.