[HN Gopher] A Grub theme in the style of Minecraft
       ___________________________________________________________________
        
       A Grub theme in the style of Minecraft
        
       Author : sijmen
       Score  : 347 points
       Date   : 2023-07-18 13:38 UTC (9 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | jamesfmilne wrote:
       | On Rocky Linux 8, I had to change GRUB_TERMINAL_OUTPUT to
       | "gfxterm", then it would pickup the GRUB_THEME value.
       | 
       | My kid uses Grub all the time to reboot into Windows to play
       | Minecraft Bedrock Edition, this will boggle his mind.
        
         | weberer wrote:
         | >reboot into Windows to play Minecraft Bedrock Edition
         | 
         | And thus the "Extinguish" step is complete.
        
           | ghqst wrote:
           | There are launchers on Flathub and Lutris for playing Bedrock
           | Edition on Linux, but at the end of the day it _was_
           | originally called Minecraft Windows 10 Edition.
        
           | doublepg23 wrote:
           | Noted open source application...Minecraft?
        
             | nix0n wrote:
             | Originally built on Java
        
             | circuit10 wrote:
             | The Java Edition is almost shared source as they've
             | intentionally made it easy to decompile
        
         | dm319 wrote:
         | My kids use the Linux bedrock launcher (unofficial). It's often
         | a bit behind the latest release, but it runs much smoother than
         | on Windows IMO.
         | 
         | https://github.com/minecraft-linux/appimage-builder/releases...
        
       | [deleted]
        
       | 654wak654 wrote:
       | This is pretty cool! Already downloaded & installed it.
        
       | andrewstuart2 wrote:
       | I misread this as "Microsoft Grub Theme" and was definitely
       | interested in the irony. This is super fun, though, and
       | impressive. I didn't know you could do all this in a grub theme.
        
       | okibry wrote:
       | Super cool !
        
       | dartvox wrote:
       | [dead]
        
       | mrrsm wrote:
       | I like the fact there are multiple splash tags even though "I use
       | Arch BTW" is a great one.
        
         | maxbaines wrote:
         | I like the fact this is number one, on hn right now.
        
         | jehb wrote:
         | For anyone else looking for the whole list, here it is:
         | 
         | https://github.com/Lxtharia/minegrub-theme/blob/main/resourc...
        
           | sdflhasjd wrote:
           | Totally missing "`date '+%Y'`: the year of the linux desktop"
        
         | queuebert wrote:
         | "Now with Rust" hits hard.
        
         | quantumstar4k wrote:
         | personally I'm a fan of "12345 is a bad password!" and "pls
         | fix"
        
       | cwillu wrote:
       | The original title from the document less ambiguously describes
       | the content: "A Grub Theme in the style of Minecraft!"
        
       | the_gipsy wrote:
       | Now someone needs to write a renderer so that the world-
       | background camera also spins around!
        
         | XzAeRosho wrote:
         | Is that even possible in Grub? Last time I checked there was a
         | tool called "Burg" that would animate backgrounds like a gif,
         | but otherwise it was very clunky and not a great experience.
        
         | cyber_kinetist wrote:
         | It would be a pretty fun project to write a CPU software
         | rasterizer that works in UEFI... (Obviously GPUs are out of the
         | question, but it might be possible to use multiple CPU cores)
        
           | circuit10 wrote:
           | Just scrolling a panorama along would probably look good
           | enough
           | 
           | I think the real game uses a cubemap so the camera is inside
           | a cube with six textured faces which I guess should be easy
           | enough to render if you wanted to do it properly
        
           | PlutoIsAPlanet wrote:
           | systemd-ueficpuzd
        
       | j1elo wrote:
       | Naturally, the project couldn't miss having a "bug" report which
       | asks _to move the code to a different Git host_.
       | 
       | https://github.com/Lxtharia/minegrub-theme/issues/18
       | 
       | I get the ideals are on point, but it doesn't look like the place
       | to campaign about it.
       | 
       | Hopefully the author doesn't have any anxiety or issue about
       | politely saying " _The issue description doesn 't look to me like
       | a bug in my code._" and closing it.
        
         | circuit10 wrote:
         | I agree that that's a bit annoying but it is normal to use the
         | Issues tab for feature requests and things like that. I guess
         | that's why it's called Issues instead of Bugs
        
         | netsharc wrote:
         | I'm reminded of the time when some kid wrote a script to crawl
         | GitHub and create issues[1] about using inclusive language...
         | except it was really dumb, for example:
         | https://github.com/trekhleb/javascript-algorithms/pull/875/f...
         | 
         | [1] E.g.: https://github.com/EbookFoundation/free-programming-
         | books/pu...
        
       | coffeebeanHH wrote:
       | Looks awesome!
       | 
       | I'll go get that later for my machine
        
       | jessep wrote:
       | Ummmm ... what is grub? Didn't see any links to it from the three
       | random grub2 repos I looked at.
        
         | i80and wrote:
         | GRUB is a common bootloader for Linux systems: it gives you a
         | menu of boot options when you turn on your machine, and boots
         | whichever installed operating system you choose.
         | 
         | So with this theme, that menu for choosing which OS to boot
         | looks like the Minecraft menu!
        
           | jessep wrote:
           | Thanks!
        
         | [deleted]
        
         | [deleted]
        
       | lukeocodes wrote:
       | How do you know someone is ~vegan~ on ARCH? Don't worry, they'll
       | tell you.
       | 
       | /s
        
       | dirkc wrote:
       | It's been so long since I've battled grub configs that my first
       | thought was that this is a minecraft theme making things look
       | like food (grub).
        
       | MegaDeKay wrote:
       | This is really nice but I think I'll stick to this Fallout theme.
       | 
       | https://github.com/shvchk/fallout-grub-theme/tree/master
       | 
       | What is your favorite?
        
       | marginalia_nu wrote:
       | I somehow read the title as a grub-themed minecraft and man was I
       | ever confused.
        
         | BHSPitMonkey wrote:
         | I prefer the gameplay with the lilo skin enabled, personally
        
       | deutschepost wrote:
       | Maybe a bit off topic, but does anyone know about themes or GUIs
       | for LUKS password entry? The command line version has pretty
       | unintuitive behaviour for family members which are used to modern
       | GUIs.
        
         | doublepg23 wrote:
         | Yeah go echo a below comment, unless something is broken Ubuntu
         | and Fedora both do this already.
        
         | mixmastamyk wrote:
         | Fedora does that automatically if encryption enabled on
         | install.
        
         | atahanacar wrote:
         | Plymouth? I tested it a long time ago but I can remember it
         | having a password entry prompt.
        
         | 0x0F wrote:
         | With a little config you can do that using Plymouth, a number
         | of themes for it have have custom themed LUKS prompts.
         | 
         | https://wiki.archlinux.org/title/plymouth
         | https://forum.manjaro.org/t/how-to-theme-luks/79792/2
        
         | dspillett wrote:
         | Not something you could script up using
         | https://help.gnome.org/users/zenity/3.32/password.html.en or
         | similar?
        
           | lights0123 wrote:
           | That would require a full GTK installation in initramfs,
           | which would be a bit heavy.
        
             | dspillett wrote:
             | Ah, by GUI I assumed you meant something good indeed booted
             | for hunting things like homes. For during the boot process
             | for mounting an encrypted root, a TUI using something like
             | dialog (https://invisible-
             | island.net/dialog/dialog.html#screenshot and commonly
             | available in Linux distributions standard repositories)
             | would probably be more suited. IIRC it is what Debian use
             | for their text installer. It should be pretty light weight,
             | though it is still something you are scripting and adding
             | to initramfs yourself so there may be more pre-made options
             | that require less manual maintenance.
        
       | nyanpasu64 wrote:
       | I wonder if it would be possible to center the text in the
       | buttons like actual Minecraft, or if Grub can only print left-
       | aligned text.
        
       | hanniabu wrote:
       | I'll never understand projects like this that don't include
       | screenshots
        
         | ramilefu wrote:
         | There is a screenshot in the README...
        
         | KMnO4 wrote:
         | Are you sure you clicked on the right link? The screenshot is
         | at the very top of the readme.
        
         | dom96 wrote:
         | It does include a screenshot though?
        
         | electroly wrote:
         | This one does have a screenshot, though, in the usual spot in
         | the readme.
        
           | mucle6 wrote:
           | As someone unfamiliar with grub, the screenshot leaves me
           | with more questions than answers
        
             | 1equalsequals1 wrote:
             | GRUB is a bootloader. A bootloader takes care of getting
             | the operating system started up. It is also responsible for
             | allowing the user to select between multiple operating
             | systems at boot.
        
         | mrrsm wrote:
         | The top of the README is a screenshot
        
       | costco wrote:
       | Friendly reminder that grub-mkconfig generates unnecessarily
       | complicated grub.cfg files and that they can be as simple as this
       | (which allows me to boot custom kernel, default kernel with
       | initrd, and Windows):                   default=0
       | timeout=3              menuentry 'Custom Kernel' {
       | insmod gzio             if [ x$grub_platform = xxen ]; then
       | insmod xzio; insmod lzopio; fi             insmod part_gpt
       | insmod ext2             set root='hd0,gpt6'             echo
       | 'Loading Linux 5.10.172zeus ...'             linux
       | /boot/vmlinuz-5.10.172zeus ro quiet rootfstype=ext4
       | root=/dev/sda6         }              menuentry 'Devuan
       | GNU/Linux, with Linux 5.10.0-21-amd64' {             insmod gzio
       | if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio;
       | fi             insmod part_gpt             insmod ext2
       | set root='hd0,gpt6'             echo    'Loading Linux
       | 5.10.0-21-amd64 ...'             linux
       | /boot/vmlinuz-5.10.0-21-amd64
       | root=UUID=a788be97-7ba6-4c15-ad6e-e91d38604c39 ro  quiet
       | echo    'Loading initial ramdisk ...'             initrd
       | /boot/initrd.img-5.10.0-21-amd64         }              menuentry
       | 'Windows Boot Manager' {             insmod part_gpt
       | insmod fat             set root='hd0,gpt1'             if [
       | x$feature_platform_search_hint = xy ]; then               search
       | --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-
       | efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  4828-3FFF
       | else               search --no-floppy --fs-uuid --set=root
       | 4828-3FFF             fi             chainloader
       | /efi/Microsoft/Boot/bootmgfw.efi         }
        
         | kelnos wrote:
         | Aside from the complexity of the autogenerated configuration
         | file, is there any benefit to maintaining it yourself? I recall
         | when I used to have a Windows partition, the 'update-grub'
         | script included with Debian would find all kernels (including
         | custom ones) and other OSes as well.
         | 
         | I'd much rather have to maintain nothing rather than something.
        
           | costco wrote:
           | There's not really any benefit, I was just surprised that
           | after deleting most of the lines it still worked.
        
           | bravetraveler wrote:
           | Ditto, I'm not really worried about the complexity of my GRUB
           | config - just that it works. It tends to if I don't go
           | poking/looking directly at it.
           | 
           | Leaving them to manage the config has worked a-okay for me,
           | even with a cmdline that would cause shudders in most.
           | _grubby_ has been a frustrating introduction
           | 
           | If I were to invest any effort in my bootloader at all, it
           | would be to get closer to the 'metal' through systemd-
           | boot/efibootmgr
           | 
           | TLDR: looking at the GRUB config invokes a "why am I still
           | doing this" emotion, I'd rather not
        
             | gjs278 wrote:
             | [dead]
        
       | jaimehrubiks wrote:
       | Love it!
        
       | [deleted]
        
       | Cieric wrote:
       | Figured it was worth mentioning that this guy also has a doom
       | theme. https://github.com/Lxtharia/doomgrub-theme
        
       ___________________________________________________________________
       (page generated 2023-07-18 23:01 UTC)