HOW to configure Xournal to delete by stroke by default











up vote
1
down vote

favorite












I have been using the software Xournal extensively in the last 15 years, under various operating systems, and lately as a virtual board in class (which I export to pdf for the student after class).



One very useful feature is the "delete strokes" mode of the eraser, which is not the default mode. I would like this option to be selected by default (to save 3 seconds every time I start xournal). I tried to save the option "as default" and to "save preferences" without success. Some other features DO seem to be saved and recovered from the preferences, but not this one. I tried to download the source code and to edit it, but got a bit lost in it.



Is there an easy way to configure Xournal to delete by stroke by default?










share|improve this question




























    up vote
    1
    down vote

    favorite












    I have been using the software Xournal extensively in the last 15 years, under various operating systems, and lately as a virtual board in class (which I export to pdf for the student after class).



    One very useful feature is the "delete strokes" mode of the eraser, which is not the default mode. I would like this option to be selected by default (to save 3 seconds every time I start xournal). I tried to save the option "as default" and to "save preferences" without success. Some other features DO seem to be saved and recovered from the preferences, but not this one. I tried to download the source code and to edit it, but got a bit lost in it.



    Is there an easy way to configure Xournal to delete by stroke by default?










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I have been using the software Xournal extensively in the last 15 years, under various operating systems, and lately as a virtual board in class (which I export to pdf for the student after class).



      One very useful feature is the "delete strokes" mode of the eraser, which is not the default mode. I would like this option to be selected by default (to save 3 seconds every time I start xournal). I tried to save the option "as default" and to "save preferences" without success. Some other features DO seem to be saved and recovered from the preferences, but not this one. I tried to download the source code and to edit it, but got a bit lost in it.



      Is there an easy way to configure Xournal to delete by stroke by default?










      share|improve this question















      I have been using the software Xournal extensively in the last 15 years, under various operating systems, and lately as a virtual board in class (which I export to pdf for the student after class).



      One very useful feature is the "delete strokes" mode of the eraser, which is not the default mode. I would like this option to be selected by default (to save 3 seconds every time I start xournal). I tried to save the option "as default" and to "save preferences" without success. Some other features DO seem to be saved and recovered from the preferences, but not this one. I tried to download the source code and to edit it, but got a bit lost in it.



      Is there an easy way to configure Xournal to delete by stroke by default?







      xournal






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago









      Romeo Ninov

      4,62931626




      4,62931626










      asked Nov 15 at 15:55









      Jeremy

      6118




      6118






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          With the help from my favorite system administrators, we found the following hack which totally solves my problem (albeit a more elegant solution is still welcome!):




          • On Debian, the configuration file of Xournal (created after selecting
            "save preferences" at least once) is in file:~/.xournal/config



          • The option is in line 121"



            # default eraser mode (standard = 0, whiteout = 1, strokes = 2)



          • Replacing 0 by 2 does the trick



            eraser_mode=2







          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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',
            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%2funix.stackexchange.com%2fquestions%2f481978%2fhow-to-configure-xournal-to-delete-by-stroke-by-default%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








            up vote
            2
            down vote













            With the help from my favorite system administrators, we found the following hack which totally solves my problem (albeit a more elegant solution is still welcome!):




            • On Debian, the configuration file of Xournal (created after selecting
              "save preferences" at least once) is in file:~/.xournal/config



            • The option is in line 121"



              # default eraser mode (standard = 0, whiteout = 1, strokes = 2)



            • Replacing 0 by 2 does the trick



              eraser_mode=2







            share|improve this answer



























              up vote
              2
              down vote













              With the help from my favorite system administrators, we found the following hack which totally solves my problem (albeit a more elegant solution is still welcome!):




              • On Debian, the configuration file of Xournal (created after selecting
                "save preferences" at least once) is in file:~/.xournal/config



              • The option is in line 121"



                # default eraser mode (standard = 0, whiteout = 1, strokes = 2)



              • Replacing 0 by 2 does the trick



                eraser_mode=2







              share|improve this answer

























                up vote
                2
                down vote










                up vote
                2
                down vote









                With the help from my favorite system administrators, we found the following hack which totally solves my problem (albeit a more elegant solution is still welcome!):




                • On Debian, the configuration file of Xournal (created after selecting
                  "save preferences" at least once) is in file:~/.xournal/config



                • The option is in line 121"



                  # default eraser mode (standard = 0, whiteout = 1, strokes = 2)



                • Replacing 0 by 2 does the trick



                  eraser_mode=2







                share|improve this answer














                With the help from my favorite system administrators, we found the following hack which totally solves my problem (albeit a more elegant solution is still welcome!):




                • On Debian, the configuration file of Xournal (created after selecting
                  "save preferences" at least once) is in file:~/.xournal/config



                • The option is in line 121"



                  # default eraser mode (standard = 0, whiteout = 1, strokes = 2)



                • Replacing 0 by 2 does the trick



                  eraser_mode=2








                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 15 at 16:18









                Filipe Brandenburger

                6,0741624




                6,0741624










                answered Nov 15 at 15:55









                Jeremy

                6118




                6118






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481978%2fhow-to-configure-xournal-to-delete-by-stroke-by-default%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

                    Accessing regular linux commands in Huawei's Dopra Linux

                    Can't connect RFCOMM socket: Host is down

                    Kernel panic - not syncing: Fatal Exception in Interrupt