Custom File Template on Right Click->Create New ?

Kevin Krammer kevin.krammer at gmx.at
Thu Jul 22 09:24:04 BST 2010


On Thursday, 2010-07-22, Aaron Lewis wrote:
> On 07/22/2010 03:09 AM, Andreas Hennig wrote:
> > Hi Aaron,
> > 
> > you can add templates for all users in
> > 
> > /usr/share/templates/			#.desktop files as description
> > /usr/share/templates/.source		#templates for new document
> > 
> > or for only one user in
> > 
> > ~/.kde/share/templates
> > ~/.kde/share/templates/.source
> 
> Thanks !
> 
> Now it works , but still one problem , file created with template
> doesn't provide and *extention* names ?
> 
> e.g If i create a HTML File , when prompting for the new file name ,
> Only *HTML File* , shouldn't it be *HTML File.htm* ? (just for example)

File name extensions are not required for files to be of a certain type. They 
mainly serve as a convenience hint for us humans to see what kind of thing we 
are dealing with.

If you think the file templates should offer a possibility to specify a 
default extension then you could file a wish request for this on bugs.kde.org

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20100722/4c2a21c3/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list