Compiling on lubuntu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fph
    Veteran
    • Apr 2009
    • 1030

    #31
    @PopTart: could you try running your compiled Angband with

    SDL_VIDEODRIVER=wayland src/angband -msdl2

    and

    SDL_VIDEODRIVER=x11 src/angband -msdl2

    (careful, no space before and after the equal sign) to see if mouse support works in one of these combinations? Thanks!
    --
    Dive fast, die young, leave a high-CHA corpse.

    Comment

    • invisibletroll
      Apprentice
      • Jul 2020
      • 50

      #32
      Originally posted by fph
      @PopTart: could you try running your compiled Angband with

      SDL_VIDEODRIVER=wayland src/angband -msdl2

      and

      SDL_VIDEODRIVER=x11 src/angband -msdl2

      (careful, no space before and after the equal sign) to see if mouse support works in one of these combinations? Thanks!
      Both give

      Code:
      src/angband: Unable to prepare any 'display module'!
      on Lubuntu.

      Comment

      • invisibletroll
        Apprentice
        • Jul 2020
        • 50

        #33
        Originally posted by fph
        I can confirm that the mouse support works on vanilla Ubuntu; I have been using it in many version combinations. However, Lubuntu is a different beast than most linuxes, because it uses Wayland instead of X as its graphics stack.
        I haven't followed Ubuntu development that closely. I just know Wayland has been hyped a lot so from the old memory it would be obvious Wayland would be used in almost every distro. The devil is always in these damn details.

        Comment

        • PopTart
          Apprentice
          • May 2017
          • 89

          #34
          Originally posted by fph
          @PopTart: could you try running your compiled Angband with

          SDL_VIDEODRIVER=wayland src/angband -msdl2

          and

          SDL_VIDEODRIVER=x11 src/angband -msdl2

          (careful, no space before and after the equal sign) to see if mouse support works in one of these combinations? Thanks!
          What exactly do you mean by run it "with" that line? Does that go after the word angband? That doesn't follow the normal syntax of the command.

          Comment

          • PopTart
            Apprentice
            • May 2017
            • 89

            #35
            I should also mention that I'm running this on a Minix mini-computer.

            Comment

            • PopTart
              Apprentice
              • May 2017
              • 89

              #36
              Not sure if it was clear, I can navigate the menus with the mouse, but I click on an option, the menu disappears without carrying out the action.

              Comment

              • PopTart
                Apprentice
                • May 2017
                • 89

                #37
                Mystery solved

                The mouse that I use maps buttons weird, so the normal click doesn't register as such, while a different button registers as a click. Amazing.

                Comment

                • fph
                  Veteran
                  • Apr 2009
                  • 1030

                  #38
                  Originally posted by PopTart
                  What exactly do you mean by run it "with" that line? Does that go after the word angband? That doesn't follow the normal syntax of the command.
                  That line should be the whole command line. "SDL_VIDEODRIVER=wayland" comes before the name of the executable file and sets an environment variable; then src/angband is the name of the file to run (I am not sure how you usually run it; this could be just "angband" or "./angband" for you instead), and "-msdl2" is the argument you've been already using.

                  Anyhow, good to know you solved that issue!
                  --
                  Dive fast, die young, leave a high-CHA corpse.

                  Comment

                  • PopTart
                    Apprentice
                    • May 2017
                    • 89

                    #39
                    Originally posted by fph
                    That line should be the whole command line. "SDL_VIDEODRIVER=wayland" comes before the name of the executable file and sets an environment variable; then src/angband is the name of the file to run (I am not sure how you usually run it; this could be just "angband" or "./angband" for you instead), and "-msdl2" is the argument you've been already using.

                    Anyhow, good to know you solved that issue!
                    The wayland one says it's "not available"; the x11 one works the same as without specifying either one.

                    Comment

                    Working...
                    😀
                    😂
                    🥰
                    😘
                    🤢
                    😎
                    😞
                    😡
                    👍
                    👎