From a1c7c5b3762c292c2620af41428c3c6c3f758f04 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Sun, 15 Mar 2020 10:15:58 +0100 Subject: [PATCH] Added a desktop action as a workaround to crashes on Wayland. Also removed deprecated Encoding directive from desktop file. Signed-off-by: Vitaly Zaitsev --- redist/goldendict.desktop | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/redist/goldendict.desktop b/redist/goldendict.desktop index e4cbd42b..13a5fe8f 100755 --- a/redist/goldendict.desktop +++ b/redist/goldendict.desktop @@ -5,6 +5,10 @@ Categories=Office;Dictionary;Education;Qt; Name=GoldenDict GenericName=Multiformat Dictionary Comment=GoldenDict -Encoding=UTF-8 Icon=goldendict Exec=goldendict +Actions=X11; + +[Desktop Action X11] +Name=GoldenDict (X11) +Exec=env QT_QPA_PLATFORM=xcb goldendict