[neon] [Bug 422833] Choose template for creating libreoffice documents
Wolfgang Bauer
bugzilla_noreply at kde.org
Thu Jul 2 09:21:20 BST 2020
https://bugs.kde.org/show_bug.cgi?id=422833
--- Comment #3 from Wolfgang Bauer <wbauer at tmo.at> ---
> It would be cool if I could choice the template used at user side, as
> ~/.local/templates or so.
~/.local/share/templates/ is respected too (and complements /usr/share/), so it
is indeed possible to add or modify templates at user side.
Files in /usr/share/ are overridden by files with the same name in
~/.local/share/, so you can copy existing ones and modify them to your likings,
or add completely new templates in ~/.local/share/templates/.
Note that a template usually consists of two files:
- share/templates/xxx.desktop that describes the template
- share/.source/something that is the actual file that gets copied when you
choose "Create New"
The former can refer to the latter via a line like this:
URL=.source/TextDocument.odt
See also https://forum.kde.org/viewtopic.php?f=224&t=119342 (this was from KDE4
times, but it should still apply, only the locations have changed)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list