GoldenDict

From ArchWiki
Jump to navigation Jump to search

GoldenDict is a feature-rich dictionary lookup program.

Installation

Install goldendict package.

Configuration

Offline Dictionary Lookup with dictd

First dictd must be configured for hosting offline dictionaries. See Hosting Offline Dictionaries.

Once the dictionaries have been installed, and dictd has been configured, goldendict can be configured to access the dictd dictionary databases by following these steps:

  • Press F3 to bring up the "Dictionaries" window.
  • Click on the "DICT servers" tab
  • Click "Add..."
  • Click to put a checkmark under "Enabled"
  • Double click under "Address" and type: dict://localhost. Make sure to change localhost if dictd is running on another server.
  • And finally click "OK".

Troubleshooting

Crashe on Wayland

GoldenDict use lots of X11 functions and it currently cannot work natively on Wayland [1] [2].

Set QT_QTA_PLATFORM=xcb forces qt to run in X11 mode or use 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