无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 4511|回复: 20
打印 上一主题 下一主题

[已解决] grub4dos 4.6.a版本的热键运行没有了吗,还是改成其他了

[复制链接]
1#
发表于 2021-8-5 19:26:51 来自手机 | 显示全部楼层
2011whp 发表于 2021-8-1 17:37
1.  下载新版的 g4d   
2.  下载新版的 hotkey 外部命令 g4dext-2021-07-28.zip  压缩包内有 hotkey 命令 ...

请问setmenu --hotkey-color=0xffff中,颜色代码怎么用,0xffff是白色吗?为什么我测试热键背景是黑色,字体是蓝色呢?
回复

使用道具 举报

2#
发表于 2021-8-5 22:06:01 | 显示全部楼层
2011yaya2007777 发表于 2021-8-5 19:43
颜色是24位色,rrggbb。这里只是前景色。背景色在菜单里统一设置。你在命令行执行         echo -rrggbb    ...



我的菜单中设置了快捷键后,快捷键背景始终是黑色的,怎么设置啊,我是设了菜单背景色呀?

我的菜单是这样了:
color 0x30 0x3e 0x34 0x3a
timeout 10
command --set-path=(ud)/BOOT/GRUB/
hotkey -A [F3] "reboot" [Ctrl+d] "commandline"
setmenu --hotkey-color=0x33ff99

#graphicsmode 0x6A
graphicsmode -1 640 480:800 24:32 || graphicsmode -1
## Menu AutoNumber
write 0x8274 0x2001

#graphicsmode -1 800:640 -1 24:32 || graphicsmode -1
font (ud)/BOOT/GRUB/font.gz


title [A] Windows XP/2000/2003 Setup
map --unmap=0:0xff
map --unhook && map --rehook
savedefault
ls /usbdrive.tag > nul || find --set-root --devices=hf /usbdrive.tag
configfile /winsetup.lst

title [B] 进入 TreeNewBee Win10PE
find --set-root --ignore-cd --devices=hf /bootmgr
chainloader /bootmgr
boot

点评

color 现在都 不用 4位色了 color normal=0xff9933 highlight=0xffff00 helptext=0xff00ff heading=0x66ff00 另外用实机测试下,也许QEMU 有偏差  详情 回复 发表于 2021-8-6 18:25
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-13 12:45

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表