summarylogtreecommitdiffstats
path: root/add_no_kdialog_variable.patch
blob: 5843cd6aa9aea5d733427ff61b064c50f251c1c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
--- a/usr/bin/et	2019-04-15 13:40:47.535249626 +0800
+++ b/usr/bin/et	2019-04-15 13:48:33.159393790 +0800
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 gOpt=
+export WPS_NO_KDE_NATIVE_DIALOG=1
 #gOptExt=-multiply
 gTemplateExt=("ett" "xlt" "xltx" "xltm")
 gBinPath=$(dirname "$0")
--- a/usr/bin/wpp	2019-04-15 13:40:47.535249626 +0800
+++ b/usr/bin/wpp	2019-04-15 13:48:32.152732577 +0800
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 gOpt=
+export WPS_NO_KDE_NATIVE_DIALOG=1
 #gOptExt=-multiply
 gTemplateExt=("dpt" "pot" "potx" "potm")
 gBinPath=$(dirname "$0")
--- a/usr/bin/wps	2019-04-15 13:40:47.535249626 +0800
+++ b/usr/bin/wps	2019-04-15 14:20:19.505732892 +0800
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 gOpt=
+export WPS_NO_KDE_NATIVE_DIALOG=1
 #gOptExt=-multiply
 gTemplateExt=("wpt" "dot" "dotx" "dotm")
 gBinPath=$(dirname "$0")
--- a/usr/share/applications/wps-office-et.desktop	2019-03-31 23:16:22.000000000 +0800
+++ b/usr/share/applications/wps-office-et.desktop	2019-04-15 14:20:24.319040150 +0800
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Comment=Use WPS Spreadsheets to analyze manage data.
 Comment[zh_CN]=使用WPS表格分析、管理数据
-Exec=/usr/bin/et %f
+Exec=env WPS_NO_KDE_NATIVE_DIALOG=1 /usr/bin/et %f
 GenericName=WPS Spreadsheets
 GenericName[zh_CN]=WPS 表格
 MimeType=application/wps-office.et;application/wps-office.ett;application/wps-office.xls;application/wps-office.xlt;application/vnd.ms-excel;application/msexcel;application/x-msexcel;application/wps-office.xlsx;application/wps-office.xltx;
--- a/usr/share/applications/wps-office-wpp.desktop	2019-03-31 23:16:22.000000000 +0800
+++ b/usr/share/applications/wps-office-wpp.desktop	2019-04-15 14:20:23.342378774 +0800
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Comment=Use WPS Presentation to edit and play presentations.
 Comment[zh_CN]=使用 WPS 演示编辑、播放演示文稿
-Exec=/usr/bin/wpp %f
+Exec=env WPS_NO_KDE_NATIVE_DIALOG=1 /usr/bin/wpp %f
 GenericName=WPS Presentation
 GenericName[zh_CN]=WPS 演示
 MimeType=application/wps-office.dps;application/wps-office.dpt;application/wps-office.ppt;application/wps-office.pot;application/vnd.ms-powerpoint;application/vnd.mspowerpoint;application/mspowerpoint;application/powerpoint;application/x-mspowerpoint;application/wps-office.pptx;application/wps-office.potx;
--- a/usr/share/applications/wps-office-wps.desktop	2019-03-31 23:16:22.000000000 +0800
+++ b/usr/share/applications/wps-office-wps.desktop	2019-04-15 14:20:25.279034949 +0800
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Comment=Use WPS Writer to edit articles and reports.
 Comment[zh_CN]=使用 WPS 文字编写报告,排版文章
-Exec=/usr/bin/wps %f
+Exec=env WPS_NO_KDE_NATIVE_DIALOG=1 /usr/bin/wps %f
 GenericName=WPS Writer
 GenericName[zh_CN]=WPS 文字
 MimeType=application/wps-office.wps;application/wps-office.wpt;application/wps-office.doc;application/wps-office.dot;application/vnd.ms-word;application/msword;application/x-msword;application/msword-template;application/wps-office.docx;application/wps-office.dotx;application/rtf;