You are not logged in.
I have gotten myself a theme i want to install, changed the background file to something i want to use instead of the themes default. This is the current theme.txt:
desktop-image: "background.jpg"
title-text:" "
message-font: "Poppins Regular 16"
message-color: "#757575"
terminal-font: "Terminus Regular 16"
terminal-box: "terminal_*.png"
+ boot_menu {
width = 40%
height = 37%
top = 56%
left = 30%
icon_width = 32
icon_height =32
item_height = 48
item_padding = 8
item_icon_space = 12
item_spacing = 8
menu_pixmap_style = "boot_menu_*.png"
item_font = "Poppins Regular 20"
item_color = "#ece6dd"
selected_item_color= "#0e2936"
selected_item_pixmap_style= "select_bkg_*.png"
scrollbar = true
scrollbar_width = 12
scrollbar_thumb = "slider_*.png"
}
+ progress_bar {
id = "__timeout__"
left = 0%
width = 100%
top = 100%
height = 22
show_text = true
text_color = "255, 255, 255"
bar_style = "progress_bar_*.png"
highlight_style = "progress_highlight_*.png"
}only change from the one found on the internet is the .jpg that is originally a png.
I have fit the /etc/default/grub to the path of my theme.txt.
When making the grub congig via:
sudo grub-mkconfig -o /boot/grub/grub.cfgI get the following error message:
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 2: desktop-image:: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 5: title-text: : command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 6: message-font:: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 7: message-color:: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 8: terminal-font:: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 9: terminal-box:: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 12: +: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 13: width: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 14: height: command not found
top: unknown option '='
Usage:
top -hv | -bcEeHiOSs1 -d secs -n max -u|U user -p pid(s) -o field -w [cols]
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 16: left: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 17: icon_width: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 18: icon_height: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 19: item_height: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 20: item_padding: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 21: item_icon_space: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 22: item_spacing: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 23: menu_pixmap_style: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 24: item_font: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 25: item_color: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 26: #0e2936: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 27: select_bkg_*.png: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 28: scrollbar: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 29: scrollbar_width: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 30: scrollbar_thumb: command not found
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 31: syntax error near unexpected token `}'
/boot/grub/themes/ThemeGrub.CyberSynchro/Theme/theme.txt: line 31: `}'seeing this i though, why not change your theme to the grub default starfield, make config and i get this:
/boot/grub/themes/starfield/theme.txt: line 24: message-font:: command not found
/boot/grub/themes/starfield/theme.txt: line 25: message-color:: command not found
/boot/grub/themes/starfield/theme.txt: line 26: message-bg-color:: command not found
/boot/grub/themes/starfield/theme.txt: line 27: terminal-box:: command not found
/boot/grub/themes/starfield/theme.txt: line 28: terminal-font:: command not found
/boot/grub/themes/starfield/theme.txt: line 29: desktop-image:: command not found
/boot/grub/themes/starfield/theme.txt: line 32: +: command not found
top: unknown option '='
Usage:
top -hv | -bcEeHiOSs1 -d secs -n max -u|U user -p pid(s) -o field -w [cols]
/boot/grub/themes/starfield/theme.txt: line 34: left: command not found
/boot/grub/themes/starfield/theme.txt: line 35: width: command not found
/boot/grub/themes/starfield/theme.txt: line 36: height: command not found
/boot/grub/themes/starfield/theme.txt: line 37: text: command not found
/boot/grub/themes/starfield/theme.txt: line 38: align: command not found
/boot/grub/themes/starfield/theme.txt: line 39: font: command not found
/boot/grub/themes/starfield/theme.txt: line 40: color: command not found
/boot/grub/themes/starfield/theme.txt: line 41: syntax error near unexpected token `}'
/boot/grub/themes/starfield/theme.txt: line 41: `}'After seeing that this did not work I tried to find out what I did wrong, but everything i tried seems to be exactly what the people before me did, so now I am here, clueless. I hope you can help me with this one. Thanks in advance.
Offline
Your theme reads as a script, which probably means you are calling it wrong.
The correct syntax in /etc/default/grub is:
GRUB_THEME="/usr/share/grub/themes/starfield/theme.txt"If that is how you are calling it, then please post your /etc/default/grub.
Also check the wiki:
https://wiki.archlinux.org/title/GRUB/T … figuration
And the GRUB manual for themes if you want to mess with that sort of things ![]()
https://www.gnu.org/software/grub/manua … ile-format
Offline