Is there way to reconfigure LyX from terminal?












1















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.










share|improve this question





























    1















    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.










    share|improve this question



























      1












      1








      1








      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 25 at 15:48







      Jalep

















      asked Jan 24 at 22:17









      JalepJalep

      789




      789






















          1 Answer
          1






          active

          oldest

          votes


















          3














          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:




          1. Find my user directory by opening LyX and going to Help > About. For me, this is ~/.lyx.

          2. Find configure .py with locate -i configure.py. For me, this gives /usr/share/lyx/configure.py.

          3. Then, just cd to your user directory and run configure.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).






          share|improve this answer
























          • 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





            @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











          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          3














          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:




          1. Find my user directory by opening LyX and going to Help > About. For me, this is ~/.lyx.

          2. Find configure .py with locate -i configure.py. For me, this gives /usr/share/lyx/configure.py.

          3. Then, just cd to your user directory and run configure.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).






          share|improve this answer
























          • 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





            @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
















          3














          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:




          1. Find my user directory by opening LyX and going to Help > About. For me, this is ~/.lyx.

          2. Find configure .py with locate -i configure.py. For me, this gives /usr/share/lyx/configure.py.

          3. Then, just cd to your user directory and run configure.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).






          share|improve this answer
























          • 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





            @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














          3












          3








          3







          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:




          1. Find my user directory by opening LyX and going to Help > About. For me, this is ~/.lyx.

          2. Find configure .py with locate -i configure.py. For me, this gives /usr/share/lyx/configure.py.

          3. Then, just cd to your user directory and run configure.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).






          share|improve this answer













          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:




          1. Find my user directory by opening LyX and going to Help > About. For me, this is ~/.lyx.

          2. Find configure .py with locate -i configure.py. For me, this gives /usr/share/lyx/configure.py.

          3. Then, just cd to your user directory and run configure.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).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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 for Tools > 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






          • 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


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?