Is there way to reconfigure LyX from terminal?
I can't find anything on the wiki.
I'm using a Mac OS X 10.11.6 if that helps.
https://wiki.lyx.org/Mac/Mac
EDIT:
I was trying to find a shortcut for the tedious Tools > Reconfigure
.
lyx terminal-output command-line
add a comment |
I can't find anything on the wiki.
I'm using a Mac OS X 10.11.6 if that helps.
https://wiki.lyx.org/Mac/Mac
EDIT:
I was trying to find a shortcut for the tedious Tools > Reconfigure
.
lyx terminal-output command-line
add a comment |
I can't find anything on the wiki.
I'm using a Mac OS X 10.11.6 if that helps.
https://wiki.lyx.org/Mac/Mac
EDIT:
I was trying to find a shortcut for the tedious Tools > Reconfigure
.
lyx terminal-output command-line
I can't find anything on the wiki.
I'm using a Mac OS X 10.11.6 if that helps.
https://wiki.lyx.org/Mac/Mac
EDIT:
I was trying to find a shortcut for the tedious Tools > Reconfigure
.
lyx terminal-output command-line
lyx terminal-output command-line
edited Jan 25 at 15:48
Jalep
asked Jan 24 at 22:17
JalepJalep
789
789
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
LyX actually calls a Python script that does the configure. So you can call it directly. If I wanted to configure the typical user directory, I would do the following:
- Find my user directory by opening LyX and going to Help > About. For me, this is
~/.lyx
. - Find configure .py with
locate -i configure.py
. For me, this gives/usr/share/lyx/configure.py
. - Then, just
cd
to your user directory and runconfigure.py
.
Thus, I would do:
cd ~/.lyx && python /usr/share/lyx/configure.py
By the way, in the future it helps if you describe why you want to do something. I know that from your perspective, you probably think it's not relevant, but from the perspective of answering a question, it often helps. For example, I'm not sure if you want to configure the directory in the same user directory that is the default when you open LyX; or if you want to make a new user directory (e.g., have a different set of preferences from your main LyX).
Hi thank you for your answer! Sorry, I will know for next time to give more perspective. I did want to configure the directory in the same default user directory. For me, this default was~/Applications/Lyx.app/Contents/Resources/configure.py
. I was just interested in a shortcut forTools > Reconfigure
.
– Jalep
Jan 25 at 15:47
1
@Jalep Thanks for the response! And no need to apologize--I just have learned some helpful tips when I ask questions myself and wanted to share :). Thanks for giving the location on macOS. That will be helpful to future users who come across this question. If anyone reads this and can share instructions for Windows, please do.
– scottkosty
Jan 25 at 17:34
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471740%2fis-there-way-to-reconfigure-lyx-from-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
LyX actually calls a Python script that does the configure. So you can call it directly. If I wanted to configure the typical user directory, I would do the following:
- Find my user directory by opening LyX and going to Help > About. For me, this is
~/.lyx
. - Find configure .py with
locate -i configure.py
. For me, this gives/usr/share/lyx/configure.py
. - Then, just
cd
to your user directory and runconfigure.py
.
Thus, I would do:
cd ~/.lyx && python /usr/share/lyx/configure.py
By the way, in the future it helps if you describe why you want to do something. I know that from your perspective, you probably think it's not relevant, but from the perspective of answering a question, it often helps. For example, I'm not sure if you want to configure the directory in the same user directory that is the default when you open LyX; or if you want to make a new user directory (e.g., have a different set of preferences from your main LyX).
Hi thank you for your answer! Sorry, I will know for next time to give more perspective. I did want to configure the directory in the same default user directory. For me, this default was~/Applications/Lyx.app/Contents/Resources/configure.py
. I was just interested in a shortcut forTools > Reconfigure
.
– Jalep
Jan 25 at 15:47
1
@Jalep Thanks for the response! And no need to apologize--I just have learned some helpful tips when I ask questions myself and wanted to share :). Thanks for giving the location on macOS. That will be helpful to future users who come across this question. If anyone reads this and can share instructions for Windows, please do.
– scottkosty
Jan 25 at 17:34
add a comment |
LyX actually calls a Python script that does the configure. So you can call it directly. If I wanted to configure the typical user directory, I would do the following:
- Find my user directory by opening LyX and going to Help > About. For me, this is
~/.lyx
. - Find configure .py with
locate -i configure.py
. For me, this gives/usr/share/lyx/configure.py
. - Then, just
cd
to your user directory and runconfigure.py
.
Thus, I would do:
cd ~/.lyx && python /usr/share/lyx/configure.py
By the way, in the future it helps if you describe why you want to do something. I know that from your perspective, you probably think it's not relevant, but from the perspective of answering a question, it often helps. For example, I'm not sure if you want to configure the directory in the same user directory that is the default when you open LyX; or if you want to make a new user directory (e.g., have a different set of preferences from your main LyX).
Hi thank you for your answer! Sorry, I will know for next time to give more perspective. I did want to configure the directory in the same default user directory. For me, this default was~/Applications/Lyx.app/Contents/Resources/configure.py
. I was just interested in a shortcut forTools > Reconfigure
.
– Jalep
Jan 25 at 15:47
1
@Jalep Thanks for the response! And no need to apologize--I just have learned some helpful tips when I ask questions myself and wanted to share :). Thanks for giving the location on macOS. That will be helpful to future users who come across this question. If anyone reads this and can share instructions for Windows, please do.
– scottkosty
Jan 25 at 17:34
add a comment |
LyX actually calls a Python script that does the configure. So you can call it directly. If I wanted to configure the typical user directory, I would do the following:
- Find my user directory by opening LyX and going to Help > About. For me, this is
~/.lyx
. - Find configure .py with
locate -i configure.py
. For me, this gives/usr/share/lyx/configure.py
. - Then, just
cd
to your user directory and runconfigure.py
.
Thus, I would do:
cd ~/.lyx && python /usr/share/lyx/configure.py
By the way, in the future it helps if you describe why you want to do something. I know that from your perspective, you probably think it's not relevant, but from the perspective of answering a question, it often helps. For example, I'm not sure if you want to configure the directory in the same user directory that is the default when you open LyX; or if you want to make a new user directory (e.g., have a different set of preferences from your main LyX).
LyX actually calls a Python script that does the configure. So you can call it directly. If I wanted to configure the typical user directory, I would do the following:
- Find my user directory by opening LyX and going to Help > About. For me, this is
~/.lyx
. - Find configure .py with
locate -i configure.py
. For me, this gives/usr/share/lyx/configure.py
. - Then, just
cd
to your user directory and runconfigure.py
.
Thus, I would do:
cd ~/.lyx && python /usr/share/lyx/configure.py
By the way, in the future it helps if you describe why you want to do something. I know that from your perspective, you probably think it's not relevant, but from the perspective of answering a question, it often helps. For example, I'm not sure if you want to configure the directory in the same user directory that is the default when you open LyX; or if you want to make a new user directory (e.g., have a different set of preferences from your main LyX).
answered Jan 25 at 6:17
scottkostyscottkosty
10.4k21938
10.4k21938
Hi thank you for your answer! Sorry, I will know for next time to give more perspective. I did want to configure the directory in the same default user directory. For me, this default was~/Applications/Lyx.app/Contents/Resources/configure.py
. I was just interested in a shortcut forTools > Reconfigure
.
– Jalep
Jan 25 at 15:47
1
@Jalep Thanks for the response! And no need to apologize--I just have learned some helpful tips when I ask questions myself and wanted to share :). Thanks for giving the location on macOS. That will be helpful to future users who come across this question. If anyone reads this and can share instructions for Windows, please do.
– scottkosty
Jan 25 at 17:34
add a comment |
Hi thank you for your answer! Sorry, I will know for next time to give more perspective. I did want to configure the directory in the same default user directory. For me, this default was~/Applications/Lyx.app/Contents/Resources/configure.py
. I was just interested in a shortcut forTools > Reconfigure
.
– Jalep
Jan 25 at 15:47
1
@Jalep Thanks for the response! And no need to apologize--I just have learned some helpful tips when I ask questions myself and wanted to share :). Thanks for giving the location on macOS. That will be helpful to future users who come across this question. If anyone reads this and can share instructions for Windows, please do.
– scottkosty
Jan 25 at 17:34
Hi thank you for your answer! Sorry, I will know for next time to give more perspective. I did want to configure the directory in the same default user directory. For me, this default was
~/Applications/Lyx.app/Contents/Resources/configure.py
. I was just interested in a shortcut for Tools > Reconfigure
.– Jalep
Jan 25 at 15:47
Hi thank you for your answer! Sorry, I will know for next time to give more perspective. I did want to configure the directory in the same default user directory. For me, this default was
~/Applications/Lyx.app/Contents/Resources/configure.py
. I was just interested in a shortcut for Tools > Reconfigure
.– Jalep
Jan 25 at 15:47
1
1
@Jalep Thanks for the response! And no need to apologize--I just have learned some helpful tips when I ask questions myself and wanted to share :). Thanks for giving the location on macOS. That will be helpful to future users who come across this question. If anyone reads this and can share instructions for Windows, please do.
– scottkosty
Jan 25 at 17:34
@Jalep Thanks for the response! And no need to apologize--I just have learned some helpful tips when I ask questions myself and wanted to share :). Thanks for giving the location on macOS. That will be helpful to future users who come across this question. If anyone reads this and can share instructions for Windows, please do.
– scottkosty
Jan 25 at 17:34
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471740%2fis-there-way-to-reconfigure-lyx-from-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown