Unknown parent

mastodon - Link to source

Emmanuele Bassi

@alatiera the only reasonable template is an empty text file, which is entirely pointless because it's exactly the same as opening a text editor, except instead of clicking on the icon, you have to right click in Nautilus and find the item in the context menu…

Any other template file is just not an empty file, because if it has a size of zero bytes it'll be opened by anything that supports application/x-zerosize—i.e. a text editor—or it'll be using the extension and make a mess.

in reply to Emmanuele Bassi

@ebassi @danirabbit @alatiera
Nautilus is a file manager though. As part of its job, it should be able to create files. While I do agree to some extent, the app model is slower for some actions. If I have a directory open, templates let me create a new file in just 3 clicks. Opening text editor and renavigating to the directory I already have open is slower.
Unknown parent

mastodon - Link to source

Federico Mena Quintero

@danirabbit @ebassi @alatiera The only time I was able to use that feature effectively was when we had to file expense reports by filling a pre-made spreadsheet. I copied expenses.xls to the templates dir - because I knew that trick - and used the feature maybe twice a year.

Was there ever a "create template from this file" command? It was hard to discover otherwise.

in reply to Emmanuele Bassi

@federicomena @danirabbit @alatiera the minimal, crappiest Nautilus extension possible for this stuff is here: gitlab.gnome.org/ebassi/nautil…

Future expansion: being able to rename the file prior to copying it, to give it a meaningful name; showing the progress UI for large file copies; supporting source files on remote storage.

Unknown parent

mastodon - Link to source

Garrett LeSage

@alatiera @ebassi FWIW, I made an templates collection of different types of empty files as templates over a decade ago, if you'd like to try this out (with minimal effort).

github.com/garrett/document-te…

Instructions at the top of the page; basically clone the repo to ~/Templates

in reply to Jorge Castro

@jorge @alatiera @ebassi Not that I'm aware of.

I'm pretty sure these all still work pretty well, but I haven't tested them all recently. It's probably worth a refresh, if people are interested.

I tried to make them a bit balanced, but re-evaluating what goes in (or should be left out) is probably not a bad idea either.

in reply to Jordan Petridis

@alatiera yeah, that falls apart pretty quickly once you start asking whether we we should ship templates for applications that are not in core, and since we don't really have many creation/editing apps in core, it gets hard to justify it, because it comes with its own color swatch book for the bikeshed

@jorge @garrett @razze