[Share Experiences] 大幅降低 Wine 微信内存占用(牺牲小程序和公众号)
Tofloor
poster avatar
deepin-superuser
deepin
2022-02-24 18:00
Author

操作步骤

rm -rf ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/XWeb/
touch ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/XWeb
chmod 000 ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/XWeb 

前后对比

截图_deepin-system-monitor_20220224094843.png

截图_deepin-system-monitor_20220224095224.png

不喜欢朋友圈视频自动播放的也可以删除 ThumbPlayer

rm -rf ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/ThumbPlayer/
touch ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/ThumbPlayer
chmod 000 ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/ThumbPlayer

不喜欢更新提醒的可以删除 UpdateNotify、WeChatUpdate(未测试)

rm -rf ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/UpdateNotify/
touch ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/UpdateNotify
chmod 000 ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/UpdateNotify

rm -rf ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/WeChatUpdate/
touch ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/WeChatUpdate
chmod 000 ~/.deepinwine/Deepin-WeChat/drive_c/users/$(whoami)/Application\ Data/Tencent/WeChat/XPlugin/Plugins/WeChatUpdate
Reply Favorite View the author
All Replies
2 / 2
To page
灵兮之
deepin
2022-08-11 02:30
#21

能去掉微信的浏览器插件,保留小程序使用吗

Reply View the author
deepin-superuser
deepin
2022-08-11 03:16
#22
灵兮之

能去掉微信的浏览器插件,保留小程序使用吗

不行

Reply View the author
灵兮之
deepin
2022-08-16 02:00
#23
deepin-superuser

不行

微信干掉那个浏览器内存占用确实少了很多

QQ有优化空间吗,现在qq开起来经常跑到1G多

Reply View the author
deepin-superuser
deepin
2022-08-16 16:17
#24
灵兮之

微信干掉那个浏览器内存占用确实少了很多

QQ有优化空间吗,现在qq开起来经常跑到1G多

没有 是QQ主进程的内存占用一直增长,没法删除

Reply View the author
lvs
deepin
2022-09-15 01:07
#25

注册了账号,专门来感谢楼主。 让Wine 微信在我的十年+老本上达到可用状态。 多谢多谢。

Reply View the author
138******40
deepin
2023-03-26 17:51
#26
说书人

我斗胆说一下想法,只把 WechatBrowser.exe 的权限改掉,让微信无法调用内置浏览器。会不会就能正常调用系统默认浏览器了。这样,看公众号就不受太大影响了。

已经试过你说的改权限的方法了,非常有效,现在占用内存非常小,也非常流畅,点赞!

Reply View the author
138******40
deepin
2023-03-26 17:58
#27

这个是目前的状态,感觉还是很舒适的,进程里面没有特别占内存的wine进程。更改了系统权限后,确实好用多了。
截图_选择区域_20230326095345.jpg

Reply View the author
浪云
deepin
2023-04-02 01:31
#28

这么好的帖子,现在才看到,深深的埋藏着,马上试下

我的微信路径是

/home/aoc/.deepinwine/Spark-weixin/drive_c/users/aoc/Application Data/Tencent/WeChat/XPlugin/

我能找到删除了这个xweb文件夹,

但是我不懂这个命令的意思,好像一个是删除,一个是建立,

还有也不懂 后面这半窜 的作用Data/Tencent/WeChat/XPlugin/Plugins/XWeb,是换个地方吗?

目前是mint,所有linux数据在一个根分区,

微信聊天记录在ntfs分区,与win下的在一起共享聊天记录。

请教这几个命令

Reply View the author
2 / 2
To page