[opensuse-kde] Custom patterns for "New File" in plasma
Hello. Does anyone know how to add custom templates (.ods file for example) to "Create New" in right-click-menu in plasma? Google says that I should place my files in ~/.local/share/templates and /usr/share/templates, but seems like it doesn't work. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
Hi, Am Samstag, 19. August 2017, 13:10:13 CEST schrieb Efrem Novak:
Hello. Does anyone know how to add custom templates (.ods file for example) to "Create New" in right-click-menu in plasma? Google says that I should place my files in ~/.local/share/templates and /usr/share/templates, but seems like it doesn't work.
That works fine here. ~/.local/share/templates/TestFile.desktop: [Desktop Entry] Name=Test File... Comment=Test Type=Link URL=TestFile.test Icon=text-plain ~/.local/share/templates/TestFile.test: test Performs as expected here. Cheers, Fabian -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
~/.local/share/templates/TestFile.desktop:
[Desktop Entry] Name=Test File... Comment=Test Type=Link URL=TestFile.test Icon=text-plain
~/.local/share/templates/TestFile.test:
test
Oh, I didn't know that I had to use .desktop file in plasma for that. In gnome /cinnamon/etc you just need to put the file in ~/Templates. Thank you! Works as it should. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
participants (2)
-
Efrem Novak
-
Fabian Vogt