Results 1 to 7 of 7

Thread: GRUB2 theme edit scrren text

  1. #1
    Join Date
    Aug 2023
    Beans
    11

    GRUB2 theme edit scrren text

    This is a reattempt to post this question as it did not appear the first post attempt concluded.

    This is a rather specific question regarding how to configure GRUB2 in order to specify the text color for an on-the-fly edit.

    When highlighting a selection from the GRUB2 menu one of the available choices on screen is to press "e" to view the underlying menuentry configuration.

    Would like to specify the menuentry cofiguration text color in the "edit" screen to cortrast with the theme background.

    Alternatively,, to specify the menuentry cofiguration background (not the desktop-image) color in the "edit" screen to contrast with the text color.

    theme.txt has these parameters, and changing each one does not affect the "edit" text color:

    # general settings
    title-color: "whatever"
    message-color: "whatever"
    message-bg-color: "whatever"
    desktop-image: "background.png"
    desktop-color: "whatever"

    Is there a specific parameter syntax within theme.txt, under "general settings" or elsewhere, that regulates the "edit:" function text color?
    Last edited by rolfbruge; 3 Weeks Ago at 06:19 PM.

  2. #2
    Join Date
    May 2008
    Beans
    4,060
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: GRUB2 theme edit scrren text

    No, I'm sure that you cannot edit the appearance of Grub "on-the-fly"
    Permanent alterations need to be made after the OS has booted.

    https://github.com/hartwork/grub2-theme-preview
    Perhaps this link is useful?
    Not a recommendation, just offering info.

  3. #3
    Join Date
    Aug 2023
    Beans
    11

    Re: GRUB2 theme edit scrren text

    Tea for One.

    Think you misunderstood on-the-fly editing.

    This was a reference to how to change the grub2 menuentry configuration, then press F10 to boot.

    The question was how to specify the edit windows text color, with the intent to reboot in order to see a different color text in the edit screen.

    What parameter controls the edit screen text color and where to configure that parameter.

  4. #4
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: GRUB2 theme edit scrren text

    I do not know how to change existing default grub theme. But I do know that if you install rEFInd (which supplements GRUB and sits alongside in EFI) you can customise rEFInd GUI theme quite easily.

  5. #5
    Join Date
    May 2008
    Beans
    4,060
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: GRUB2 theme edit scrren text

    Quote Originally Posted by rolfbruge View Post
    Tea for One.
    Think you misunderstood on-the-fly editing.
    This was a reference to how to change the grub2 menuentry configuration, then press F10 to boot.
    The question was how to specify the edit windows text color, with the intent to reboot in order to see a different color text in the edit screen.
    What parameter controls the edit screen text color and where to configure that parameter.
    To change the colour of the Grub text, you have to edit /etc/grub.d/05_debian_theme
    You edit this after you have booted the operating system and the appearance of Grub will be different during the next boot.
    Here are the instructions https://help.ubuntu.com/community/Ma...tomGrub2Screen

  6. #6
    Join Date
    Aug 2023
    Beans
    11

    Re: GRUB2 theme edit scrren text

    Thank you Tea for One

    In addition to commenting out some potentially conflicting configuratiion information, the solution was to edit the /etc/grub.d/05_debian_theme portion of the GRUB2 configuration file and add parameter:

    set color_normal=x/y

    where "x" is the specified text color of the edit window and "y" is the specified background color of the edit window.

    Thank you again for your help.

  7. #7
    Join Date
    May 2008
    Beans
    4,060
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: GRUB2 theme edit scrren text

    Pleased to have helped.
    It's a nice gesture to mark the thread as solved - very helpful for other forum members/searchers:-
    https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •