It already has some sort of system to get the screen size during the installation, although it is hard to make it work on every platform. You can try to install hwinfo and reinstall. Also try to change the screen resolution for grub in /etc/default/grub using the variable GRUB_GFXMODE.
Wow, thanks for our fast answere.I tried the gitlab fork(with hwinfo) and made the settings by myself in the theme.txt to be right with icon sices etc. The only problem is the font file "DejaVuSans13.pf2" I gues its 13pxl? Can you provide it with like may 28pxl or 36pxl?
Alright, fount the hint for me:
grub-mkfont --output=DejaVuSans36.pf2 --size=36 /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
- Copied the file in the theme directory
- and change the grub.cfg file to the new font. May 36pxl is a bit large and 28pxl are enough.
My theme.txt file:
# Copyright 2018, "fffred"
# Primitivistical is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Primitivistical is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Primitivistical. If not, see .
title-text: ""
desktop-color: "#000000"
terminal-left: "0"
terminal-top: "0"
terminal-width: "100%"
terminal-height: "100%"
terminal-border: "0"
+ label {
id = "__timeout__"
text = "Booting in %d seconds"
top = 15%
left = 0
width = 100%
align = "center"
color = "#ddd"
}
+ boot_menu {
left = 20%
top = 30%
width = 60%
height = 70%
icon_width = 50
icon_height = 50
item_icon_space = 7
item_height = 55
item_spacing = 10
item_color = "#ddd"
item_pixmap_style = "item_*.png"
selected_item_color = "#fff"
selected_item_pixmap_style = "selected_*.png"
Maybe you can put some code in the installl stcript, to create 2-3 different font sizes that can be choosen during the scipt, by asking up screen resolution.
Best regards
nebkas
I have reproduced the error on a virtual machine. However, it appears that the same error happens will all other themes I have tested. For some reason, the manjaro icon is not detected (this might be related to debian/ubuntu grub configuration). In the meantime, you may change the icon name to gnu-linux.png as it is the default fallback,
Ratings & Comments
27 Comments
Looks great. However I get an Ubuntu logo on a Linux Mint entry. Please explain how I can change that logo to Mint. Thank you.
10 10 the best
Hello, I have several fedoras and the icon is not showing, do you think ou can help ? Also how can I uninstall ? Many thanks
Hello, I have several fedoras and the icon is not showing, do you think ou can help ? Also how can I uninstall ? Many thanks
10 Great menu. Worked fine for Ubuntu. Simple and minimalistic
This is my favorite Grub theme. Unfortunately the Linux Mint icon isn't appearing when I startup. Any suggestions?
9 9 excellent, thanks so much
10 10 the best Perfect balance of simplicity and practicality. Not too much or too little. Just right :)
10 10 the best
10 10 the best
10 10 the best
I really like this theme, but the font is tooo small on a 1920x1080 display. can you maz do something to look it a bit nicer?
It already has some sort of system to get the screen size during the installation, although it is hard to make it work on every platform. You can try to install hwinfo and reinstall. Also try to change the screen resolution for grub in /etc/default/grub using the variable GRUB_GFXMODE.
Wow, thanks for our fast answere.I tried the gitlab fork(with hwinfo) and made the settings by myself in the theme.txt to be right with icon sices etc. The only problem is the font file "DejaVuSans13.pf2" I gues its 13pxl? Can you provide it with like may 28pxl or 36pxl?
Have you reinstalled (Install.sh)? You can try to override the variable SCALING=2 or 3 and reinstall as well.
Alright, fount the hint for me: grub-mkfont --output=DejaVuSans36.pf2 --size=36 /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf - Copied the file in the theme directory - and change the grub.cfg file to the new font. May 36pxl is a bit large and 28pxl are enough. My theme.txt file: # Copyright 2018, "fffred" # Primitivistical is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Primitivistical is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Primitivistical. If not, see . title-text: "" desktop-color: "#000000" terminal-left: "0" terminal-top: "0" terminal-width: "100%" terminal-height: "100%" terminal-border: "0" + label { id = "__timeout__" text = "Booting in %d seconds" top = 15% left = 0 width = 100% align = "center" color = "#ddd" } + boot_menu { left = 20% top = 30% width = 60% height = 70% icon_width = 50 icon_height = 50 item_icon_space = 7 item_height = 55 item_spacing = 10 item_color = "#ddd" item_pixmap_style = "item_*.png" selected_item_color = "#fff" selected_item_pixmap_style = "selected_*.png" Maybe you can put some code in the installl stcript, to create 2-3 different font sizes that can be choosen during the scipt, by asking up screen resolution. Best regards nebkas
9 +
This a great...a Manjaro icon would be awesome
Done ;)
How do I get the icon to show up? I see it in the theme folder, but no Icon next to Manjaro Linux
Have you installed again and run sudo update-grub ?
Yes and yes. Only the windows icon gets shown before and after.
I have reproduced the error on a virtual machine. However, it appears that the same error happens will all other themes I have tested. For some reason, the manjaro icon is not detected (this might be related to debian/ubuntu grub configuration). In the meantime, you may change the icon name to gnu-linux.png as it is the default fallback,
oddly enough neigher gnu.png or gnu-linux.png works either.
That's because manjaro.png is 256 x 256, 2-bit colormap whereas the other icons are 256 x 256, 8-bit/color RGBA