pretty colors in gfxterm
Hi,
Is it possible to archieve a similar effect to what "color cyan/blue white/blue" does in grub legacy, but with grub2 gfxterm?
This setup has been the default in debian for a while, and we need to provide something similar if we don't want our users to miss the "blue thingy" during the big migration we're planning.
Ah yes, I forgot to mention we're planning a big migration :-). Here are the details:
http://wiki.debian.org/GrubTransition
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Robert Millan <[email protected]> writes:
Hi Robert,
Quoted 2 lines
Is it possible to archieve a similar effect to what "color cyan/blue white/blue" does in grub legacy, but with grub2 gfxterm?
You could implement a color command, which does the same as the color command in GRUB Legacy. All terminals have support for the color command. Although I am not really sure if it is completely compatible with what you are used to.
Although, it would be better to implement what Okuji proposed a while ago. Are you willing to work on this? It might be fun to do so :-).
Quoted 8 lines
This setup has been the default in debian for a while, and we need to provide something similar if we don't want our users to miss the "blue thingy" during the big migration we're planning.
Ah yes, I forgot to mention we're planning a big migration :-). Here are the details:
If having a color command means that GRUB 2 will be used more, I am willing to add such command. Okuji, do you object? But I am only willing to add this if the Debian people ensure me that they will switch to whatever fancy graphics system we implement in the future, when it is ready ;-).
--
Marco
Quoted 11 lines · Marco Gerards
Robert Millan <[email protected]> writes:
Hi Robert,
Quoted 2 lines
Is it possible to archieve a similar effect to what "color cyan/blue white/blue" does in grub legacy, but with grub2 gfxterm?
You could implement a color command, which does the same as the color command in GRUB Legacy. All terminals have support for the color command. Although I am not really sure if it is completely compatible with what you are used to.
Can you give some pointer to that?
Quoted 2 lines
Although, it would be better to implement what Okuji proposed a while ago. Are you willing to work on this? It might be fun to do so :-).
Willing yes, capable not. Lacking time and skill. Skill can still improve, but time.... :-/
Quoted 2 lines
If having a color command means that GRUB 2 will be used more, I am willing to add such command. Okuji, do you object?
Yes, I think so. But as said on IRC, I don't think the interface has to be a color command. As long as we can display something that is not uglier than "color cyan/blue white/blue" (and we don't have to wait ages untill the new fancy menu is ready), that's ok.
Quoted 4 lines
But I am only
willing to add this if the Debian people ensure me that they will switch to whatever fancy graphics system we implement in the future, when it is ready ;-).
I'm all for that, at least in desktops.
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 5 lines · Marco Gerards
If having a color command means that GRUB 2 will be used more, I am willing to add such command. Okuji, do you object? But I am only willing to add this if the Debian people ensure me that they will switch to whatever fancy graphics system we implement in the future, when it is ready ;-).
It would be nice to preserve the current grub legacy look when upgrading. Of course we'll use the new fancy graphics once done :-)
Signature · 8 lines
O T A V I O S A L V A D O R --------------------------------------------- E-mail: [email protected] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."
Quoted 2 lines · Robert Millan
Is it possible to archieve a similar effect to what "color cyan/blue white/blue" does in grub legacy, but with grub2 gfxterm?
Theoretically, of course. I didn't implement it, simply because I didn't think this was so important.
Quoted 8 lines
This setup has been the default in debian for a while, and we need to provide something similar if we don't want our users to miss the "blue thingy" during the big migration we're planning.
Ah yes, I forgot to mention we're planning a big migration :-). Here are the details:
I would say that this is still hard. Especially, I miss security-related features. They are easy to implement, but I postponed it, because I was planning to rewrite the menu code significantly. But I still don't get much time to perform this, and I have no idea on when I will be able to.
Besides that, it is really necessary to check what workarounds for buggy BIOSes are missing in GRUB 2. The current bootstrap code on PC is based on somewhere around GRUB 0.96, so it is a bit outdated.
Okuji
Quoted 6 lines · Robert Millan
Quoted 4 lines
You could implement a color command, which does the same as the color command in GRUB Legacy. All terminals have support for the color command. Although I am not really sure if it is completely compatible with what you are used to.
Can you give some pointer to that?
Basically, you only need to call setcolor on a terminal. It should just work fine.
Quoted 5 lines
Quoted 2 lines
Although, it would be better to implement what Okuji proposed a while ago. Are you willing to work on this? It might be fun to do so :-).
Willing yes, capable not. Lacking time and skill. Skill can still improve, but time.... :-/
I don't have much time, either, but I will refactor the menu code sooner or later. Once this is done, it wouldn't be too difficult to implement new intefaces for the menu.
Quoted 7 lines
Quoted 2 lines
If having a color command means that GRUB 2 will be used more, I am willing to add such command. Okuji, do you object?
Yes, I think so. But as said on IRC, I don't think the interface has to be a color command. As long as we can display something that is not uglier than "color cyan/blue white/blue" (and we don't have to wait ages untill the new fancy menu is ready), that's ok.
It is strange to me that you think white/black is ugly. For me, this looks so good. :p
Okuji
Quoted 10 lines · Yoshinori K. Okuji
Quoted 7 lines
Quoted 2 lines
If having a color command means that GRUB 2 will be used more, I am willing to add such command. Okuji, do you object?
Yes, I think so. But as said on IRC, I don't think the interface has to be a color command. As long as we can display something that is not uglier than "color cyan/blue white/blue" (and we don't have to wait ages untill the new fancy menu is ready), that's ok.
It is strange to me that you think white/black is ugly. For me, this looks so good. :p
It's green/black here (gfxterm), but still too bad for many users. If it was only for me, I couldn't care less. But users do generaly care a lot about aesthetics.
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 14 lines · Yoshinori K. Okuji
Quoted 6 lines · Robert Millan
Quoted 4 lines
You could implement a color command, which does the same as the color command in GRUB Legacy. All terminals have support for the color command. Although I am not really sure if it is completely compatible with what you are used to.
Can you give some pointer to that?
Basically, you only need to call setcolor on a terminal. It should just work fine.
Quoted 3 lines
Quoted 2 lines
Although, it would be better to implement what Okuji proposed a while ago. Are you willing to work on this? It might be fun to do so :-).
Quoted 6 lines
Quoted 2 lines
Willing yes, capable not. Lacking time and skill. Skill can still improve, but time.... :-/
I don't have much time, either, but I will refactor the menu code sooner or later. Once this is done, it wouldn't be too difficult to implement new intefaces for the menu.
Other (perhaps easier) options that would also improve the situation are "hiddenmenu" and splash image support.
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 6 lines · Robert Millan
Quoted 3 lines
I don't have much time, either, but I will refactor the menu code sooner or later. Once this is done, it wouldn't be too difficult to implement new intefaces for the menu.
Other (perhaps easier) options that would also improve the situation are "hiddenmenu" and splash image support.
I don't want to have ad-hoc features in GRUB 2. I have studied that ad-hoc harms.
Okuji
Quoted 10 lines · Yoshinori K. Okuji
Quoted 6 lines · Robert Millan
Quoted 3 lines
I don't have much time, either, but I will refactor the menu code sooner or later. Once this is done, it wouldn't be too difficult to implement new intefaces for the menu.
Other (perhaps easier) options that would also improve the situation are "hiddenmenu" and splash image support.
I don't want to have ad-hoc features in GRUB 2. I have studied that ad-hoc harms.
Sorry but I didn't get what you mean by 'ad-hoc features' here. Can you elaborate it, please?
Signature · 8 lines
O T A V I O S A L V A D O R --------------------------------------------- E-mail: [email protected] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."
Quoted 10 lines · Yoshinori K. Okuji
Quoted 6 lines · Robert Millan
Quoted 3 lines
I don't have much time, either, but I will refactor the menu code sooner or later. Once this is done, it wouldn't be too difficult to implement new intefaces for the menu.
Other (perhaps easier) options that would also improve the situation are "hiddenmenu" and splash image support.
I don't want to have ad-hoc features in GRUB 2. I have studied that ad-hoc harms.
I tend to agree, but it doesn't necessarily have to be a "hiddenmenu" command. It can be a "set hiddenmenu=1" variable, or whatever. Is that what you meant?
Signature · 4 lines
Robert Millan My spam trap is [email protected]. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
Quoted 6 lines · Otavio Salvador
Quoted 5 lines · Yoshinori K. Okuji
Quoted 4 lines · Robert Millan
Quoted 3 lines
I don't have much time, either, but I will refactor the menu code sooner or later. Once this is done, it wouldn't be too difficult to implement new intefaces for the menu.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Other (perhaps easier) options that would also improve the situation are "hiddenmenu" and splash image support.
I don't want to have ad-hoc features in GRUB 2. I have studied that ad-hoc harms.
Sorry but I didn't get what you mean by 'ad-hoc features' here. Can you elaborate it, please?
Features, which are not fully examined if they are generic, flexible and extensible, are all ad-hoc. As I said in this list some times, I believe that the user must be able to fully control how a menu (or a different kind of user interface) should be displayed and provided, and style sheet support meets this requirement. Of course, Marco's idea about more scripting-based approach is also good, but I feel that this is rather overkill at the moment.
Regardless of whichever way we will select, the user must be able to control the appearance as much as possible arbitrarily and easily. Hiding a menu or putting a background image is just a part of this kind of framework, so they must not be implemented independently. Otherwise, we will have a pain of keeping backward compatibilty for such ad-hoc features.
Think about HTML and CSS. If HTML were designed only for implementing logical data at the beginning, browsers could have been much simpler and less bloated. HTML is so shabby, because it was not well designed. Browsers have to support CSS as well as legacy attributes, and HTML still contains some formatting information (such as the rendering effect of newline). All of these are causing a lot of problems indeed.
Okuji
Quoted 9 lines · Yoshinori K. Okuji
Quoted 2 lines
Sorry but I didn't get what you mean by 'ad-hoc features' here. Can you elaborate it, please?
Features, which are not fully examined if they are generic, flexible and extensible, are all ad-hoc. As I said in this list some times, I believe that the user must be able to fully control how a menu (or a different kind of user interface) should be displayed and provided, and style sheet support meets this requirement. Of course, Marco's idea about more scripting-based approach is also good, but I feel that this is rather overkill at the moment.
Ok, I agree with you.
Signature · 8 lines
O T A V I O S A L V A D O R --------------------------------------------- E-mail: [email protected] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."