Prune KDE New File > Templates
October 25th, 2009 at 6:09am |
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:
- une-gconf-default gconf file missing error while updating
- “What package is that file in?”
- change compression algorithm of KDE4 ark dolphin context menu
- Mozilla lightning&sunbird calendar events file
- Set Gnome Calendar First Day of Week to Monday
Print This Post
|
Email This Post
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.