New XCP-ng "theme" in shell
-
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.
-
@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. -
We'll see in the future to have a config file easily editable and maybe preconfigured "themes"
-
@olivierlambert colors and themes are always the most important features in software
-
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 -
little off-top, any one know how to prevent status screen from going blank? I would like to see those information all the time
-
Less yellowish terminal to use less different colors and keeping the variations in the logo:
-
@akurzawa maybe try
setterm -blank 0 -powerdown 0
but I have no idea if it will work. -
@olivierlambert I like this one the best so far. I like how there is a lot less red, but still some there.
-
I can't believe this is even a thing. How much time are people spending on this screen?! lol
-
@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?)
-
@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.
-
Indeed And the feedback reduced the amount of "red", for the best I suppose. Constructive criticism is always good
-
I like the last result!
-
@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.
-
Feel free to explain your use cases, I'm interested
-
Users of the 8.0.0 beta can now update and will get the new prompt and new console.
-
@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?
-
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
-
@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