Dolphin: How to use the Templates folder

I had the impression that you could just drag and drop documents in the Templates folder ( /home/username/Templates/ ) so that you can then right click somewhere in dolphin and create an .odt document for example, if you have dragged and dropped an .odt document in the Templates folder

Am I wrong? How does this folder works?

Hi
AFAIK, your assumption is correct, I use GNOME and it does work with Nautilus;

http://thumbnails116.imagebam.com/48013/90ef1f480123313.jpg](ImageBam)

Maybe a missing dolphin package (plugins?)

Dolphin (or the KDE libraries/frameworks rather) doesn’t support/use the ~/Templates folder.

It does have a similar feature, but uses /usr/share/templates/ and ~/.local/share/templates/.

It’s not sufficient to just put an .odt file into that folder, you need a .desktop file that describes the template and a source file in the .source sub folder.
Have a look at the existing ones to get an idea.

Btw, calligra does come with a template for .odt files, install calligra-extras-dolphin to have it available.
Unfortunately, calligra is still KDE4 based and installs its files to the KDE4 location, so this will only work with dolphin4 and konqueror.
But you can copy (or symlink) the corresponding files from /usr/share/kde4/templates/ to /usr/share/templates/ (or ~/.local/share/templates/)
In this case, e.g.:

sudo cp /usr/share/kde4/templates/TextDocument.desktop /usr/share/templates/
sudo cp /usr/share/kde4/templates/.source/TextDocument.odt /usr/share/templates/.source/

Nice desktop you’ve got there! I like the SUSE green! Probably this folder only works in gtk environments…?

So…the templates folder in my user directory doesn’t have any use? Only the template folders you mentioned? The procedure sounds a bit complex. I’ll have to research on it a bit…

And what’s the status on calligra? Is it maintained? Are we gonna see it compete with libreoffice? I think I tried to install it in Tumbleweed about a week ago and there was a missing dependency. And it is version 2.9 and that makes you want it to be 3.0 lol!:stuck_out_tongue:

KDE does not (and never did) use the ~/Templates/ folder, no.

You can use it yourself for whatever you like though, and at least GNOME does use it AFAIK.
Nobody prevents you to use nautilus as file manager in Plasma5…

The procedure sounds a bit complex. I’ll have to research on it a bit…

It isn’t really complex.
You just need a second file (xxx.desktop) that describes the template.

And what’s the status on calligra? Is it maintained?

Yes.
The latest version (2.9.11) has been released in February.
And they are working hard on a KF5 version since quite some time, it’s in Beta currently.

Are we gonna see it compete with libreoffice?

Probably not.

But why should it “compete” anyway?
This is open source, there is no reason to compete with anybody, and there is room enough for several similar products…

Also, the calligra team probably has different goals or views than the libreoffice team, and in some areas calligra does excel over libreoffice already anyway (krita e.g., there’s nothing comparable included in LO).

I think I tried to install it in Tumbleweed about a week ago and there was a missing dependency.

It failed to build (due to a problem with some other package it depends on), and therefore was not updated when the dependencies were.
Will be fixed in the next snapshot, or you can use KDE:Extra.

And it is version 2.9 and that makes you want it to be 3.0 lol!:stuck_out_tongue:

3.0 will be the KF5 version.