We need to add some information about all LibreOffice specific environment variables to the wiki. Additionally it would be good to document what they do.
An example is:
There is this page with old OpenOffice Environment Variables, but they are only a starting point and may be outdated.
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Created attachment 64515 [details]
environment vars used in getnenv
Here are the vars. I used this command on the core folder
grep -r -h -I -o 'getenv[ ]*([ ]*"[A-Z0-9_]\+' . | grep -o '[A-Z0-9_]\+' | sort -u
Where is the wiki page where we put them?
(In reply to comment #2)
> Created attachment 64515 [details]
> environment vars used in getnenv
> Here are the vars. I used this command on the core folder
> grep -r -h -I -o 'getenv[ ]*([ ]*"[A-Z0-9_]\+' . | grep -o '[A-Z0-9_]\+' | sort
> Where is the wiki page where we put them?
Great work. Just create a new wiki page nad mention it here. I'll link it into the appropiate development page.
Are you interested in writing some comments to some of these variables explaining what they do? For most of them it sould be easy to get an idea about them by the name and where they are used in the code.
Here is the wiki page: https://wiki.documentfoundation.org/Environment_variables
I am interested in writing comments.
"Assigned" due to facts
Updated the list and the command line to use git grep. Mark this as fixed.
Migrating Whiteboard tags to Keywords: (EasyHack)
Do you think that a bare list of the environment variables gives the user enough information about how to use it?
Additionally, the list is incomplete, e.g. there are aliases introduced in fpicker/source/office/iodlg.cxx
getEnvironmentValue which enquires "WorkDirMustContainRemovableMedia".
Do you think some of these variables are outdated/useless now and should be removed rather than documented? Would it be useful to open new issues for getenv Variables that cannot be used anymore?
(In reply to Markus Raab from comment #8)
> Do you think that a bare list of the environment variables gives the user
> enough information about how to use it?
> Additionally, the list is incomplete, e.g. there are aliases introduced in
> getEnvironmentValue which enquires "WorkDirMustContainRemovableMedia".
> Do you think some of these variables are outdated/useless now and should be
> removed rather than documented? Would it be useful to open new issues for
> getenv Variables that cannot be used anymore?
This is not about users. Please don't change the state of this bug.