15.8+4 grub界面分辨率又不正常了
Tofloor
poster avatar
临之
deepin
2018-12-20 17:59
Author
昨天更新后,分辨率正常了。但是今天重启后又变成1024*768.。。。
Reply Favorite View the author
All Replies
avatar
dao-root
deepin
2018-12-21 07:15
#1
你好,目前确实存在这个问题,可以手动修改
Reply View the author
avatar
海鸥
deepin
2018-12-21 16:42
#2
我的一直是1440×900(没有变过)
Reply View the author
avatar
cosecant
deepin
2018-12-21 16:56
#3
字体虚的很
Reply View the author
avatar
bibichuan
deepin
2018-12-21 22:32
#4
我的分辨率也是不正常的,以前是正常的,更新后不正常了,分辨率变了,懒得改回去了。
Reply View the author
avatar
临之
deepin
2018-12-24 21:33
#5
https://bbs.deepin.org/post/172664
你好,目前确实存在这个问题,可以手动修改

您好:

我之前就手动改过,有效过1次,后来也失效了。。。
Reply View the author
avatar
今风
deepin
2018-12-24 21:46
#6
不知道怎么回事,昨天没有什么更新,今天grub又变回蓝底白字简陋的界面。
Reply View the author
avatar
dao-root
deepin
2018-12-25 09:25
#7
https://bbs.deepin.org/post/172664
您好:

我之前就手动改过,有效过1次,后来也失效了。。。

你可以把改好的文件(有3个)复制出来放到一个文件夹下面,然后写一个脚本每次开机运行让它自行修改,比如我把改好的这三个文件放到桌面新建的grub文件夹下则是
#!/bin/bash
sudo cp /home/dao/Desktop/grub/grub.cfg /boot/grub/grub.cfg
sudo cp /home/dao/Desktop/grub/theme.txt /boot/grub/themes/deepin/theme.txt
sudo cp /home/dao/Desktop/grub/grub /etc/default/grub
Reply View the author
avatar
dao-root
deepin
2018-12-25 10:20
#8
当然还有更方便的方式,批量替换文件中的内容。以下命令中1024代表系统默认的宽度,后面是你的分辨率宽度,例如1920。第二条命令中768代表系统默认的高度,后面是你的分辨率高度,例如1080。你可以把它保存在文本文件中,并在文件属性权限管理中勾选允许以程序执行

sudo sed -i "s/1024/1920/g" /boot/grub/grub.cfg /boot/grub/themes/deepin/theme.txt /etc/default/grub
sudo sed -i "s/768/1080/g" /boot/grub/grub.cfg /boot/grub/themes/deepin/theme.txt /etc/default/grub
Reply View the author
avatar
临之
deepin
2018-12-25 19:35
#9
https://bbs.deepin.org/post/172664
当然还有更方便的方式,批量替换文件中的内容。以下命令中1024代表系统默认的宽度,后面是你的分辨率宽度, ...

非常感谢!
Reply View the author
avatar
dao-root
deepin
2018-12-26 03:01
#10

你只要把1920和1080这俩数字改成你的分辨率就可以了,改错了我可不负责哈
Reply View the author