XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    New XCP-ng "theme" in shell

    News
    11
    47
    6499
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • olivierlambert
      olivierlambert Vates ๐Ÿช Co-Founder๐Ÿฆธ CEO ๐Ÿง‘โ€๐Ÿ’ผ last edited by

      Feel free to explain your use cases, I'm interested ๐Ÿ™‚

      MajorTom 1 Reply Last reply Reply Quote 0
      • stormi
        stormi Vates ๐Ÿช XCP-ng Team ๐Ÿš€ last edited by

        Users of the 8.0.0 beta can now update and will get the new prompt and new console.

        1 Reply Last reply Reply Quote 1
        • MajorTom
          MajorTom @olivierlambert last edited by

          @olivierlambert said in New XCP-ng "theme" in shell:

          Feel free to explain your use cases, I'm interested ๐Ÿ™‚

          To observe Host Performance Information, VMs' performance info, stop and start VMs, especially before and after a host reboot.

          Especially being in the server room. There I use a physical console with a keyboard/video switch, not a workstation with a browser. Also, while working in a server room I don't seat near the display all the time and I must have a look from a side or from a larger distance.

          Besides, it's usually faster for me to ssh somewhere than to make a series of tunnels to access the destination with a browser or XCP-ng Center. So also when ssh-ing, xsconsole is handy.

          Having a legible xsconsole is important for me.

          Especially on some new host, on which xsconsole use only a small fraction of the physical display and the characters are very small.

          Do you know how I can configure Dom0 to have normal tty with 24 rows and 80 columns, so that xsconsole occupy all the physical display?

          1 Reply Last reply Reply Quote 0
          • olivierlambert
            olivierlambert Vates ๐Ÿช Co-Founder๐Ÿฆธ CEO ๐Ÿง‘โ€๐Ÿ’ผ last edited by

            OK, but why not using xe CLI? I mean, it's faster and you can get exactly what you need without moving the cursor in ncurse info?

            Regarding the size, feel free to take a look at the source, it's written in Python ๐Ÿ™‚ https://github.com/xenserver/xsconsole

            MajorTom 1 Reply Last reply Reply Quote 0
            • MajorTom
              MajorTom @olivierlambert last edited by

              @olivierlambert said in New XCP-ng "theme" in shell:

              OK, but why not using xe CLI?

              Sometimes I use xe, sometimes XCP-ng Center, sometimes xsconsole.

              I mean, it's faster and you can get exactly what you need without moving the cursor in ncurse info?

              Typing tens of characters is not faster than pressing a few keys (like arrow, arrow, enter).
              Especially standing at a not familiar keyboard in a server room.

              Regarding the size, feel free to take a look at the source, it's written in Python ๐Ÿ™‚ https://github.com/xenserver/xsconsole

              This question is not only pertaining xsconsole.

              I tried various things, but the most what I achieved was during the boot phase. After this, the CLI resolution reverts to very small characters again ๐Ÿ˜ž

              1 Reply Last reply Reply Quote 0
              • P
                peder last edited by

                Unless it's an environmental decision to make the xsconsole as dim and washed out as possible, to save power, my humble suggestion would be to multiply the fgBright values by 1.249 to get 999,431,372, if my math is correct, and set fgNormal to something like 930,930,930

                fgDark could either remain at its current values or be set to fbBright

                1 Reply Last reply Reply Quote 0
                • olivierlambert
                  olivierlambert Vates ๐Ÿช Co-Founder๐Ÿฆธ CEO ๐Ÿง‘โ€๐Ÿ’ผ last edited by

                  Feel free to try on your install and use screenshot to show the diff ๐Ÿ™‚

                  1 Reply Last reply Reply Quote 0
                  • P
                    peder last edited by

                    I did do it on my install, that's why I'm suggesting it.
                    The default values made me thing I had a semi-transparent film all over my display.

                    My install is on a physical machine (a laptop) so I don't know how I'd take a proper screenshot.
                    I don't think a phone photo would show the difference.

                    1 Reply Last reply Reply Quote 0
                    • apayne
                      apayne @olivierlambert last edited by

                      @olivierlambert I think this is probably the most sensible of the schemas so far.
                      The dark background reduces glare, text is high-contrast, and the red actually draws the eye as a highlight or accent color. Looks sharp!

                      1 Reply Last reply Reply Quote 2
                      • Adde
                        Adde @olivierlambert last edited by

                        @olivierlambert
                        This one look the best ๐Ÿ™‚

                        1 Reply Last reply Reply Quote 1
                        • olivierlambert
                          olivierlambert Vates ๐Ÿช Co-Founder๐Ÿฆธ CEO ๐Ÿง‘โ€๐Ÿ’ผ last edited by olivierlambert

                          Thanks for your input!

                          I think it might be the one then ๐Ÿ™‚ Also, if there is a big problem with it, we can always update the package!

                          1 Reply Last reply Reply Quote 2
                          • First post
                            Last post