返回文章列表文章索引阅读全文
STARBLOG / 阅读手记
系统配置

Linux--使用Snap安装第三方微信客户端Electronic-Wechat

前言 腾讯估计是不会给Linux系统开发任何软件了,不过问题不大。我们有很多好用的第三方软件替代~~(无奈之举,摊手)~~ 关于Snap Ubuntu官网上的介绍 Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single bu

曦远 (DealiAxy)约 5 分钟
目录6 个章节

前言

腾讯估计是不会给Linux系统开发任何软件了,不过问题不大。我们有很多好用的第三方软件替代~~(无奈之举,摊手)~~

关于Snap

Ubuntu官网上的介绍

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully. Whether you’re building for desktop, cloud, or the Internet of Things, publishing as a snap will keep users up to date and make system configuration issues less likely, freeing you to code more and debug less. Snapcraft, the open source tool to publish snaps, picks up from your existing build artefacts or language of choice, be it Python, Go, C/C++, Node.js, or even .NET. With 20 minutes you can have your first app built and released in the Snap Store.

了解更多:https://snapcraft.io

安装Snap基本环境

sudo apt install snapd snappy

安装electronic-wechat

sudo snap install electronic-wechat

由于 Snap 版自带了所有依赖,所以软件体积比较大,安装需要点耐心。如果安装失败,建议每次安装一个软件,逐个重试。 安装后,需要重启或者注销系统,才能在主菜单中看到微信的启动器(快捷方式)。

Application Config

把微信添加到应用程序菜单里

Create file : /usr/share/applications/electronic-wechat.desktop

File content:

[Desktop Entry]
Name=Electronic Wechat
Name[zh_CN]=微信电脑版
Name[zh_TW]=微信电脑版
Exec=/opt/electronic-wechat/electronic-wechat
Icon=/opt/electronic-wechat/resources/electronic-wechat.png
Terminal=false
X-MultipleArgs=false
Type=Application
Encoding=UTF-8
Categories=Application;Utility;Network;InstantMessaging;
StartupNotify=false

这样设置是全局有效的,如果需要只对当前用户有效,则在以下目录新建desktop文件即可。 ~/.local/share/applications

End

Snap 应用安装简单,便于移植,缺点就是体积较大,毕竟为了保证在任何 Linux 发行版都能使用,集成了全部的依赖软件。当然,现在的电脑硬盘都很大,Snap 这一点体积可以忽略不计,重点是我们 Linux 用户有了更多好用的软件。

_EOF_

Linux--使用Snap安装第三方微信客户端Electronic-Wechat

本文作者:
程序设计实验室
版权声明:
本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!

相关文章

Nginx配置http跳转https-强制https访问

前言 最近上线了好几个项目,同时也申请了相应的SSL证书,不过发现了一个问题,用户在浏览器直接输入域名的时候,浏览器默认访问的是http站点,然而我们的网站只支持https访问,所以就访问不了咯。 其实可以在nginx全局配置里面把所有访问重定向到https,不过服务器有些站点是提供http服务的,所以只能每个站点分别配置。 根据搜索引擎找到的资料,本文总结了三种配置方法,有需要的朋友可以选择中意

2025-10-27 · 系统配置 · 约 1 分钟

讨论

共 0 条

良言一句三冬暖,恶语伤人六月寒。

加载评论中…