Settings file for lyx

ehud.behar at protonmail.com ehud.behar at protonmail.com
Thu Jun 2 13:03:13 UTC 2022


Thank you very much once again, Riki.

I found the file and I can see it being updated after I apply changes in the preferences menu inside LyX.

Where can I choose which preferences file to use? I want to save a copy of such a file and save it in the project's directory. How do I tell lyx to use that new file?
I can't see anything related to it in the menus.

Screen shot: https://i.ibb.co/cYyJdpk/screenshot.png

Ehud

------- Original Message -------
On Thursday, June 2nd, 2022 at 1:17 AM, Richard Kimberly Heck <rikiheck at lyx.org> wrote:

> 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>](mailto: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/20220602/0e97cb7a/attachment-0001.html>


More information about the lyx-users mailing list