openSUSE / branding

openSUSE branding for the distribution - both branding-openSUSE and branding-baseonopensuse
30 stars 40 forks source link

[openSUSE] Create script that scales GRUB based on framebuffer resolution #91

Closed hellcp closed 5 years ago

hellcp commented 6 years ago

/sys/devices/platform/efi-framebuffer.0/height and /sys/devices/platform/efi-framebuffer.0/width define height and width of the screen when in grub-efi (there exist device like this on bios, but I don't remember what it is). Based on that it's possible to write script that scales grub to sizes that are respecting screen resolution post install on system.

Likewise it would be nice to write clever enough script that is able to fit stuff on horizontal and vertical screen resolution (where boot menu on for example phone is almost full width and isn't like that on PC).

Phone