在 openSUSE 上如何优雅地使用微信?

https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland
参考官方 wiki,在 KDE 下使用环境变量 XMODIFIERS=@im=fcitx,并且禁用 GTK_IM_MODULE & QT_IM_MODULE & SDL_IM_MODULE。
flatpak 有自己的环境变量,可以通过命令 sudo flatpak override --env=XMODIFIERS=@im=fcitx 全局设置。
凭印象打的,大概这个意思

这位翻车了哦

微信 4.0 已经更新了,包名还是 wechat-beta,如果安装 wechat 会要求依赖 wechat-beta 防止后期包迁移

1赞

腾讯企业官网提供的 wechat-4.0.0.30-1.x86_64 安装之后运行是这样的结果:
ruhong@localhost:~> wechat
非法指令 (核心已转储)

最后还是要使用 wechat-beta-1.0.0-lp156.21477.1.x86_64 才能正常登录微信

现在通过软件商店中的 flatpak 安装最新版 4.0 非常方便,也很好用。

使用 Firefox 浏览器打开 Set Up Flathub | Flathub 单击 openSUSE
https://flathub.org/setup/openSUSE
localhost:~ # zypper install flatpak
localhost:~ # flatpak --help
localhost:~ # flatpak remotes --show-details

localhost:~ # flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
localhost:~ # flatpak remotes --show-details

localhost:~ # flatpak list
Name Application ID Version Branch Installation
Mesa org.freedesktop.Platform.GL.default 24.1.3 23.08 system
Mesa (Extra) org.freedesktop.Platform.GL.default 24.1.3 23.08-extra system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 system
GNOME Application Platform version 45 org.gnome.Platform 45 system
Pitivi org.pitivi.Pitivi 2023.03 stable system
Codecs org.pitivi.Pitivi.Codecs stable system
localhost:~ # flatpak search wechat
Name Description Application ID Version Branch Remotes
WeChat Free messaging and calling app com.tencent.WeChat 4.0.0.30 stable flathub
Franz Messenger for the desktop com.meetfranz.Franz 5.10.0 stable flathub
localhost:~ # flatpak install flathub com.tencent.WeChat
Looking for matches…
Required runtime for com.tencent.WeChat/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/24.08) found in remote flathub
Do you want to install it? [Y/n]: Y

com.tencent.WeChat permissions:
ipc network pulseaudio x11 devices
file access [1] dbus access [2] bus ownership [3]

[1] xdg-download:ro
[2] org.freedesktop.FileManager1, org.freedesktop.Notifications, org.kde.StatusNotifierWatcher
[3] org.kde.*


    ID                                          Branch             Op         Remote         Download
  1. [✓] org.freedesktop.Platform.GL.default 24.08 i flathub 146.5 MB / 146.8 MB
    ID Branch Op Remote Download
  2. [✓] org.freedesktop.Platform.GL.default 24.08 i flathub 146.5 MB / 146.8 MB
  3. [✓] org.freedesktop.Platform.GL.default 24.08extra i flathub 22.7 MB / 146.8 MB
  4. [✓] org.freedesktop.Platform.Locale 24.08 i flathub 1.8 MB / 379.7 MB
  5. [✓] org.freedesktop.Platform.openh264 2.4.1 i flathub 920.7 kB / 976.5 kB
  6. [✓] org.freedesktop.Platform 24.08 i flathub 184.7 MB / 261.5 MB
  7. [✓] com.tencent.WeChat stable i flathub 206.0 MB / 206.1 MB

Installation complete.
localhost:~ # flatpak list
Name Application ID Version Branch Installation
WeChat com.tencent.WeChat 4.0.0.30 stable system
Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-24.08.7 24.08 system
Mesa …g.freedesktop.Platform.GL.default 24.1.3 23.08 system
Mesa (Extra) …g.freedesktop.Platform.GL.default 24.1.3 23.08-extra system
Mesa …g.freedesktop.Platform.GL.default 24.2.7 24.08 system
Mesa (Extra) …g.freedesktop.Platform.GL.default 24.2.7 24.08extra system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 system
openh264 org.freedesktop.Platform.openh264 2.4.1 2.4.1 system
GNOME Application Platform versi… org.gnome.Platform 45 system
Pitivi org.pitivi.Pitivi 2023.03 stable system
Codecs org.pitivi.Pitivi.Codecs stable system
localhost:~ #

大约耗时 20 分钟,必须要以普通用户运行微信
ruhong@localhost:~> flatpak run com.tencent.WeChat

没有任何反应,也没有出错提示,安装确实是很方便,但 “也很好用” 就是骗人的,腾讯在卖假药(假软件)减少群众的骂声

localhost:~ # flatpak remove com.tencent.WeChat
ID Branch Op

  1. [-] com.tencent.WeChat stable r

Uninstall complete.

错误:Unable to open ‘./coredump’: 没有那个文件或目录

可以用一下 Flatpak 版本的微信 那个体验还是不错的

大佬知道 Discover 怎么添加 Flatpak 源吗

/app/extra/wechat/wechat: error while loading shared libraries: libandromeda.so: cannot enable executable stack as shared object requires: Permission denied
大佬请教下,从 flatpak 安装的打不开,提示这个知道怎么解决吗

谢谢大佬,之前用 flatpak 下载的找不到目录,后面用 opi 按照这个方法可以了

目前我是 Leap 15.6,用 flatpak 方式安装成功

说实话,我是建议用虚拟机。网上找个精简的 win10,win7 也行,毕竟微信还有支持 7 的版本,对硬件资源的消耗并不多。不要让垃圾的微信污染了自己的系统。

果然会折腾,哈哈

怎么没人用 appimage 版本?官方的 appimage 我这里双击即用,没有一点问题

应该不少人用,用的没有问题就不说了吧。 我两种都试过,用起来一样样的,现在也用 Appimage,解包后在桌面新建个快捷方式,又快又省事。

这不是有官方的微信 rpm 包吗?
https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_x86_64.rpm

Appimage 解包?哇,为什么要解包呢?

老机器,不用每次解压速度快一点

原来是这样,好优雅