disper -l on 18.04 generates a segmentation fault. Are there alternatives?Can't enable 3rd monitor after installing ATI proprietary driversDual monitor setup, why does NVidia 346 crash and only detect one giant screen?Dual DVI Monitors not Extending, LubuntuUbuntu 16.04 External Display Stopped Working (Black)VGA to HDMI adapter, xrandr “Can't open display” 16.04 fresh installHow to use 3 external monitors on Ubuntu 17.10 Dell XPS 13 9360?Screen Corruption on Multi Monitor DisplayPort using Intel GraphicsTroubleshooting Motherboard Video Out with Ubuntu 18.04 (Gigabyte Z170X-UD3)How to configure 200% scale on 4k monitor, but 100% scale on additional 1080p monitorsNVIDIA Driver needed to run LG 25UM58 screen on GeForce GTX750Ti GPU

Implement the Thanos sorting algorithm

What is the intuitive meaning of having a linear relationship between the logs of two variables?

Method to test if a number is a perfect power?

Sort a list by elements of another list

Integer addition + constant, is it a group?

Is expanding the research of a group into machine learning as a PhD student risky?

Would a high gravity rocky planet be guaranteed to have an atmosphere?

What can we do to stop prior company from asking us questions?

Go Pregnant or Go Home

Where does the Z80 processor start executing from?

Why not increase contact surface when reentering the atmosphere?

Is the destination of a commercial flight important for the pilot?

Fastening aluminum fascia to wooden subfascia

Do all network devices need to make routing decisions, regardless of communication across networks or within a network?

Failed to fetch jessie backports repository

How can a function with a hole (removable discontinuity) equal a function with no hole?

What is the opposite of 'gravitas'?

How to check is there any negative term in a large list?

Is a stroke of luck acceptable after a series of unfavorable events?

when is out of tune ok?

What is the difference between "behavior" and "behaviour"?

Is there a problem with hiding "forgot password" until it's needed?

How do we know the LHC results are robust?

Unreliable Magic - Is it worth it?



disper -l on 18.04 generates a segmentation fault. Are there alternatives?


Can't enable 3rd monitor after installing ATI proprietary driversDual monitor setup, why does NVidia 346 crash and only detect one giant screen?Dual DVI Monitors not Extending, LubuntuUbuntu 16.04 External Display Stopped Working (Black)VGA to HDMI adapter, xrandr “Can't open display” 16.04 fresh installHow to use 3 external monitors on Ubuntu 17.10 Dell XPS 13 9360?Screen Corruption on Multi Monitor DisplayPort using Intel GraphicsTroubleshooting Motherboard Video Out with Ubuntu 18.04 (Gigabyte Z170X-UD3)How to configure 200% scale on 4k monitor, but 100% scale on additional 1080p monitorsNVIDIA Driver needed to run LG 25UM58 screen on GeForce GTX750Ti GPU













3















I've used disper -l for many generations of ubuntu in order to determine which monitor I'm attached to, and whether an external monitor with either vga or hdmi is attached. Having now upgraded to 18.04, I find that this command is generating a segmentation fault. The problem seems to be around for a while, as reported in this bug report but nobody seems to be doing anything about it. Is there another program that has the same functionality? I've looked at xdpyinfo which has a lot of information, but not what I need, which is enough resolution information to distinguish between monitors, plus information about whether multiple monitors are attached, and by what connection.



Thanks!










share|improve this question
























  • I can confirm this bug, seems to be caused by some anti-Meltdown or anti-Spectre fixes or something similar (my apport crash contains strange line - SegvReason: reading unknown VMA). I have never used disper. Can xrand become alternative?

    – N0rbert
    Jun 25 '18 at 9:25












  • it does look like xrandr contains enough information for me to do what I want. Thanks very much indeed for the suggestion. Can you convert to an answer so that I can accept it?

    – Leo Simon
    Jun 25 '18 at 14:01











  • I can also confirm that bug and it's totally annoying that disper doesn't work anymore. xrandr is not so "smart" as disper when switching monitors.

    – student
    Sep 8 '18 at 19:31











  • However there seems to be a patch: bugs.debian.org/cgi-bin/bugreport.cgi?bug=844505 and bugs.debian.org/cgi-bin/… Is there a patched version available for ubuntu 18.04?

    – student
    Sep 8 '18 at 19:33















3















I've used disper -l for many generations of ubuntu in order to determine which monitor I'm attached to, and whether an external monitor with either vga or hdmi is attached. Having now upgraded to 18.04, I find that this command is generating a segmentation fault. The problem seems to be around for a while, as reported in this bug report but nobody seems to be doing anything about it. Is there another program that has the same functionality? I've looked at xdpyinfo which has a lot of information, but not what I need, which is enough resolution information to distinguish between monitors, plus information about whether multiple monitors are attached, and by what connection.



Thanks!










