Disable GRUB auto resolution detection
Tofloor
poster avatar
nataraj03
deepin
2019-05-04 20:29
Author
How to disable auto resolution detection by grub. Mine is 4k display, I don't want grub to display menu in 4k, it takes too much time and load. Solution(s) are welcome. Thanks in advance.
Reply Favorite View the author
All Replies
ylxdxx
deepin
2019-05-04 21:10
#1
好像有一个软件可以设置,具体忘了,可以在论坛搜一下
Reply View the author
nataraj03
deepin
2019-05-06 22:03
#2
I couldn't find anything in the forum
Reply View the author
DeepinOS
deepin
2019-05-06 22:43
#3
maybe,you can change the picture it displayed.i am not sure,but you can try it.
Reply View the author
ylxdxx
deepin
2019-05-06 23:06
#4
grub-customizer 可以试一下
Reply View the author
nataraj03
deepin
2019-05-07 06:43
#5
I don't think Grub-customizer will work, because everytime the resolution is auto detected and updated on the grub file. Unless, that auto detection and updation is stopped, nothing can be done.
Reply View the author
th3blad3runn3r
deepin
2019-05-08 00:13
#6
Edit  /etc/default/grub
Add a GRUB_GFXMODE=1280x720 line (or choose a more convenient resolution)
save the file and run sudo update-grub
Reply View the author
nataraj03
deepin
2019-05-08 06:06
#7
https://bbs.deepin.org/post/177608
Edit  /etc/default/grub
Add a GRUB_GFXMODE=1280x720 line (or choose a more convenient resolution)
sa ...

Done it several times. No use, it just reverts back to the full resolution.
Reply View the author
th3blad3runn3r
deepin
2019-05-08 06:37
#8
Edited by th3blad3runn3r at 2019-5-7 15:40

My 2nd guess, while not tested...:

Edit /usr/share/dde-api/data/grub-themes/deepin/theme.txt.tpl (This is mentionned in /boot/grub/themes/deepin/theme.txt)
Add lines
screenWidth:1280
screenHeight:720

just under the # Global properties comment (1st line)

the run sudo update-grub -OR- change the grub wallpaper via deepin-control-center (System information: / Boot menu) to force a new grub generation

Hope this helps, let me know,.
Reply View the author
nataraj03
deepin
2019-05-09 01:30
#9
https://bbs.deepin.org/post/177608
My 2nd guess, while not tested...:

Edit /usr/share/dde-api/data/grub-themes/deepin/theme.txt.tpl (T ...

It didn't help.
Reply View the author
nataraj03
deepin
2019-05-09 01:34
#10
Found a temporary solution. I commented the file content in here
/usr/share/dbus-1/system-services/com.deepin.daemon.Grub2.service
.
Now I'm able to change the resolution, but the grub manager in control center gets disabled if i do this. Therefore you won't be able to change background wallpaper, as long as it is commented.
Reply View the author
th3blad3runn3r
deepin
2019-05-09 23:40
#11
https://bbs.deepin.org/post/177608
Found a temporary solution. I commented the file content in here.
Now I'm able to change the resolut ...

I'm stuck.
No more idea, for the moment.
Reply View the author