GoldenDict (简体中文)
GoldenDict 一个是功能丰富的字典查找程序。
安装
安装 goldendict 软件包。
配置
脱机字典查找与 dictd
必须先配置 dictd
以托管脱机字典。请参阅托管脱机字典。
一旦安装了字典并配置了 dictd
,就可以按照以下步骤将 goldendict
进行配置以访问 dictd
字典数据库:
- 按 F3 弹出 "Dictionaries" 窗口
- 点击 "DICT servers" 选项卡
- 点击 "Add..."
- 点击以在 "Enabled" 下打勾
- 在 "Address" 下双击,然后输入:
dict://localhost
。如果dictd
在另一台服务器上运行,请确保更改localhost
。 - 最后点击 "OK"
HiDPI
HiDPI下查询结果页面字体过小:使用Ctrl +
放大,Ctrl -
缩小。
Troubleshooting
在Wayland下崩溃
GoldenDict使用了许多无法原生运行在Wayland上的X11的方法。 [1] [2].
设置QT_QTA_PLATFORM=xcb
强制qt运行在X11模式下或者使用 goldendict-gitAUR。
~/.local/share/applications
[Desktop Entry] Type=Application Terminal=false Categories=Office;Dictionary;Education;Qt Name=GoldenDict GenericName=Multiformat Dictionary Comment=GoldenDict Encoding=UTF-8 Icon=goldendict Exec=env QT_QPA_PLATFORM=xcb goldendict