kde plasma 桌面环境,在wps office首页搜索文件框中无法启用fctix5 输入法,但在wps,et中编辑具体文件中可以正常使用fcitx5输入法。
解决方式:在 desktop 文件中,如wps-office-et.desktop 文件中,启动命令增加 参数: --ozone-platform=x11,如 Exec=/usr/bin/et --ozone-platform=x11 %F
| Git Clone URL: | https://aur.archlinux.org/wps-office-cn.git (read-only, click to copy) |
|---|---|
| Package Base: | wps-office-cn |
| Description: | Chinese (Simplified) mui package for WPS Office |
| Upstream URL: | https://linux.wps.cn |
| Licenses: | LicenseRef-WPS-EULA |
| Submitter: | Universebenzene |
| Maintainer: | Universebenzene (witt.9099) |
| Last Packager: | witt.9099 |
| Votes: | 56 |
| Popularity: | 2.96 |
| First Submitted: | 2020-01-10 04:38 (UTC) |
| Last Updated: | 2025-09-20 06:03 (UTC) |
kde plasma 桌面环境,在wps office首页搜索文件框中无法启用fctix5 输入法,但在wps,et中编辑具体文件中可以正常使用fcitx5输入法。
解决方式:在 desktop 文件中,如wps-office-et.desktop 文件中,启动命令增加 参数: --ozone-platform=x11,如 Exec=/usr/bin/et --ozone-platform=x11 %F
Use the following patch to update.
From 6b20a4e5aeaf66dda1713f43e34db4134743ef75 Mon Sep 17 00:00:00 2001
From: witt <1989161762@qq.com>
Date: Sat, 20 Sep 2025 14:03:18 +0800
Subject: [PATCH] release 12.1.2.22571
---
.SRCINFO | 6 +++---
PKGBUILD | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.SRCINFO b/.SRCINFO
index 9444e86..e220efe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = wps-office-cn
pkgdesc = Kingsoft Office (WPS Office) CN version - an office productivity suite
- pkgver = 12.1.2.22570
+ pkgver = 12.1.2.22571
pkgrel = 1
url = https://linux.wps.cn
arch = x86_64
license = LicenseRef-WPS-EULA
options = !emptydirs
- source_x86_64 = wps-office_12.1.2.22570_amd64.deb::https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2023/22570/wps-office_12.1.2.22570.AK.preread.sw_474164_amd64.deb?t=1755354986&k=a376e6a9a205d6ef2146c38e61d6f61f
- sha256sums_x86_64 = d2c5569889ac7cbc2a331c17c62184fcbbd224c41e2f86f852ea654f9442a657
+ source_x86_64 = wps-office_12.1.2.22571_amd64.deb::https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2023/22571/wps-office_12.1.2.22571.AK.preread.sw_480057_amd64.deb?t=1758348163&k=8663e0e1d6b22c930cb5387ab8ab10e8
+ sha256sums_x86_64 = 681d4458fd04bf95ae02ece2877c9b0f6dea6914535239444b57a66acfac5030
pkgname = wps-office-cn
install = wps-office-cn.install
diff --git a/PKGBUILD b/PKGBUILD
index 0674562..07edff6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgbase=wps-office-cn
pkgname=('wps-office-cn' 'wps-office-mime-cn' 'wps-office-mui-zh-cn')
-pkgver=12.1.2.22570
+pkgver=12.1.2.22571
pkgrel=1
pkgdesc="Kingsoft Office (WPS Office) CN version - an office productivity suite"
#arch=('x86_64' 'aarch64')
@@ -21,7 +21,7 @@ options=('!emptydirs')
# https://gitlab.com/cwittlut/wps-tsk/-/blob/main/tsk.sh?ref_type=heads by Ryan Tsien
# https://pastebin.com/29TeRUMj by Asuka Minato
_get_source_url() {
- local furl="https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2023/${pkgver##*.}/wps-office_${pkgver}.AK.preread.sw_474164_$1.deb"
+ local furl="https://wps-linux-personal.wpscdn.cn/wps/download/ep/Linux2023/${pkgver##*.}/wps-office_${pkgver}.AK.preread.sw_480057_$1.deb"
local uri="${furl#https://wps-linux-personal.wpscdn.cn}"
local secrityKey='7f8faaaa468174dc1c9cd62e5f218a5b'
local timestamp10=$(date '+%s')
@@ -36,7 +36,7 @@ _get_source_url() {
source_x86_64=("wps-office_${pkgver}_amd64.deb::$(_get_source_url amd64)")
#source_aarch64=("wps-office_${pkgver}_arm64.deb::https://pubwps-wps365-obs.wpscdn.cn/download/Linux/21176/wps-office_${pkgver}.AK.preload.sw_arm64.deb")
#source=('fix-wps-python-parse.patch')
-sha256sums_x86_64=('d2c5569889ac7cbc2a331c17c62184fcbbd224c41e2f86f852ea654f9442a657')
+sha256sums_x86_64=('681d4458fd04bf95ae02ece2877c9b0f6dea6914535239444b57a66acfac5030')
prepare() {
bsdtar -xpf data.tar.xz
--
2.52.0
For Last Packager witt.9099:
If this package still don't update, I will submit a orphan request.
猜测用 wpsoffice 命令启动可能会导致一个恼人的问题:wps自动关联了我docx等文件的图标,摆脱了图标主题控制。之前干掉了自带的 custom-wps-office.xml ,好多年没这个问题的,今天又出现了😅
修复双击打不开文件的bug, 多组件模式对应的是 wpsoffice\Application%20Settings\AppComponentMode=prome_independ 整合模式是 prome_fushion。设置这两个模式都能修复这个bug. 看wps启动脚本,prome_fushion时,启动的命令是wpsoffice,会多一个进程。
if [ $haveConf -eq 1 ] && [ "$currentMode" = "prome_fushion" ]; then
gApp="wpsoffice"
gIsFushion=1
为什么我设置了横版打印,打印出来的文件自动变成了竖版打印,其他软件设置就没有这个问题
@gongkovsky 这是个已知问题,你可以先导出为PDF,然后再打印这个PDF,PDF会自动调整方向
如果我调试的没错的话,office6/wps 这个二进制文件对绝对路径的解析有问题,我尝试写了一个 wrapper 拿日志:
===== WPS called at 2025年 11月 17日 星期一 21:04:20 CST =====
PWD: /home/flower/Downloads
ENV: DESKTOP_SESSION=plasma, XDG_CURRENT_DESKTOP=KDE
ARGS:
[0]: test.docx
===== WPS called at 2025年 11月 17日 星期一 21:04:38 CST =====
PWD: /home/flower/Downloads
ENV: DESKTOP_SESSION=plasma, XDG_CURRENT_DESKTOP=KDE
ARGS:
[0]: /home/flower/Downloads/test.docx
第一条记录是用 /usr/bin/wps test.docx 得到的,第二条是在文件管理器里右键打开的,前者正常,后者不正常(无响应)。
然后我又仔细看了 /usr/bin/wps 的脚本内容,也是正常的,我也测试了在命令行里 /usr/bin/wps /home/flower/Downloads/test.docx,的确无响应。所以问题应该是出在二进制文件对绝对路径的解析上。
另外 @fengch 的方法确实简单可行。
@fengch 提供的方案简单可行
为什么安装之后无法启动WPS表格,只能通过WPS文字的界面启动WPS表格
为什么我设置了横版打印,打印出来的文件自动变成了竖版打印,其他软件设置就没有这个问题
Pinned Comments
Universebenzene commented on 2020-01-10 08:31 (UTC) (edited on 2020-01-10 08:45 (UTC) by Universebenzene)
[Attention] The zh_CN mui files (including all the Simplified Chinese support) are splitted into the
wps-office-mui-zh-cnpackage. If you want zh_CN support, DO NOT FORGET to install the mui-zh-cn package.Also the mui-zh-cn package can be installed to recover the zh_CN support of the Intl version https://aur.archlinux.org/packages/wps-office , but the login and some other supports are still only available in the CN version.