コンテンツにスキップ

「GoldenDict」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
翻訳
 
設定: == Troubleshooting == を英語版より転載
22行目: 22行目:
* "Address" をダブルクリックして {{ic|dict://localhost}} と入力。{{ic|dictd}} が別のサーバーで動いている場合は {{ic|localhost}} を変更してください。
* "Address" をダブルクリックして {{ic|dict://localhost}} と入力。{{ic|dictd}} が別のサーバーで動いている場合は {{ic|localhost}} を変更してください。
* 最後に "OK" をクリック。
* 最後に "OK" をクリック。

== Troubleshooting ==

=== Crash on Wayland ===

GoldenDict use lots of X11 functions and it currently cannot work natively on Wayland [https://github.com/goldendict/goldendict/issues/935] [https://github.com/goldendict/goldendict/pull/1243].

Set {{ic|1=QT_QTA_PLATFORM=xcb}} forces qt to run in X11 mode or use {{AUR|goldendict-git}}.

{{hc|~/.local/share/applications|2=
[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
}}

2021年9月20日 (月) 09:34時点における版

goldendict は機能豊富な辞書検索プログラムです。

インストール

goldendict パッケージをインストールしてください。

設定

dictd を使ってオフライン辞書を検索

まず dictd を設定してオフライン辞書を使えるようにしてください。詳しくは Dictd#オフライン辞書のホスティングを参照。

辞書をインストールして dictd を設定したら、goldendict から dictd の辞書データベースにアクセスできるように設定します:

  • F3 を押して "Dictionaries" ウィンドウを立ち上げてください。
  • "DICT servers" タブをクリック。
  • "Add..." をクリック。
  • "Enabled" のチェックマークをクリック。
  • "Address" をダブルクリックして dict://localhost と入力。dictd が別のサーバーで動いている場合は localhost を変更してください。
  • 最後に "OK" をクリック。

Troubleshooting

Crash 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