XCP-ng

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

    New XCP-ng "theme" in shell

    News
    11
    47
    6501
    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

      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
        • olivierlambert
          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" ๐Ÿ™‚

          borzel 1 Reply Last reply Reply Quote 0
          • borzel
            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
            • olivierlambert
              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
              • akurzawa
                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
                • olivierlambert
                  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 apayne 2 Replies Last reply Reply Quote 5
                  • olivierlambert
                    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.

                    Adde 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
                      • bnrstnr
                        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
                        • olivierlambert
                          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 MajorTom 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
                            • olivierlambert
                              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
                              • borzel
                                borzel XCP-ng Center Team ๐Ÿš๏ธ last edited by

                                I like the last result!

                                1 Reply Last reply Reply Quote 0
                                • MajorTom
                                  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
                                  • 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
                                            • First post
                                              Last post