测试环境
- Linux: Fedora 41
- GNOME 47
HMCL启动器:https://hmcl.huangyuhui.net/download/
安装相关环境:
1
| sudo dnf install java-21-openjdk openjfx
|
注意:Fedora 自带的 java-21-openjdk-handless 无法启动 HMCL
需要在 Dash 栏显示软件名称的,需要编辑文件 ~/.local/share/applications/hmcl.desktop
内容:
1
2
3
4
5
6
7
8
9
10
11
| [Desktop Entry]
Encoding=UTF-8
Name=HMCL
GenericName=Hello Minecraft! Launcher
Comment=A launcher to start Minecraft
Exec=java -Dprism.forceGPU=true -jar /home/moieo/Minecraft/HMCL-3.6.11.jar
Icon=/home/moieo/Minecraft/.icon@8x.png
StartupWMClass=org.jackhuang.hmcl.Launcher
Terminal=false
Type=Application
Categories=Application;Game;
|
ICON和JAR路径根据自己的情况修改
ICON可以解压JAR包获取
如果使用了 Rounded Window Corners Reborn 圆角插件的,需要将插件排除包名org.jackhuang.hmcl.Launcher
,否则会有一个透明边框在外围
字体使用 文泉驿,界面正常显示
1
2
3
| sudo dnf install wqy-bitmap-fonts -y
sudo dnf install wqy-unibit-fonts -y
sudo dnf install wqy-zenhei-fonts -y
|