Issue 101946

Summary: sysui: add template links for KDE
Product: gsl Reporter: rene
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: dirk.voelzke,, issues, lohmaier
Version: OOo 3.1Keywords: oooqa
Target Milestone: OOo 3.x   
Hardware: All   
OS: Unix, all   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description rene 2009-05-15 10:09:02 UTC
From (will do it
manually in Debian but it probably would be good when sysui did that directly in
the future):

-- snip ---
Severity: wishlist


the kdesktop package has the /usr/share/templates/ directory.
Special .desktop files you put there are available when you click right on
the KDE desktop and then choose "Create new" (de: "Neu erstellen").

I will send an example of /usr/share/templates/ soon.
rwxr-xr-x nk/nk             0 2009-01-23 10:11 templates/
-rw-r--r-- nk/nk           268 2009-01-23 10:11 templates/ooo-impress.desktop
drwxr-xr-x nk/nk             0 2009-01-23 09:42 templates/.source/
-rw-r--r-- nk/nk          6305 2009-01-22 18:22 templates/.source/ooo-calc.ods
-rw-r--r-- nk/nk          8993 2009-01-22 19:11 templates/.source/ooo-impress.odp
-rw-r--r-- nk/nk          8063 2009-01-22 18:19 templates/.source/ooo-writer.odt
-rw-r--r-- nk/nk           255 2009-01-23 10:11 templates/ooo-writer.desktop
-rw-r--r-- nk/nk           252 2009-01-23 09:46 templates/ooo-calc.desktop

The files in .source are just empty files (can be replaced) of the

$ cat templates/ooo-writer.desktop 
[Desktop Entry] Writer ...
Name[de] Writer ...
Comment=Enter Writer filename:
Comment[de]=Name der Writer Datei eingeben:

If you click on the context menu for example of writer you will be asked
for a filename and this one will be the new filename.odt.
--- snip ---

This would make */KDE have a feature Windoze/IE has already

We can reuse the files from extras/source/shellnew for that afais.
Comment 1 philipp.lohmann 2009-06-23 11:20:16 UTC
Comment 2 lohmaier 2009-06-23 12:26:10 UTC
I don't think this makes sense at all.
Using this will in effect bypass the default template configured by the user, it
will ignore/reset language settings, etc.

If there was a special filetype that would cause OOo to replace the file with a
default template when opened, then OK, but having static documents serve as
template is a waste.

see also issue 101555 for an example why this is a bad idea.

So when there is a dummy-file that is immediately replaced by OOo with the
default document (i.e. the very same you get when creating a new document within
OOo), then OK. Using static documents: No, thanks.
Comment 3 philipp.lohmann 2009-12-16 10:41:48 UTC
@dv: rumor has it that you own this stuff now ?
Comment 4 dirk.voelzke 2009-12-17 11:07:17 UTC
Comment 5 dirk.voelzke 2010-08-19 09:19:32 UTC
Looks like this one belongs to you :-)
Comment 6 mikhail.voytenko 2010-08-20 09:48:31 UTC
This enhancement looks more to be related to installation process, during
installation of the office the templates should be installed to the system

If we decide to install the OOo empty files there, the next step could be
exchanging of the template, in case user sets the default template in office.
This implementation would be in framework area then, but it would be a different

@dv,is: We should discuss it later then.
Comment 7 Marcus 2017-05-20 11:35:08 UTC
Reset assigne to the default "".