share|improve this question
























  • I can confirm this bug, seems to be caused by some anti-Meltdown or anti-Spectre fixes or something similar (my apport crash contains strange line - SegvReason: reading unknown VMA). I have never used disper. Can xrand become alternative?

    – N0rbert
    Jun 25 '18 at 9:25












  • it does look like xrandr contains enough information for me to do what I want. Thanks very much indeed for the suggestion. Can you convert to an answer so that I can accept it?

    – Leo Simon
    Jun 25 '18 at 14:01











  • I can also confirm that bug and it's totally annoying that disper doesn't work anymore. xrandr is not so "smart" as disper when switching monitors.

    – student
    Sep 8 '18 at 19:31











  • However there seems to be a patch: bugs.debian.org/cgi-bin/bugreport.cgi?bug=844505 and bugs.debian.org/cgi-bin/… Is there a patched version available for ubuntu 18.04?

    – student
    Sep 8 '18 at 19:33













3












3








3


1






I've used disper -l for many generations of ubuntu in order to determine which monitor I'm attached to, and whether an external monitor with either vga or hdmi is attached. Having now upgraded to 18.04, I find that this command is generating a segmentation fault. The problem seems to be around for a while, as reported in this bug report but nobody seems to be doing anything about it. Is there another program that has the same functionality? I've looked at xdpyinfo which has a lot of information, but not what I need, which is enough resolution information to distinguish between monitors, plus information about whether multiple monitors are attached, and by what connection.



Thanks!










share|improve this question
















I've used disper -l for many generations of ubuntu in order to determine which monitor I'm attached to, and whether an external monitor with either vga or hdmi is attached. Having now upgraded to 18.04, I find that this command is generating a segmentation fault. The problem seems to be around for a while, as reported in this bug report but nobody seems to be doing anything about it. Is there another program that has the same functionality? I've looked at xdpyinfo which has a lot of information, but not what I need, which is enough resolution information to distinguish between monitors, plus information about whether multiple monitors are attached, and by what connection.



Thanks!







command-line multiple-monitors display hdmi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 26 '18 at 1:49









muru

1




1










asked Jun 25 '18 at 6:29









Leo SimonLeo Simon

5592924




5592924












  • I can confirm this bug, seems to be caused by some anti-Meltdown or anti-Spectre fixes or something similar (my apport crash contains strange line - SegvReason: reading unknown VMA). I have never used disper. Can xrand become alternative?

    – N0rbert
    Jun 25 '18 at 9:25












  • it does look like xrandr contains enough information for me to do what I want. Thanks very much indeed for the suggestion. Can you convert to an answer so that I can accept it?

    – Leo Simon
    Jun 25 '18 at 14:01











  • I can also confirm that bug and it's totally annoying that disper doesn't work anymore. xrandr is not so "smart" as disper when switching monitors.

    – student
    Sep 8 '18 at 19:31











  • However there seems to be a patch: bugs.debian.org/cgi-bin/bugreport.cgi?bug=844505 and bugs.debian.org/cgi-bin/… Is there a patched version available for ubuntu 18.04?

    – student
    Sep 8 '18 at 19:33

















  • I can confirm this bug, seems to be caused by some anti-Meltdown or anti-Spectre fixes or something similar (my apport crash contains strange line - SegvReason: reading unknown VMA). I have never used disper. Can xrand become alternative?

    – N0rbert
    Jun 25 '18 at 9:25












  • it does look like xrandr contains enough information for me to do what I want. Thanks very much indeed for the suggestion. Can you convert to an answer so that I can accept it?

    – Leo Simon
    Jun 25 '18 at 14:01











  • I can also confirm that bug and it's totally annoying that disper doesn't work anymore. xrandr is not so "smart" as disper when switching monitors.

    – student
    Sep 8 '18 at 19:31











  • However there seems to be a patch: bugs.debian.org/cgi-bin/bugreport.cgi?bug=844505 and bugs.debian.org/cgi-bin/… Is there a patched version available for ubuntu 18.04?

    – student
    Sep 8 '18 at 19:33
















I can confirm this bug, seems to be caused by some anti-Meltdown or anti-Spectre fixes or something similar (my apport crash contains strange line - SegvReason: reading unknown VMA). I have never used disper. Can xrand become alternative?

– N0rbert
Jun 25 '18 at 9:25






I can confirm this bug, seems to be caused by some anti-Meltdown or anti-Spectre fixes or something similar (my apport crash contains strange line - SegvReason: reading unknown VMA). I have never used disper. Can xrand become alternative?

– N0rbert
Jun 25 '18 at 9:25














it does look like xrandr contains enough information for me to do what I want. Thanks very much indeed for the suggestion. Can you convert to an answer so that I can accept it?

– Leo Simon
Jun 25 '18 at 14:01





it does look like xrandr contains enough information for me to do what I want. Thanks very much indeed for the suggestion. Can you convert to an answer so that I can accept it?

– Leo Simon
Jun 25 '18 at 14:01













I can also confirm that bug and it's totally annoying that disper doesn't work anymore. xrandr is not so "smart" as disper when switching monitors.

– student
Sep 8 '18 at 19:31





I can also confirm that bug and it's totally annoying that disper doesn't work anymore. xrandr is not so "smart" as disper when switching monitors.

– student
Sep 8 '18 at 19:31













However there seems to be a patch: bugs.debian.org/cgi-bin/bugreport.cgi?bug=844505 and bugs.debian.org/cgi-bin/… Is there a patched version available for ubuntu 18.04?

– student
Sep 8 '18 at 19:33





However there seems to be a patch: bugs.debian.org/cgi-bin/bugreport.cgi?bug=844505 and bugs.debian.org/cgi-bin/… Is there a patched version available for ubuntu 18.04?

