Results 1 to 5 of 5

Thread: Dolphin: How to use the Templates folder

  1. #1

    Default 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?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,680
    Blog Entries
    15

    Default Re: Dolphin: How to use the Templates folder

    Quote Originally Posted by Linux4Pharmacy View Post
    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;



    Maybe a missing dolphin package (plugins?)
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Dolphin: How to use the Templates folder

    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.:
    Code:
    sudo cp /usr/share/kde4/templates/TextDocument.desktop /usr/share/templates/
    sudo cp /usr/share/kde4/templates/.source/TextDocument.odt /usr/share/templates/.source/

  4. #4

    Default Re: Dolphin: How to use the Templates folder

    Quote Originally Posted by malcolmlewis View Post
    Hi
    AFAIK, your assumption is correct, I use GNOME and it does work with Nautilus;



    Maybe a missing dolphin package (plugins?)

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


    Quote Originally Posted by wolfi323 View Post
    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.:
    Code:
    sudo cp /usr/share/kde4/templates/TextDocument.desktop /usr/share/templates/
    sudo cp /usr/share/kde4/templates/.source/TextDocument.odt /usr/share/templates/.source/
    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

  5. #5

    Default Re: Dolphin: How to use the Templates folder

    Quote Originally Posted by Linux4Pharmacy View Post
    So...the templates folder in my user directory doesn't have any use? Only the template folders you mentioned?
    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
    3.0 will be the KF5 version.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •