https://bugs.freedesktop.org/show_bug.cgi?id=69609

--- Comment #4 from Justin L <[email protected]> ---
Created attachment 110748
  --> https://bugs.freedesktop.org/attachment.cgi?id=110748&action=edit
patch which reads the copied registrymodifications.xcu into the memory copy

This patch is against 4.5 master.  The code was lifted from migration.cxx and
adapted to fit this scenario.

By far, the best alternative to "fixing" this is to write a configuration
extension.  However, that is a HUGE, daunting step for your average sysadmin to
take.  Documentation is sparse, debugging ability is NIL, intimate knowledge of
XML in general and LibreOffice configuration in particular is required.   The
barrier to entry is extremely high.  (I wrote it off as too difficult
initially, a co-worker implemented it successfully 'by luck', and even after
that I still failed to successfully modify our extension to add another change
and gave up after a few hours.  I finally got it right the last time I tried.)

The proposed bug fix reduces the barrier to entry significantly.  An
administrator only needs to know about the existence of the .../presets folder.
 Then they can simply copy a "known good" profile into that location.  They
don't need to identify the specific XML entries for the settings they want to
change, and they don't need to mess with individual's profiles or scripting. 
(The big downside compared to a config extension is that changes can't be made
after a profile already exists, but perhaps you could get away with just
deleting individual's profiles, and then they start with a fresh one
automatically.)

To lower the barrier even further (so a sysadmin doesn't have to know how to
properly "prune" his template registrymodifications.xcu file), I'm trying to
build in some "sysprep" type of exclusions that should be removed since they
don't apply to a default profile (like document history/recovery, personal
information, etc.).

I think it will be highly beneficial for simple sysadmins (like myself) to have
this feature implemented.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to