– student
Sep 8 '18 at 19:33










2 Answers
2






active

oldest

votes


















3














I can confirm this bug 1655275, it seems to be caused by some anti-Meltdown or anti-Spectre fixes (or something similar as CVE-2017-1000364 with Scilab) since my apport crash log in comment #9 contains strange lines:



SegvAnalysis:
Segfault happened at: 0x7f1233f14add <XQueryExtension+45>: mov 0x968(%rdi),%rax
PC (0x7f1233f14add) ok
source "0x968(%rdi)" (0xffffffffd63a1188) not located in a known VMA region (needed readable region)!
destination "%rax" ok
SegvReason: reading unknown VMA


I have never used disper, but I can recommend xrandr as alternative.






share|improve this answer






























    0














    I can confirm the bug, too.



    But good news! This seems extraordinarily easy to fix.



    I generated a patched version (available on Github if interested),



    git clone <URL>
    cd disper
    make all
    sudo make install


    But please don't unconditionally trust random sources (e.g. me).



    Read below for a complete guide on how to do this for yourself, instead!



    Cherry picking AUR into debian upstream



    Cloning and adding remote



    Clone the Debian source (source here),



    git clone https://salsa.debian.org/python-team/applications/disper.git
    cd disper


    Add AUR upstream as remote,



    git remote add AUR https://github.com/apeyser/disper
    git fetch --all


    git remote -v


    [output]



    AUR https://github.com/apeyser/disper (fetch)
    AUR https://github.com/apeyser/disper (push)
    origin https://salsa.debian.org/python-team/applications/disper.git (fetch)
    origin https://salsa.debian.org/python-team/applications/disper.git (push)


    Yes, they're different repositories -- not merely different branches -- but for this cherry-picking patch it's surprisingly convenient to just pretend, for a while.



    Just don't merge the "branches" unless you have a good reason, lest you cause an unecessary mess.



    Checking out the master's



    "Rename" (create new branches) their respective master (for your own record),



    git checkout -b AUR-master AUR/master
    git checkout -b debian-master debian/master


    [output]



    Branch 'AUR-master' set up to track remote branch 'master' from 'AUR'.
    Switched to a new branch 'AUR-master'
    Switched to a new branch 'debian-master'


    Sanity check on that,



    git branch -vv


    [output]



     AUR-master 4c36710 [AUR/master] Update README
    * debian-master e3ca840 d/control: Remove ancient X-Python-Version field
    debian/master e3ca840 [origin/debian/master] d/control: Remove ancient X-Python-Version field


    Seems good!



    You can explore and view the differences like so,



    git log --graph --decorate --oneline debian-master
    git log --graph --decorate --oneline AUR-master
    git diff debian-master AUR-master


    Identifying new commits



    What we're interested in is that this,



    git log debian-master -1


    [output]



    commit e3ca840a48208a79a5c96da1bd9f6f1b845f5773 (HEAD -> debian-master, origin/debian/master, origin/HEAD, debian/master)
    Author: Ondřej Nový <onovy@debian.org>
    Date: Mon May 14 08:10:02 2018 +0200

    d/control: Remove ancient X-Python-Version field


    does not include the recent patch here,



    git log AUR-master -4


    [output]



    commit 4c367108b370d57ce178863fed7640bb846d3186 (AUR/master, AUR-master)
    Author: Alexander Peyser <apeyser@users.noreply.github.com>
    Date: Thu Aug 23 17:16:42 2018 +0200

    Update README

    commit 4c635d65244bcb2a86a9da86d00007de96a23626 (tag: disper-0.3.1.1)
    Author: Alexander Peyser <a.peyser@fz-juelich.de>
    Date: Thu Aug 23 16:02:23 2018 +0200

    apply XOpenDisplay return type patch

    commit 01132563030b9230e8f007794c3269dd913c3052
    Author: Alexander Peyser <a.peyser@fz-juelich.de>
    Date: Thu Aug 23 16:17:07 2018 +0200

    Update INSTALL and README

    commit d0498b7892b36d183d09b3d905296ee7456ff24d (tag: disper-0.3.1)
    Author: dev-disper@willem.engen.nl <>
    Date: Tue Apr 23 12:01:43 2013 +0200

    also update Debian version number


    Three (3) new commits! The second one is the fixing patch.



    Cherry-picking (what we want)



    Switch to debian-master and branch a local version (to not confuse the merge with the upstreams),



    git checkout debian-master
    git checkout -b local


    git cherry-pick 0113256..4c36710


    [output]



    [local d05e2bd] apply XOpenDisplay return type patch
    Author: Alexander Peyser <a.peyser@fz-juelich.de>
    Date: Thu Aug 23 16:02:23 2018 +0200
    1 file changed, 12 insertions(+), 2 deletions(-)
    error: could not apply 4c36710... Update README
    hint: after resolving the conflicts, mark the corrected paths
    hint: with 'git add <paths>' or 'git rm <paths>'
    hint: and commit the result with 'git commit'


    Of course we expected a merge conflict...



    But did you really expect it to be only README? Let's fix it!



    git mergetool # or, vimdiff README (or whatever)
    diff -NaurbB README* --color
    git cherry-pick --continue
    rm README.orig


    I merged in the nice new section of README and sanity checked, then continued with an unchanged commit message.



    Bump the version



    Identify where the version is kept,



    rg 0.3.1 # or, grep -rn 0.3.1 (or whatever)
    git blame debian/changelog


    So you can add a dummy release section to debian/changelog (for your own record), or not.



    vim debian/changelog
    git add debian/changelog


    I copied 0.3.1-3 to a new 0.3.1-4 section and wrote a few words.



    Test it!



    Does it work?



    make <Tab>
    make all -n
    make install -n


    Seems good to me. Let's install,



    make all
    sudo make install
    ~~

    Confirm that it works,

    ~~~bash
    disper -l


    Let's commit and tag it (for future reference),



    git commit -v
    git tag local/0.3.1-4 -a


    I really recommend a tag or something and a version bump. Be nice to future you.



    Happy hacking.






    share|improve this answer








    New contributor




    Yngman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.



















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "89"
      ;
      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: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      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%2faskubuntu.com%2fquestions%2f1049452%2fdisper-l-on-18-04-generates-a-segmentation-fault-are-there-alternatives%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      I can confirm this bug 1655275, it seems to be caused by some anti-Meltdown or anti-Spectre fixes (or something similar as CVE-2017-1000364 with Scilab) since my apport crash log in comment #9 contains strange lines:



      SegvAnalysis:
      Segfault happened at: 0x7f1233f14add <XQueryExtension+45>: mov 0x968(%rdi),%rax
      PC (0x7f1233f14add) ok
      source "0x968(%rdi)" (0xffffffffd63a1188) not located in a known VMA region (needed readable region)!
      destination "%rax" ok
      SegvReason: reading unknown VMA


      I have never used disper, but I can recommend xrandr as alternative.






      share|improve this answer



























        3














        I can confirm this bug 1655275, it seems to be caused by some anti-Meltdown or anti-Spectre fixes (or something similar as CVE-2017-1000364 with Scilab) since my apport crash log in comment #9 contains strange lines:



        SegvAnalysis:
        Segfault happened at: 0x7f1233f14add <XQueryExtension+45>: mov 0x968(%rdi),%rax
        PC (0x7f1233f14add) ok
        source "0x968(%rdi)" (0xffffffffd63a1188) not located in a known VMA region (needed readable region)!
        destination "%rax" ok
        SegvReason: reading unknown VMA


        I have never used disper, but I can recommend xrandr as alternative.






        share|improve this answer

























          3












          3








          3







          I can confirm this bug 1655275, it seems to be caused by some anti-Meltdown or anti-Spectre fixes (or something similar as CVE-2017-1000364 with Scilab) since my apport crash log in comment #9 contains strange lines:



          SegvAnalysis:
          Segfault happened at: 0x7f1233f14add <XQueryExtension+45>: mov 0x968(%rdi),%rax
          PC (0x7f1233f14add) ok
          source "0x968(%rdi)" (0xffffffffd63a1188) not located in a known VMA region (needed readable region)!
          destination "%rax" ok
          SegvReason: reading unknown VMA


          I have never used disper, but I can recommend xrandr as alternative.






          share|improve this answer













          I can confirm this bug 1655275, it seems to be caused by some anti-Meltdown or anti-Spectre fixes (or something similar as CVE-2017-1000364 with Scilab) since my apport crash log in comment #9 contains strange lines:



          SegvAnalysis:
          Segfault happened at: 0x7f1233f14add <XQueryExtension+45>: mov 0x968(%rdi),%rax
          PC (0x7f1233f14add) ok
          source "0x968(%rdi)" (0xffffffffd63a1188) not located in a known VMA region (needed readable region)!
          destination "%rax" ok
          SegvReason: reading unknown VMA


          I have never used disper, but I can recommend xrandr as alternative.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 25 '18 at 14:30









          N0rbertN0rbert

          24.5k852115




          24.5k852115























              0














              I can confirm the bug, too.



              But good news! This seems extraordinarily easy to fix.



              I generated a patched version (available on Github if interested),



              git clone <URL>
              cd disper
              make all
              sudo make install


              But please don't unconditionally trust random sources (e.g. me).



              Read below for a complete guide on how to do this for yourself, instead!



              Cherry picking AUR into debian upstream



              Cloning and adding remote



              Clone the Debian source (source here),



              git clone https://salsa.debian.org/python-team/applications/disper.git
              cd disper


              Add AUR upstream as remote,



              git remote add AUR https://github.com/apeyser/disper
              git fetch --all


              git remote -v


              [output]



              AUR https://github.com/apeyser/disper (fetch)
              AUR https://github.com/apeyser/disper (push)
              origin https://salsa.debian.org/python-team/applications/disper.git (fetch)
              origin https://salsa.debian.org/python-team/applications/disper.git (push)


              Yes, they're different repositories -- not merely different branches -- but for this cherry-picking patch it's surprisingly convenient to just pretend, for a while.



              Just don't merge the "branches" unless you have a good reason, lest you cause an unecessary mess.



              Checking out the master's



              "Rename" (create new branches) their respective master (for your own record),



              git checkout -b AUR-master AUR/master
              git checkout -b debian-master debian/master


              [output]



              Branch 'AUR-master' set up to track remote branch 'master' from 'AUR'.
              Switched to a new branch 'AUR-master'
              Switched to a new branch 'debian-master'


              Sanity check on that,



              git branch -vv


              [output]



               AUR-master 4c36710 [AUR/master] Update README
              * debian-master e3ca840 d/control: Remove ancient X-Python-Version field
              debian/master e3ca840 [origin/debian/master] d/control: Remove ancient X-Python-Version field


              Seems good!



              You can explore and view the differences like so,



              git log --graph --decorate --oneline debian-master
              git log --graph --decorate --oneline AUR-master
              git diff debian-master AUR-master


              Identifying new commits



              What we're interested in is that this,



              git log debian-master -1


              [output]



              commit e3ca840a48208a79a5c96da1bd9f6f1b845f5773 (HEAD -> debian-master, origin/debian/master, origin/HEAD, debian/master)
              Author: Ondřej Nový <onovy@debian.org>
              Date: Mon May 14 08:10:02 2018 +0200

              d/control: Remove ancient X-Python-Version field


              does not include the recent patch here,



              git log AUR-master -4


              [output]



              commit 4c367108b370d57ce178863fed7640bb846d3186 (AUR/master, AUR-master)
              Author: Alexander Peyser <apeyser@users.noreply.github.com>
              Date: Thu Aug 23 17:16:42 2018 +0200

              Update README

              commit 4c635d65244bcb2a86a9da86d00007de96a23626 (tag: disper-0.3.1.1)
              Author: Alexander Peyser <a.peyser@fz-juelich.de>
              Date: Thu Aug 23 16:02:23 2018 +0200

              apply XOpenDisplay return type patch

              commit 01132563030b9230e8f007794c3269dd913c3052
              Author: Alexander Peyser <a.peyser@fz-juelich.de>
              Date: Thu Aug 23 16:17:07 2018 +0200

              Update INSTALL and README

              commit d0498b7892b36d183d09b3d905296ee7456ff24d (tag: disper-0.3.1)
              Author: dev-disper@willem.engen.nl <>
              Date: Tue Apr 23 12:01:43 2013 +0200

              also update Debian version number


              Three (3) new commits! The second one is the fixing patch.



              Cherry-picking (what we want)



              Switch to debian-master and branch a local version (to not confuse the merge with the upstreams),



              git checkout debian-master
              git checkout -b local


              git cherry-pick 0113256..4c36710


              [output]



              [local d05e2bd] apply XOpenDisplay return type patch
              Author: Alexander Peyser <a.peyser@fz-juelich.de>
              Date: Thu Aug 23 16:02:23 2018 +0200
              1 file changed, 12 insertions(+), 2 deletions(-)
              error: could not apply 4c36710... Update README
              hint: after resolving the conflicts, mark the corrected paths
              hint: with 'git add <paths>' or 'git rm <paths>'
              hint: and commit the result with 'git commit'


              Of course we expected a merge conflict...



              But did you really expect it to be only README? Let's fix it!



              git mergetool # or, vimdiff README (or whatever)
              diff -NaurbB README* --color
              git cherry-pick --continue
              rm README.orig


              I merged in the nice new section of README and sanity checked, then continued with an unchanged commit message.



              Bump the version



              Identify where the version is kept,



              rg 0.3.1 # or, grep -rn 0.3.1 (or whatever)
              git blame debian/changelog


              So you can add a dummy release section to debian/changelog (for your own record), or not.



              vim debian/changelog
              git add debian/changelog


              I copied 0.3.1-3 to a new 0.3.1-4 section and wrote a few words.



              Test it!



              Does it work?



              make <Tab>
              make all -n
              make install -n


              Seems good to me. Let's install,



              make all
              sudo make install
              ~~

              Confirm that it works,

              ~~~bash
              disper -l


              Let's commit and tag it (for future reference),



              git commit -v
              git tag local/0.3.1-4 -a


              I really recommend a tag or something and a version bump. Be nice to future you.



              Happy hacking.






              share|improve this answer








              New contributor




              Yngman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.
























                0














                I can confirm the bug, too.



                But good news! This seems extraordinarily easy to fix.



                I generated a patched version (available on Github if interested),



                git clone <URL>
                cd disper
                make all
                sudo make install


                But please don't unconditionally trust random sources (e.g. me).



                Read below for a complete guide on how to do this for yourself, instead!



                Cherry picking AUR into debian upstream



                Cloning and adding remote



                Clone the Debian source (source here),



                git clone https://salsa.debian.org/python-team/applications/disper.git
                cd disper


                Add AUR upstream as remote,



                git remote add AUR https://github.com/apeyser/disper
                git fetch --all


                git remote -v


                [output]



                AUR https://github.com/apeyser/disper (fetch)
                AUR https://github.com/apeyser/disper (push)
                origin https://salsa.debian.org/python-team/applications/disper.git (fetch)
                origin https://salsa.debian.org/python-team/applications/disper.git (push)


                Yes, they're different repositories -- not merely different branches -- but for this cherry-picking patch it's surprisingly convenient to just pretend, for a while.



                Just don't merge the "branches" unless you have a good reason, lest you cause an unecessary mess.



                Checking out the master's



                "Rename" (create new branches) their respective master (for your own record),



                git checkout -b AUR-master AUR/master
                git checkout -b debian-master debian/master


                [output]



                Branch 'AUR-master' set up to track remote branch 'master' from 'AUR'.
                Switched to a new branch 'AUR-master'
                Switched to a new branch 'debian-master'


                Sanity check on that,



                git branch -vv


                [output]



                 AUR-master 4c36710 [AUR/master] Update README
                * debian-master e3ca840 d/control: Remove ancient X-Python-Version field
                debian/master e3ca840 [origin/debian/master] d/control: Remove ancient X-Python-Version field


                Seems good!



                You can explore and view the differences like so,



                git log --graph --decorate --oneline debian-master
                git log --graph --decorate --oneline AUR-master
                git diff debian-master AUR-master


                Identifying new commits



                What we're interested in is that this,



                git log debian-master -1


                [output]



                commit e3ca840a48208a79a5c96da1bd9f6f1b845f5773 (HEAD -> debian-master, origin/debian/master, origin/HEAD, debian/master)
                Author: Ondřej Nový <onovy@debian.org>
                Date: Mon May 14 08:10:02 2018 +0200

                d/control: Remove ancient X-Python-Version field


                does not include the recent patch here,



                git log AUR-master -4


                [output]



                commit 4c367108b370d57ce178863fed7640bb846d3186 (AUR/master, AUR-master)
                Author: Alexander Peyser <apeyser@users.noreply.github.com>
                Date: Thu Aug 23 17:16:42 2018 +0200

                Update README

                commit 4c635d65244bcb2a86a9da86d00007de96a23626 (tag: disper-0.3.1.1)
                Author: Alexander Peyser <a.peyser@fz-juelich.de>
                Date: Thu Aug 23 16:02:23 2018 +0200

                apply XOpenDisplay return type patch

                commit 01132563030b9230e8f007794c3269dd913c3052
                Author: Alexander Peyser <a.peyser@fz-juelich.de>
                Date: Thu Aug 23 16:17:07 2018 +0200

                Update INSTALL and README

                commit d0498b7892b36d183d09b3d905296ee7456ff24d (tag: disper-0.3.1)
                Author: dev-disper@willem.engen.nl <>
                Date: Tue Apr 23 12:01:43 2013 +0200

                also update Debian version number


                Three (3) new commits! The second one is the fixing patch.



                Cherry-picking (what we want)



                Switch to debian-master and branch a local version (to not confuse the merge with the upstreams),



                git checkout debian-master
                git checkout -b local


                git cherry-pick 0113256..4c36710


                [output]



                [local d05e2bd] apply XOpenDisplay return type patch
                Author: Alexander Peyser <a.peyser@fz-juelich.de>
                Date: Thu Aug 23 16:02:23 2018 +0200
                1 file changed, 12 insertions(+), 2 deletions(-)
                error: could not apply 4c36710... Update README
                hint: after resolving the conflicts, mark the corrected paths
                hint: with 'git add <paths>' or 'git rm <paths>'
                hint: and commit the result with 'git commit'


                Of course we expected a merge conflict...



                But did you really expect it to be only README? Let's fix it!



                git mergetool # or, vimdiff README (or whatever)
                diff -NaurbB README* --color
                git cherry-pick --continue
                rm README.orig


                I merged in the nice new section of README and sanity checked, then continued with an unchanged commit message.



                Bump the version



                Identify where the version is kept,



                rg 0.3.1 # or, grep -rn 0.3.1 (or whatever)
                git blame debian/changelog


                So you can add a dummy release section to debian/changelog (for your own record), or not.



                vim debian/changelog
                git add debian/changelog


                I copied 0.3.1-3 to a new 0.3.1-4 section and wrote a few words.



                Test it!



                Does it work?



                make <Tab>
                make all -n
                make install -n


                Seems good to me. Let's install,



                make all
                sudo make install
                ~~

                Confirm that it works,

                ~~~bash
                disper -l


                Let's commit and tag it (for future reference),



                git commit -v
                git tag local/0.3.1-4 -a


                I really recommend a tag or something and a version bump. Be nice to future you.



                Happy hacking.






                share|improve this answer








                New contributor




                Yngman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                  0












                  0








                  0







                  I can confirm the bug, too.



                  But good news! This seems extraordinarily easy to fix.



                  I generated a patched version (available on Github if interested),



                  git clone <URL>
                  cd disper
                  make all
                  sudo make install


                  But please don't unconditionally trust random sources (e.g. me).



                  Read below for a complete guide on how to do this for yourself, instead!



                  Cherry picking AUR into debian upstream



                  Cloning and adding remote



                  Clone the Debian source (source here),



                  git clone https://salsa.debian.org/python-team/applications/disper.git
                  cd disper


                  Add AUR upstream as remote,



                  git remote add AUR https://github.com/apeyser/disper
                  git fetch --all


                  git remote -v


                  [output]



                  AUR https://github.com/apeyser/disper (fetch)
                  AUR https://github.com/apeyser/disper (push)
                  origin https://salsa.debian.org/python-team/applications/disper.git (fetch)
                  origin https://salsa.debian.org/python-team/applications/disper.git (push)


                  Yes, they're different repositories -- not merely different branches -- but for this cherry-picking patch it's surprisingly convenient to just pretend, for a while.



                  Just don't merge the "branches" unless you have a good reason, lest you cause an unecessary mess.



                  Checking out the master's



                  "Rename" (create new branches) their respective master (for your own record),



                  git checkout -b AUR-master AUR/master
                  git checkout -b debian-master debian/master


                  [output]



                  Branch 'AUR-master' set up to track remote branch 'master' from 'AUR'.
                  Switched to a new branch 'AUR-master'
                  Switched to a new branch 'debian-master'


                  Sanity check on that,



                  git branch -vv


                  [output]



                   AUR-master 4c36710 [AUR/master] Update README
                  * debian-master e3ca840 d/control: Remove ancient X-Python-Version field
                  debian/master e3ca840 [origin/debian/master] d/control: Remove ancient X-Python-Version field


                  Seems good!



                  You can explore and view the differences like so,



                  git log --graph --decorate --oneline debian-master
                  git log --graph --decorate --oneline AUR-master
                  git diff debian-master AUR-master


                  Identifying new commits



                  What we're interested in is that this,



                  git log debian-master -1


                  [output]



                  commit e3ca840a48208a79a5c96da1bd9f6f1b845f5773 (HEAD -> debian-master, origin/debian/master, origin/HEAD, debian/master)
                  Author: Ondřej Nový <onovy@debian.org>
                  Date: Mon May 14 08:10:02 2018 +0200

                  d/control: Remove ancient X-Python-Version field


                  does not include the recent patch here,



                  git log AUR-master -4


                  [output]



                  commit 4c367108b370d57ce178863fed7640bb846d3186 (AUR/master, AUR-master)
                  Author: Alexander Peyser <apeyser@users.noreply.github.com>
                  Date: Thu Aug 23 17:16:42 2018 +0200

                  Update README

                  commit 4c635d65244bcb2a86a9da86d00007de96a23626 (tag: disper-0.3.1.1)
                  Author: Alexander Peyser <a.peyser@fz-juelich.de>
                  Date: Thu Aug 23 16:02:23 2018 +0200

                  apply XOpenDisplay return type patch

                  commit 01132563030b9230e8f007794c3269dd913c3052
                  Author: Alexander Peyser <a.peyser@fz-juelich.de>
                  Date: Thu Aug 23 16:17:07 2018 +0200

                  Update INSTALL and README

                  commit d0498b7892b36d183d09b3d905296ee7456ff24d (tag: disper-0.3.1)
                  Author: dev-disper@willem.engen.nl <>
                  Date: Tue Apr 23 12:01:43 2013 +0200

                  also update Debian version number


                  Three (3) new commits! The second one is the fixing patch.



                  Cherry-picking (what we want)



                  Switch to debian-master and branch a local version (to not confuse the merge with the upstreams),



                  git checkout debian-master
                  git checkout -b local


                  git cherry-pick 0113256..4c36710


                  [output]



                  [local d05e2bd] apply XOpenDisplay return type patch
                  Author: Alexander Peyser <a.peyser@fz-juelich.de>
                  Date: Thu Aug 23 16:02:23 2018 +0200
                  1 file changed, 12 insertions(+), 2 deletions(-)
                  error: could not apply 4c36710... Update README
                  hint: after resolving the conflicts, mark the corrected paths
                  hint: with 'git add <paths>' or 'git rm <paths>'
                  hint: and commit the result with 'git commit'


                  Of course we expected a merge conflict...



                  But did you really expect it to be only README? Let's fix it!



                  git mergetool # or, vimdiff README (or whatever)
                  diff -NaurbB README* --color
                  git cherry-pick --continue
                  rm README.orig


                  I merged in the nice new section of README and sanity checked, then continued with an unchanged commit message.



                  Bump the version



                  Identify where the version is kept,



                  rg 0.3.1 # or, grep -rn 0.3.1 (or whatever)
                  git blame debian/changelog


                  So you can add a dummy release section to debian/changelog (for your own record), or not.



                  vim debian/changelog
                  git add debian/changelog


                  I copied 0.3.1-3 to a new 0.3.1-4 section and wrote a few words.



                  Test it!



                  Does it work?



                  make <Tab>
                  make all -n
                  make install -n


                  Seems good to me. Let's install,



                  make all
                  sudo make install
                  ~~

                  Confirm that it works,

                  ~~~bash
                  disper -l


                  Let's commit and tag it (for future reference),



                  git commit -v
                  git tag local/0.3.1-4 -a


                  I really recommend a tag or something and a version bump. Be nice to future you.



                  Happy hacking.






                  share|improve this answer








                  New contributor




                  Yngman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  I can confirm the bug, too.



                  But good news! This seems extraordinarily easy to fix.



                  I generated a patched version (available on Github if interested),



                  git clone <URL>
                  cd disper
                  make all
                  sudo make install


                  But please don't unconditionally trust random sources (e.g. me).



                  Read below for a complete guide on how to do this for yourself, instead!



                  Cherry picking AUR into debian upstream



                  Cloning and adding remote



                  Clone the Debian source (source here),



                  git clone https://salsa.debian.org/python-team/applications/disper.git
                  cd disper


                  Add AUR upstream as remote,



                  git remote add AUR https://github.com/apeyser/disper
                  git fetch --all


                  git remote -v


                  [output]



                  AUR https://github.com/apeyser/disper (fetch)
                  AUR https://github.com/apeyser/disper (push)
                  origin https://salsa.debian.org/python-team/applications/disper.git (fetch)
                  origin https://salsa.debian.org/python-team/applications/disper.git (push)


                  Yes, they're different repositories -- not merely different branches -- but for this cherry-picking patch it's surprisingly convenient to just pretend, for a while.



                  Just don't merge the "branches" unless you have a good reason, lest you cause an unecessary mess.



                  Checking out the master's



                  "Rename" (create new branches) their respective master (for your own record),



                  git checkout -b AUR-master AUR/master
                  git checkout -b debian-master debian/master


                  [output]



                  Branch 'AUR-master' set up to track remote branch 'master' from 'AUR'.
                  Switched to a new branch 'AUR-master'
                  Switched to a new branch 'debian-master'


                  Sanity check on that,



                  git branch -vv


                  [output]



                   AUR-master 4c36710 [AUR/master] Update README
                  * debian-master e3ca840 d/control: Remove ancient X-Python-Version field
                  debian/master e3ca840 [origin/debian/master] d/control: Remove ancient X-Python-Version field


                  Seems good!



                  You can explore and view the differences like so,



                  git log --graph --decorate --oneline debian-master
                  git log --graph --decorate --oneline AUR-master
                  git diff debian-master AUR-master


                  Identifying new commits



                  What we're interested in is that this,



                  git log debian-master -1


                  [output]



                  commit e3ca840a48208a79a5c96da1bd9f6f1b845f5773 (HEAD -> debian-master, origin/debian/master, origin/HEAD, debian/master)
                  Author: Ondřej Nový <onovy@debian.org>
                  Date: Mon May 14 08:10:02 2018 +0200

                  d/control: Remove ancient X-Python-Version field


                  does not include the recent patch here,



                  git log AUR-master -4


                  [output]



                  commit 4c367108b370d57ce178863fed7640bb846d3186 (AUR/master, AUR-master)
                  Author: Alexander Peyser <apeyser@users.noreply.github.com>
                  Date: Thu Aug 23 17:16:42 2018 +0200

                  Update README

                  commit 4c635d65244bcb2a86a9da86d00007de96a23626 (tag: disper-0.3.1.1)
                  Author: Alexander Peyser <a.peyser@fz-juelich.de>
                  Date: Thu Aug 23 16:02:23 2018 +0200

                  apply XOpenDisplay return type patch

                  commit 01132563030b9230e8f007794c3269dd913c3052
                  Author: Alexander Peyser <a.peyser@fz-juelich.de>
                  Date: Thu Aug 23 16:17:07 2018 +0200

                  Update INSTALL and README

                  commit d0498b7892b36d183d09b3d905296ee7456ff24d (tag: disper-0.3.1)
                  Author: dev-disper@willem.engen.nl <>
                  Date: Tue Apr 23 12:01:43 2013 +0200

                  also update Debian version number


                  Three (3) new commits! The second one is the fixing patch.



                  Cherry-picking (what we want)



                  Switch to debian-master and branch a local version (to not confuse the merge with the upstreams),



                  git checkout debian-master
                  git checkout -b local


                  git cherry-pick 0113256..4c36710


                  [output]



                  [local d05e2bd] apply XOpenDisplay return type patch
                  Author: Alexander Peyser <a.peyser@fz-juelich.de>
                  Date: Thu Aug 23 16:02:23 2018 +0200
                  1 file changed, 12 insertions(+), 2 deletions(-)
                  error: could not apply 4c36710... Update README
                  hint: after resolving the conflicts, mark the corrected paths
                  hint: with 'git add <paths>' or 'git rm <paths>'
                  hint: and commit the result with 'git commit'


                  Of course we expected a merge conflict...



                  But did you really expect it to be only README? Let's fix it!



                  git mergetool # or, vimdiff README (or whatever)
                  diff -NaurbB README* --color
                  git cherry-pick --continue
                  rm README.orig


                  I merged in the nice new section of README and sanity checked, then continued with an unchanged commit message.



                  Bump the version



                  Identify where the version is kept,



                  rg 0.3.1 # or, grep -rn 0.3.1 (or whatever)
                  git blame debian/changelog


                  So you can add a dummy release section to debian/changelog (for your own record), or not.



                  vim debian/changelog
                  git add debian/changelog


                  I copied 0.3.1-3 to a new 0.3.1-4 section and wrote a few words.



                  Test it!



                  Does it work?



                  make <Tab>
                  make all -n
                  make install -n


                  Seems good to me. Let's install,



                  make all
                  sudo make install
                  ~~

                  Confirm that it works,

                  ~~~bash
                  disper -l


                  Let's commit and tag it (for future reference),



                  git commit -v
                  git tag local/0.3.1-4 -a


                  I really recommend a tag or something and a version bump. Be nice to future you.



                  Happy hacking.







                  share|improve this answer








                  New contributor




                  Yngman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  Yngman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 22 mins ago









                  YngmanYngman

                  1




                  1




                  New contributor




                  Yngman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  Yngman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  Yngman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • 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%2faskubuntu.com%2fquestions%2f1049452%2fdisper-l-on-18-04-generates-a-segmentation-fault-are-there-alternatives%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

                      Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                      Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                      Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»