XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    New XCP-ng "theme" in shell

    News
    11
    47
    6615
    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.
    • P
      peder
      last edited by

      Last suggestion.
      Replacing the current /usr/lib64/xsconsole/XConsoleConfig.py values with the ones in the insert gives something like below.
      It accents the red/brownish color seen on the website.

      xcpng.jpg

      1 Reply Last reply Reply Quote 0
      • olivierlambertO
        olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
        last edited by

        Hi @peder thanks but it's not like this you respect a theme color 😉 Take the hex color code from XCP-ng logo (eg the "red" which isn't red 😛 ), then convert it to RGB (on 255), and after this, convert it to RGB on a base 1000 (color used by curse library).

        Then, as long as you respect the ration between R,G and B, you can raise or reduce the number (again, keeping the ratio) to get darker or lighter result.

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

          @olivierlambert The actual values I posted aren't that important, it was the overall look I was going for.

          I don't have commit rights to anything so I can only come up with ideas.
          If you decide to use your colors I can't do anything about it, except for modifying my own copy of the program, and if you choose to go with my suggestion you can adjust any specific value to taste and theme-fidelity.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO
            olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
            last edited by

            We'll see in the future to have a config file easily editable and maybe preconfigured "themes" 🙂

            borzelB 1 Reply Last reply Reply Quote 0
            • borzelB
              borzel XCP-ng Center Team 🏚️ @olivierlambert
              last edited by

              @olivierlambert colors and themes are always the most important features in software 😉

              1 Reply Last reply Reply Quote 0
              • olivierlambertO
                olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
                last edited by olivierlambert

                Yeah despite xsconsole is far from being the main entry point to manage XS/XCP-ng, it seems people are very touchy about changing anything there 😛

                1 Reply Last reply Reply Quote 1
                • akurzawaA
                  akurzawa
                  last edited by

                  little off-top, any one know how to prevent status screen from going blank? I would like to see those information all the time

                  1 Reply Last reply Reply Quote 1
                  • olivierlambertO
                    olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
                    last edited by

                    Less yellowish terminal to use less different colors and keeping the variations in the logo:

                    5.png

                    S apayneA 2 Replies Last reply Reply Quote 5
                    • olivierlambertO
                      olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
                      last edited by

                      @akurzawa maybe try setterm -blank 0 -powerdown 0 but I have no idea if it will work.

                      AddeA 1 Reply Last reply Reply Quote 0
                      • S
                        snowstruk @olivierlambert
                        last edited by

                        @olivierlambert I like this one the best so far. I like how there is a lot less red, but still some there.

                        1 Reply Last reply Reply Quote 0
                        • bnrstnrB
                          bnrstnr
                          last edited by

                          I can't believe this is even a thing. How much time are people spending on this screen?! lol

                          1 Reply Last reply Reply Quote 0
                          • olivierlambertO
                            olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
                            last edited by

                            @snowstruk I think it's the best balance between making a "brand" on XCP-ng and usability.

                            But as @bnrstnr suggest, yeah I'm still surprised there is so much debate on it for something nobody use a lot (I mean, who's really using this UI to do operations outside reboot or read IP address?)

                            S MajorTomM 2 Replies Last reply Reply Quote 0
                            • S
                              snowstruk @olivierlambert
                              last edited by

                              @olivierlambert It just shows that people are passionate about this project.

                              In the end you cannot make everyone happy, but since you are seeking feedback I will provide my 2 cents.

                              1 Reply Last reply Reply Quote 0
                              • olivierlambertO
                                olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
                                last edited by

                                Indeed 🙂 And the feedback reduced the amount of "red", for the best I suppose. Constructive criticism is always good 🙂

                                1 Reply Last reply Reply Quote 1
                                • borzelB
                                  borzel XCP-ng Center Team 🏚️
                                  last edited by

                                  I like the last result!

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

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

                                    (I mean, who's really using this UI to do operations outside reboot or read IP address?)

                                    Me is.

                                    1 Reply Last reply Reply Quote 0
                                    • olivierlambertO
                                      olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼
                                      last edited by

                                      Feel free to explain your use cases, I'm interested 🙂

                                      MajorTomM 1 Reply Last reply Reply Quote 0
                                      • stormiS
                                        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
                                        • MajorTomM
                                          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
                                          • olivierlambertO
                                            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

                                            MajorTomM 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post