Created PR to upstream: https://github.com/goldendict/goldendict/pull/1238.f39
parent
766926d4da
commit
863d90a2e7
@ -0,0 +1,28 @@
|
||||
From a1c7c5b3762c292c2620af41428c3c6c3f758f04 Mon Sep 17 00:00:00 2001
|
||||
From: Vitaly Zaitsev <vitaly@easycoding.org>
|
||||
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 <vitaly@easycoding.org>
|
||||
---
|
||||
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
|
Loading…
Reference in new issue