On Tue, Apr 24, 2012 at 09:43:59PM +0200, Bruno Friedmann wrote:
On Tuesday 24 April 2012 12.53:04 Michael Chang wrote:
On Mon, Apr 23, 2012 at 12:29:34PM +0200, Bruno Friedmann wrote:
On Wednesday 18 April 2012 14.37:24 Michael Chang wrote:
TODOs
* Graphical boot menu:
Current plan is
1. list of all modes and use highest (from fbresolution or vbemode output) as default, for selection in options dialog 2. use background image (instead of grub2's theme), default to the path of opensuse background .. need to decide the path and the art work, or could we reuse any Polymouth image, Raymond ?
For 1, the concern for me is that fbresoltuin make yast2 bootloader to depend on splash package and vbemode may not detect some special native mode (but we can reuse vgamode in yast for detecting the modes).
Michael,
New artwork will available soon in factory.
I made some reflexion this week-end and also wait the feedback about getting png as default format for default wallpaper
If we move to this format then plymouth and grub2 will be able to pick those.
Now we have to select the best ratio image 4:3,5:4,16:9,16:10 so extending or shrinking the image will keep a nice aspect ...
Thanks a lot for heading up this. To get those new arts I need to git-pull the arts git repo or they will be packaged ?
My idea would be to create a simple way to select which image to take from an array of resolution and picking the right one according to fbresolution output I believe we should do it with bash as the most low level tools available at install time? Any ideas or comments?
I think we did need to have helper scripts for handling these, and these scripts should packaged together with the images, perhaps a subpackage of grub2 and name grub2-gfxterm-backgrounds ..
We can name these images files to follow a template and create them under /boot/grub2/background/
/ - .(png|jpg) /boot/grub2/background/Polymouth/default-1024x768.png /boot/grub2/background/Polymouth/default-800x600.png .. .. /boot/grub2/background/openSUSE/default-1024x768.png /boot/grub2/background/openSUSE/default-800x600.png
And the helper scripts should help in listing and getting appropriate backgrounds for us ..
$ grub2-background --list-all Polymouth openSUSE $ grub2-background --get Polymouth --res `fbresolution` /boot/grub2/background/openSUSE/1024x768.png
PS. output mose close aspect ratio image per the input res
Maybe better approach would be see if any free desktop specs we can follow, but I'm not familiar with that to be honest.
In the next few days, I will try to trick one factory install here, and see if plymouth is able to work with a linked png (but I'm pretty sure we will have to patch mkinitrd to copy not the link but the link destination)
ps : for grub2 unfortunately, the selected image has to be copied in /boot otherwise luks / will not allow grub2 to use it. I believe it's too complicated and less errors proof to try to do that only if / is encrypted, cause /usr can also be separate and encrypted too. So better to have only one rules
Yes. I agree put the images in /boot for all the circumstances, as these images has to be accessed in pre-os stage, the best place for them would be /boot.
ps2 : If you need the artwork png for test for grub2 and plymouth you can pick a demo here http://dl.dropbox.com/u/13333867/openSUSE/default-1280x1024.png http://dl.dropbox.com/u/13333867/openSUSE/default-1600x1200.png http://dl.dropbox.com/u/13333867/openSUSE/default-1920x1080.png http://dl.dropbox.com/u/13333867/openSUSE/default-1920x1200.png
Thanks .. I downloaded these pictures. :)
ps3 : Once we know what we want for plymouth branding and grub2 branding, then we will add them to gitorious/art repository and also modify the Base:System:opensuse-branding package
The set-able options for gfxterm would have to be divided into three parts
1. toggle on/off gfxconsole checkbox 2. resolution combo box, list all available res, default to native 3. background combo box, list all availbe backgrounds, defalut to "Polymouth".
Item 3 should be what we are discussing now, and would be great to know the proposing here is make sense to go and I (or any one volunteer) could start to work on that.
Thanks, Michael
You give me some nice clue, With what is actually existing in -art repository I think there's something possible the way you describe.
Just on point, grub2 is able to resize background normally so to limit the place used in /boot I would release one picture by ratio type and use symlink to the different resolution ...
Don't bother to create links for different resolution (I believe it would be tedious work as we know how many current display supports). Just name the pictures with associcated ratio is fine, let the script to calc and pick the most feasible one for resolution. :)
Also I think the default will be branding-openSUSE (to stay in line with the rest of the branding) plymouth getting a proper openSUSE-branding based on the default wallpaper (which then has to be migrated to png see my other mails)
Yes. In branding-openSUSE is better and makes scence. I use grub2 subpackage is for example and in case no one could help in branding package (I prefer branding package as well). However a grub2 subpackage could be good place for upstream's themes (starfield). We might have not enough time working on openSUSE grub2 theme but would be great to have this upstream one in our distro.
So what I can propose, is trying to build the directory layout, put the stuff in it and then start to check how it behave with your own development ...
Yes. Please let me know what's the layout looks like. I'd expect that's like what we discussed so far. That is they'll be put under /boot/grub2/backgrounds folder and named by aspect ratio. If so that would be no big problem for me as far as I can see.
In parallel, I will start preparing grub2 in the gitorious -art repository and adjust script there to have it build with the rest of the branding ...
Sound good for you?
Yes. Btw I've also started working on gfx menu support on yast. Let's see. :). Thanks, Michael
-- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch
openSUSE Member & Ambassador GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org