Hi guys, as I were messing with grub2 I found out it has awesome theming capabilities. For further use we should provide some cool branding to make it look really pretty for our users. See in the url some user-made stuff (where i could not find any license sadly but it is spin-off the archlinux artwork).
(In reply to comment #0) > Hi guys, as I were messing with grub2 I found out it has awesome theming > capabilities. > > For further use we should provide some cool branding to make it look really > pretty for our users. That would indeed be nice. > See in the url some user-made stuff (where i could not find any license sadly > but it is spin-off the archlinux artwork). Please make sure to not pull in any bits with unclear licensing when producing grub2 artwork yourself. You'd only end up with things we cannot officially promote and that doesn't help anyone. It may be worth to contact the author of that overlay on licensing though.
I dunno how to create it and be sure i have no graphical skills, but i think we can use sabayon guys here. :)
if a proper theme is done, then it can simply be added to the ebuild. cc base-system when that point comes ...
i'd like to note that a grub2 theme that is consistent with plymouth's gentoo theme would be awesome.
can anyone enlighten me why it is impossible to click the URL field of this bug? full URL shows up only in tooltip.
(In reply to comment #5) > can anyone enlighten me why it is impossible to click the URL field of this > bug? full URL shows up only in tooltip. Interesting question, probably it is not interpreted as url due to that q=
Created attachment 273845 [details] broken theme screenshot that link works better. i downloaded it and got my grub to display it in a vm, but something seems to be wrong. menu is totally off, otoh cmd terminal graphics are fine. is this how it is supposed to look right now?
This theme is not to be used anyway. It has no clear licensing, I added it to URL so we can see how is such thing like grub2 theme created.
Created attachment 273851 [details] initial working theme example it looks like position = (x, y) and themsuch isn't supported. http://www.gnu.org/software/grub/manual/grub.html#Theme-file-format but i've got something now that works, attached.
Created attachment 273853 [details] working screenshot
Created attachment 273873 [details] theme with circular progress this has a timeout indicator put back in. i'm going to leave it at this for more skilled people to pick up. i'd appreciate info how to make a selection bar for menuitems.
Created attachment 273875 [details] theme with circular progress screenshot
Leho, nice work so far. Two things: - So far I see screenshots only. Where can we find the actual theme including images <gentoodark.png>, <gentoocenter.png>, <tick.png> and their sources (Inkscape?) - If I am not mistaken the Gentoo logo in the background looks like that by Matteo 'Peach' Pescarin published at <http://peach.smartart.it/illustration/gentoo-logo-vector> If that's the source, at least the images containing that logo will need to be licensed under CC-BY-SA/2.5, or the whole theme ideally. I don't see a problem with that, though. Thanks, Sebastian
click the URL link of this bug :) looks like it's someone's personal overlay. my effort is just a works-for-me approach and to get something better, free of all licensing and whatnot (my graphical unprofessionalism included) issues, kickstarted. looking around for information i did notice that not much is out there so far in terms of pure grub2-compatible stuff. ubuntu people have taken to BURG instead, it seems. but anyway, hopefully wheels start turning on this.
Created attachment 285003 [details] Gentoo theme based on Ubuntu Lucid theme Here is a working theme I created using the Ubuntu Lucid grub theme as a starting point. A license is included in the theme text. Working with 1.99-r1. Unzip this to /boot/grub2/themes and update your /etc/default/grub to include these lines GRUB_GFXMODE=1024x768 GRUB_THEME=/boot/grub2/themes/gentoo2/theme.txt Next you need to run grub2-mkconfig -o /boot/grub2/grub.cfg This will create a new grub.cfg here is my grub.cfg for anyone who may have any problems # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root a5c33bd1-350e-4da3-a9a1-e3da2dffd12f if loadfont /usr/share/grub2/unicode.pf2 ; then set gfxmode=1024x768 load_video insmod gfxterm fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root a5c33bd1-350e-4da3-a9a1-e3da2dffd12f insmod gfxmenu loadfont ($root)/boot/grub2/themes/gentoo2/dejavu_mono_14.pf2 loadfont ($root)/boot/grub2/themes/gentoo2/dejavu_sans_14.pf2 loadfont ($root)/boot/grub2/themes/gentoo2/dejavu_sans_bold_14.pf2 insmod png set theme=($root)/boot/grub2/themes/gentoo2/theme.txt if sleep --interruptible 0 ; then set timeout=10 fi play 480 440 1 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/02_linux ### menuentry 'GNU/Linux, with Linux 3.0.3-gentoo' --class gnu-linux --class gnu --class os { load_video insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root a5c33bd1-350e-4da3-a9a1-e3da2dffd12f echo 'Loading Linux 3.0.3-gentoo ...' linux /boot/kernel-3.0.3-gentoo root=/dev/ram0 init=/linuxrc ramdisk_size=8192 real_root=/dev/sda1 udev video=vesafb:mtrr:3,ywrap splash=silent,theme:natural_gentoo console=tty1 quiet echo 'Loading initial ramdisk ...' initrd /boot/initramfs-3.0.3-gentoo set gfxpayload=1024x768x16 } menuentry 'GNU/Linux, with Linux 3.0.1-gentoo' --class gnu-linux --class gnu --class os { load_video insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root a5c33bd1-350e-4da3-a9a1-e3da2dffd12f echo 'Loading Linux 3.0.1-gentoo ...' linux /boot/kernel-3.0.1-gentoo root=/dev/ram0 init=/linuxrc ramdisk_size=8192 real_root=/dev/sda1 udev video=vesafb:mtrr:3,ywrap splash=silent,theme:natural_gentoo console=tty1 quiet echo 'Loading initial ramdisk ...' initrd /boot/initramfs-3.0.1-gentoo set gfxpayload=1024x768x16 } menuentry 'GNU/Linux, with Linux 2.6.39-gentoo-r3' --class gnu-linux --class gnu --class os { load_video insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root a5c33bd1-350e-4da3-a9a1-e3da2dffd12f echo 'Loading Linux 2.6.39-gentoo-r3 ...' linux /boot/kernel-2.6.39-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk_size=8192 real_root=/dev/sda1 udev video=vesafb:mtrr:3,ywrap splash=silent,theme:natural_gentoo console=tty1 quiet echo 'Loading initial ramdisk ...' initrd /boot/initramfs-2.6.39-gentoo-r3 set gfxpayload=1024x768x16 } ### END /etc/grub.d/02_linux ### ### BEGIN /etc/grub.d/08_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### Example genkernel entry #menuentry 'GNU/Linux, with Linux 3.0.3-gentoo' --class gnu-linux --class gnu --class os { # load_video # insmod gzio # insmod part_msdos # insmod ext2 # set root='(hd0,msdos1)' # search --no-floppy --fs-uuid --set=root a5c33bd1-350e-4da3-a9a1-e3da2dffd12f # echo 'Loading Linux 3.0.3-gentoo ...' # linux /boot/kernel-3.0.3-gentoo root=/dev/ram0 init=/linuxrc ramdisk_size=8192 real_root=/dev/sda1 udev video=vesafb:mtrr:3,ywrap splash=silent,theme:natural_gentoo console=tty1 quiet # initrd /boot/initramfs-3.0.3-gentoo # set gfxpayload=1024x768x16 #} menuentry 'MS Windows NT, with Windows 7 Ultimate 64' { insmod part_msdos insmod ntfs insmod chain set root='(hd2,msdos1)' drivemap -s hd0 hd2 search --no-floppy --fs-uuid --set=root 98EC324BEC3223C2 chainloader +1 } ### END /etc/grub.d/08_custom ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ###
what format is that attachment in, browser is unable to correctly render it from text/plain.
Sorry, didn't mark it when I created it. It;s a tar.gz file. Untar and the theme is inside
Comment on attachment 285003 [details] Gentoo theme based on Ubuntu Lucid theme Changed MIME type.
Comment on attachment 285003 [details] Gentoo theme based on Ubuntu Lucid theme Still broken here.
How is it broken, Please post your emerge info
Comment on attachment 285003 [details] Gentoo theme based on Ubuntu Lucid theme tar -zxvf gentoo2.tar.gz tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors
Created attachment 285079 [details] Gentoo theme based on Ubuntu Lucid theme I have added this again, please let me knop if there are any problems. The format is plain zip.
how about a screenshot/photo of the theme? i'll be able to get a shot out of a VM not earlier than tonight.
Created attachment 285085 [details] gentoo2-screenshot.png
Glad that you were able to take a screenshot. How did you do it? I started trying last night by installing fedora in a vm but the fedora grub 2 package is 1.98 and seems broken.
Created attachment 285211 [details] Natural Gentoo Grub2 Theme Here is another theme I have made which is based on the Natural Gentoo Splash Enjoy
Created attachment 285213 [details] Natural Gentoo Grub2 Theme Screenshot
Well, it seems that now grub2 was marked as stable on amd64 - so I thought it was time to bump this 2-year-and-a-half-long thread/bug about an official grub2 gentoo theme. In the meantime, I am going to settle with fixing the one with an unknown license (a.k.a public domain). I've uploaded it here earlier (needed grub2 for an EFI computer), so that others can enjoy it too: https://github.com/CMoH/grub2-theme-gentoo Follow the readme to get some nice ebuilds from my personal overlay.
Created attachment 361278 [details] Screenshot of media-gfx/grub2-theme-gentoo And a screenshot of the fixed theme.
ping on this!