Comments (16)
@huan I found a silly way to fix this bug.
Refer to https://blog.csdn.net/weixin_34419326/article/details/94345055 this may be an old bug on GNOME.
Fix this with the following step:
-
change the display mode to mirrors, use
xrandr --output HDMI-1-2 --same-as eDP-1-1
, HDMI-1-2 is the external display, and another is the built-in display. -
dochat.sh
-
change display mode back, use
xrandr --output HDMI-1-2 --right-of eDP-1-1
.
I made a new shell script to do this.
xrandr --output HDMI-1-2 --same-as eDP-1-1
DOCHAT_SKIP_PULL=true /home/yuhui/App/wechat/dochat.sh &
sleep 5
xrandr --output HDMI-1-2 --right-of eDP-1-1
During sleep time, you must drag the dialog left, otherwise, it may be stuck on the external display
from docker-wechat.
@huan I found some interesting.... I don't know if you have a 21:9 display, app won't work when the external display connection, but view will appear when I disconnect the external display.
from docker-wechat.
I change the display mode, disapper just happened when I use Join Displays mode, and will stuck if drag the view to external display even it started, so maybe read the display config error?
from docker-wechat.
A new discover, I also use your wxwork, but it works fine.
from docker-wechat.
@wangyuhuiever Indeed! Using one screen it starts up perfectly. in 2 or more monitor setups, it won't start up.
I managed to start it with one monitor, and then switch to multiple monitors. This does work, but after dragging the window to other monitors, it disappears mysteriously
from docker-wechat.
Hmm... interesting...
Please definitely let me know the reason if you can make it work!
from docker-wechat.
Hmm... interesting...
Please definitely let me know the reason if you can make it work!
I have this problem, show the scale resolution dialog first, then disapper,without top icon showed.
I rewrite the dochat.sh, use the docker image bestwu/wechat, then it work.
test in Ubuntu 19.10
from docker-wechat.
Same problem here.
Manjaro & dsiplay scale = 100%
It keeps showing starting but cannot show the window
from docker-wechat.
@wangyuhuiever It should work under Ubuntu 19.10 because I'm right using this version. If you can reproduce on another Ubuntu 19.10 box, please let me know how to reproduce it.
@yuluobin Linux Manjaro distribution should be another issue. Please feel free to create a new issue for the Manjaro distribution problem. Thank you very much.
from docker-wechat.
same
ubuntu 20.04
from docker-wechat.
@wangyuhuiever Thank you very much for sharing the solution of using DoChat with a dual monitor!
Cloud you please add an FAQ entry in our README by sending a PR, so that the future dual monitor users like you can be easily found the solution?
from docker-wechat.
Same problem here. It says starting but I see no window turning up.
from docker-wechat.
The above fix doesn't help in my case.
I am trying DoChat out on Ubuntu 18.04 on Parallels virtual machine with an external display connected via HDMI to my physical machine (MacBook pro 15-inch)
I don't think this problem is specific to gnome because I tried on two desktop environments: gnome and deepin. After running the script, there is output Starting Dochat xxxx
and I can see a DoChat
container running using sudo docker ps
. However, there is no GUI window that shows up.
from docker-wechat.
Just tried on a real Ubuntu 18.04 machine. The problem persists. The above fix doesn’t help since I don’t have any external display connected at all.
from docker-wechat.
Today I run into this issue after I added a new 4K monitor for my Ubuntu 19.10.
And I found that this issue is related to the zixia/wechat:2.7.1.85
: when I run the v2.7.1.85 in my dual monitor system, the CPU got 100% usage and no window shows up.
However, after I decide to dive into it with my development environment, I found that the v2.8.0.112 works without any problem.
To use 2.8.0.112, you can try the following command by specifying DOCHAT_WECHAT_VERSION=2.8.0.112
:
curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh \
| DOCHAT_WECHAT_VERSION=2.8.0.112 DOCHAT_DPI=200 bash
At last, I found that the input editor in 2.8.0.112 does not show any characters at all, no matter whether it's English or Chinese.
Please feel free reply to this issue if you have any experiences to share, thank you very much.
from docker-wechat.
Today I run into this issue after I added a new 4K monitor for my Ubuntu 19.10.
And I found that this issue is related to the
zixia/wechat:2.7.1.85
: when I run the v2.7.1.85 in my dual monitor system, the CPU got 100% usage and no window shows up.However, after I decide to dive into it with my development environment, I found that the v2.8.0.112 works without any problem.
To use 2.8.0.112, you can try the following command by specifying
DOCHAT_WECHAT_VERSION=2.8.0.112
:curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh \ | DOCHAT_WECHAT_VERSION=2.8.0.112 DOCHAT_DPI=200 bash
At last, I found that the input editor in 2.8.0.112 does not show any characters at all, no matter whether it's English or Chinese.
Please feel free reply to this issue if you have any experiences to share, thank you very much.
After scanning the QR code it shows that the version of the wechat client is too low and it just don't start.
from docker-wechat.
Related Issues (20)
- docker 启动失败 HOT 3
- dochat.sh always prints "Exited with code [0]" HOT 2
- Fail to start wechat on ubuntu 22.04.2 LTS HOT 1
- unbuntu 22 install wechaty by docker get error. no such file or directory, open '/bot/package.json'
- 启动盒装微信后会影响系统进入睡眠(退出盒装微信也一样)
- 用普通用户运行,却以根用户权限创建$HOME/DoChat目录,是如何做到的呢? HOT 1
- 【需求】微信什么时候可以更新到3.9呢?
- 【问题】文件映射老是不正确 HOT 3
- 在部分Wayland的DM上有黑色遮罩窗口无法使用 HOT 2
- nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.
- 有没有appimage的版本?
- 如何才算成功 HOT 2
- [RP Discuss] I've confirmed zixia/wechat:3.3.0.115 can run on Linux Mint 21.2 HOT 1
- [BUG] ubuntu 20.04 运行Dochat 后每次打开wechat 都会出现一次图标, 导致有很多微信图标, 但是无法关闭,不知道如何解决
- Exited with code 0 immediately after starting HOT 1
- Outline and resizing issue
- 我使用一键部署提示“Disabling patch for /home/user/.wine/drive_c/users/user/AppData/Roaming/Tencent/WeChat ...” HOT 1
- 隐藏程序运行错误窗口 HOT 2
- 第一次执行curl拉去镜像并运行微信后,下次运行微信可以不再执行curl了吗?
- DoChat can not use "Chat History Migration & Backup" feature HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wechat.