I want to add an option under Create New to create a file of particular type. For example I use Rnote to create notes,. They have .rnote extension.

Now I create a empty file (image, 3rd option from above) with extension as .rnote , but that file when opened in the application can’t be written to, because it is not a proper .rnote file, it is empty file with that extension.

How do I quickly create a proper file for rnote or any application for example libreoffice?

I am on fedora 43, kde plasma.

  • MentalEdge@sopuli.xyz
    link
    fedilink
    arrow-up
    25
    ·
    edit-2
    1 day ago

    If you’d like to hide the Templates folder, you can create a file called “.hidden” in your home directory.

    In it, simply write “Templates”.

    This way the folder becomes hidden, without changing its name to add a period.

    You can add additional lines with more file and foldernames, so you can keep your home directory tidy for normal use, even if stuff relies on a file or folder there not having a period in the name.