deepin-wine
deepin-wine copied to clipboard
Ubuntu20.04 安装微信后,可以正常使用,但是屏幕分辨率异常
Ubuntu20.04 刚开始使用的是 1600 1024 分辨率(3:2),微信大小非常合适。后来更改到了2256 1504 分辨率后,微信界面就变得非常小,微信内的适用系统缩放比例无效。请问有什么合适的解决方案么?
改成这样就好了,加env DEEPIN_WINE_SCALE=2
cat .local/share/applications/com.qq.weixin.deepin.desktop [18:01:41]
[Desktop Entry]
Version=1.1
Type=Application
Name=WeChat
Comment=Tencent WeChat Client on Deepin Wine
Icon=com.qq.weixin.deepin
Exec=env DEEPIN_WINE_SCALE=2 /opt/apps/com.qq.weixin.deepin/files/run.sh -u %u
Actions=
Categories=X-GNOME-Other;chat;
StartupWMClass=WeChat.exe
我也遇到了同样的问题,env写入环境变量DEEPIN_WINE_SCALE=2
也不好用
.local/share/applications/
下面是这样的,没有com.qq.weixin.deepin.desktop
-rw-rw-r-- 1 260 6月 3 13:47 wine-extension-azm.desktop
-rw-rw-r-- 1 261 6月 3 13:47 wine-extension-azn.desktop
-rw-rw-r-- 1 251 6月 3 13:47 wine-extension-azs.desktop
-rw-rw-r-- 1 252 6月 3 13:47 wine-extension-azw4.desktop
-rw-rw-r-- 1 251 6月 3 13:47 wine-extension-azw.desktop
-rw-rw-r-- 1 225 6月 3 13:47 wine-extension-chm.desktop
-rw-rw-r-- 1 232 6月 3 13:47 wine-extension-gif.desktop
-rw-rw-r-- 1 227 6月 3 13:47 wine-extension-hlp.desktop
-rw-rw-r-- 1 225 6月 3 13:47 wine-extension-htm.desktop
-rw-rw-r-- 1 239 6月 3 13:47 wine-extension-ini.desktop
-rw-rw-r-- 1 235 6月 3 13:47 wine-extension-jfif.desktop
-rw-rw-r-- 1 234 6月 3 13:47 wine-extension-jpe.desktop
-rw-rw-r-- 1 249 6月 3 13:47 wine-extension-mobi.desktop
-rw-rw-r-- 1 248 6月 3 13:47 wine-extension-msp.desktop
-rw-rw-r-- 1 230 6月 3 13:47 wine-extension-pdf.desktop
-rw-rw-r-- 1 232 6月 3 13:47 wine-extension-png.desktop
-rw-rw-r-- 1 233 6月 3 13:47 wine-extension-rtf.desktop
-rw-rw-r-- 1 251 6月 3 13:47 wine-extension-tpz.desktop
-rw-rw-r-- 1 217 6月 3 13:47 wine-extension-txt.desktop
-rw-rw-r-- 1 240 6月 3 13:47 wine-extension-url.desktop
-rw-rw-r-- 1 230 6月 3 13:47 wine-extension-vbs.desktop
-rw-rw-r-- 1 228 6月 3 13:47 wine-extension-wri.desktop
-rw-rw-r-- 1 230 6月 3 13:47 wine-extension-xml.desktop
$ env | grep "DEEPIN_WINE_SCALE"
DEEPIN_WINE_SCALE=2
$ winecfg
winecfg:未找到命令
$ deepin-wine winecfg
deepin-wine:未找到命令
你是用的这个repo安装的吗?系统是什么?这样写环境变量必须从terminal启动weixin才有效啊
我也遇到了同样的问题,env写入环境变量
DEEPIN_WINE_SCALE=2
也不好用
root@root:/opt/apps/com.qq.weixin.deepin/entries/applications$ pwd /opt/apps/com.qq.weixin.deepin/entries/applications root@root:/opt/apps/com.qq.weixin.deepin/entries/applications$ ls com.qq.weixin.deepin.desktop root@root:/opt/apps/com.qq.weixin.deepin/entries/applications$ cat com.qq.weixin.deepin.desktop #!/usr/bin/env xdg-open
[Desktop Entry] Encoding=UTF-8 Type=Application X-Created-By=Deepin WINE Team Categories=chat; Icon=com.qq.weixin.deepin Exec=env DEEPIN_WINE_SCALE=2 "/opt/apps/com.qq.weixin.deepin/files/run.sh" -u %u Name=WeChat Name[zh_CN]=微信 Comment=Tencent WeChat Client on Deepin Wine StartupWMClass=WeChat.exe MimeType=
按win键,重新打开微信就正常了
重新打开第一次不一定可以的,打开/关闭重复几次操作
我也遇到了同样的问题,env写入环境变量
DEEPIN_WINE_SCALE=2
也不好用root@root:/opt/apps/com.qq.weixin.deepin/entries/applications$ pwd /opt/apps/com.qq.weixin.deepin/entries/applications root@root:/opt/apps/com.qq.weixin.deepin/entries/applications$ ls com.qq.weixin.deepin.desktop root@root:/opt/apps/com.qq.weixin.deepin/entries/applications$ cat com.qq.weixin.deepin.desktop #!/usr/bin/env xdg-open
[Desktop Entry] Encoding=UTF-8 Type=Application X-Created-By=Deepin WINE Team Categories=chat; Icon=com.qq.weixin.deepin Exec=env DEEPIN_WINE_SCALE=2 "/opt/apps/com.qq.weixin.deepin/files/run.sh" -u %u Name=WeChat Name[zh_CN]=微信 Comment=Tencent WeChat Client on Deepin Wine StartupWMClass=WeChat.exe MimeType=
按win键,重新打开微信就正常了
谢谢答主。问题已经解决了。不过建议先注销在重新登录,这样可以立刻生效。 另外我使用是2K屏,但是这个方法仍然有效,缩放效果还很好
非常棒!
Ubuntu 20.04 亲测成功,谢谢~
改成这样就好了,加
env DEEPIN_WINE_SCALE=2
cat .local/share/applications/com.qq.weixin.deepin.desktop [18:01:41] [Desktop Entry] Version=1.1 Type=Application Name=WeChat Comment=Tencent WeChat Client on Deepin Wine Icon=com.qq.weixin.deepin Exec=env DEEPIN_WINE_SCALE=2 /opt/apps/com.qq.weixin.deepin/files/run.sh -u %u Actions= Categories=X-GNOME-Other;chat; StartupWMClass=WeChat.exe
完美解决问题