Settings file for lyx
Richard Kimberly Heck
rikiheck at lyx.org
Thu Jun 2 00:17:06 UTC 2022
On 6/1/22 17:43, ehud.behar at protonmail.com wrote:
> Thank you very much.
>
> The last option you mentioned is the one I would like to adopt. But,
> where is this preferences file located?
If you look under Help > About LyX, it will tell you where your user
directory is. The preferences file is in that directory. On Linux, this
is (by default) at $HOME/.lyx/. It is of course elsewhere on Windows and
OSX and also is, as I said, configurable at runtime via the -userdir option.
Riki
>
> ------- Original Message -------
> On Wednesday, June 1st, 2022 at 5:27 AM, Richard Kimberly Heck
> <rikiheck at lyx.org> wrote:
>
>> On 5/31/22 16:42, tush via lyx-users wrote:
>>> Me and my colleagues are working on a multi-user project.
>>> Is there any way to guarantee that all of us have the same LyX settings?
>>> We can share screenshots of the settings window, but I prefer
>>> something more technical.
>>>
>>> I mean, the document settings are part of the file.
>>> But LyX settings definitely should not be the same for all users.
>>> Particularly, settings that are related to languages, font encoding
>>> and shortcuts, for example, could change if an expert user has made
>>> changes after the first installation.
>>>
>>> I was wondering if I can write down a file to be sent via email to
>>> my colleagues so can double-click and open it, and after running it
>>> they would have the same settings for LyX as me, the project manager.
>>>
>>> Is there such a thing?
>>
>> Any document-specific settings are contained in the document itself.
>> So you do not have to worry about those. They will travel with the
>> document. You can see them yourself. Just open the LyX file with a
>> text editor. It will look something like this:
>>
>> #LyX 2.4 created this file. For more info see https://www.lyx.org/
>> \lyxformat 608
>> \begin_document
>> \begin_header
>> \save_transient_properties true
>> \origin unavailable
>> \textclass paper
>>
>> The document settings are in the header, which ends with \end_header.
>>
>> The system-wide settings are all contained in text files that you can
>> find in your user directory, most importantly the 'preferences' file.
>> So to synchronize those, you just need to send that file to other
>> users. But I'm not sure that those are what you have in mind.
>>
>> Note, by the way, that it is easy to use LyX with different
>> configurations. The '-userdir' flag lets you specify a user
>> directory, so your users could have one for use with this project and
>> a different one that they use for other things....if they want.
>>
>> Riki
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220601/f1933a45/attachment.html>
More information about the lyx-users
mailing list