Felix Zielcke schrieb: > Am Mittwoch, den 20.08.2008, 01:44 -0700 schrieb Olaf Mandel: >> The resolution could be encoded in a variable in /etc/default/grub, e.g. >> GRUB_GEOMETRY. If the value of this is changed, the background picture >> might become unusable. Therefore it is necessary to create one if the >> picture in this resolution was not present before. Took the command >> (rsvg) for that from bug #465087. >> >> Missing in patch: >> * Clean up unneeded automatically created pictures in 05_debian_theme. >> * Automatically detect the correct panel resolution in update-grub. >> > Thanks for your report. > For the GRUB_GEOMETRY variable you introduced I already sent a patch > upstream, though I didn't received yet a comment about this yet. > This was requested in #493106 > Hello,
I don't care what the variable is called. But I think the default value (640x480) should be defined in update-grub, not in 00_header. Otherwise, it needs to be redefined in 05_debian_theme. Also, the default may be decided by calling one of the following: * vbetool vbefp panelsize * fbset -s | sed -n '/^ *geometry\( \+[0-9]\+\)\{5\} *$/s/.*y \+\([0-9]\+\) \+\([0-9]\+\) .*/\1x\2/p' I feel that these commands may be too long/cumbersome to put in the "user-visible" /etc/grub.d/* files. > For changing the default debian image, we have #495282 already. > So I really don't know what do with your report now, it's in between > these 2 reports. > Good point, especially the discussion about symlinks and different colors for different pictures. But the need to rescale the *.png or even automatically generate whatever size is needed seems to not have been touched there. For CRT users, this is no big difference, the picture will simply be scaled up to full screensize even in 640x480 mode. But for (some of us) TFT users, there is no automatic scaling, and the picture looks very small on the screen. I do not know how GRUB2 is _supposed_ to behave if the picture dimensions are smaller (different) from the resolution of the gfxmode. But at least on my machine it shows a far too small picture in the upper left corner. Of course, with the introduction of desktop-grub -> *.png in desktop-base, the scaling command needs to be adapted from rsvg to convert. Cheers, Olaf -- Olaf Mandel <[EMAIL PROTECTED]> <http://www.olaf.mandel.name/> PGP key: 1024D/33398848 2002-09-19 Fingerprint: 0E33 BEA6 1A71 9C5E 62BD FC0E 99A7 D2C6 3339 8848
signature.asc
Description: OpenPGP digital signature