動態

詳情 返回 返回

Linux版微信的正確打開方式 - 動態 詳情

關鍵字: 微信、Linux微信
2024年11月4日,Linux版的微信同Windows和Mac OS一起來到了4.0時代,Linux終於站起來了,甚至微信重構話題一度登上熱搜,隨處可見蹭熱度的文章。

微信剛剛發佈官網: https://linux.weixin.qq.com/

image.png

其實universal deb包我已經使用了將近一年時間,功能雖是閹割版,但體驗比deepin-wine的微信強太多,畢竟是專門針對Linux版製作的。這個版本上引用,撤回,收發文件等不能使用,甚至意見反饋都不能正常反饋意見,當時使用的包是wechat-universal-bwrap

4.0版本的微信非常完善,所有功能都有,圖片文字提取,OCR識別,甚至支持深色模式
image.png

下面以Manjaro/ArchLinux為例,記錄安裝和使用的問題

  1. 安裝

    其他發行版可自行網絡尋找包,或從AUR倉庫下載deb重新封包安裝
    注:本文發佈時,更新了4.0.0.23版本,該版本下載deb包地址疑似被限流
    yay -S wechat-universal-bwrap
  2. 卸載

    sudo pacman -Rcns wechat-universal-bwrap
  3. 更改配置項

    這部分是AUR作者編寫的Shell腳本完成的,本質就是給/opt/wechat-universal/wechat傳遞參數或者設置微信內置的一些環境變量,其他發行版可以將這個作者的輔助Shell腳本複製過去使用

執行wechat-universal --help可以看到相關配置項
image.png

4.設置掛載目錄

該目錄如果不設置,將無法使用上傳文件和粘貼圖片的功能,默認只能訪問微信的數據目錄
mkdir -p ~/.config/wechat-universal/;

# 僅掛載用户家目錄
echo "${HOME}/" > ~/.config/wechat-universal/binds.list

# 掛載常用目錄
echo "${HOME}/Documents"     > ~/.config/wechat-universal/binds.list;
echo "${HOME}/Downloads"    >> ~/.config/wechat-universal/binds.list;
echo "${HOME}/Music"          >> ~/.config/wechat-universal/binds.list;
echo "${HOME}/Videos"         >> ~/.config/wechat-universal/binds.list;
echo "${HOME}/Desktop"         >> ~/.config/wechat-universal/binds.list;
echo "${HOME}/Pictures"     >> ~/.config/wechat-universal/binds.list;

其他問題或許可在AUR評論區找到答案。

user avatar sofastack 頭像 u_16502039 頭像 u_13529088 頭像 lenglingx 頭像 jkdataapi 頭像 yizhidanshendetielian 頭像 huangxunhui 頭像 boxuegu 頭像 chenjiabing666 頭像 chaochenyinshi 頭像 tuhooo 頭像 devlive 頭像
點贊 43 用戶, 點贊了這篇動態!
點贊

Add a new 評論

Some HTML is okay.