Closed kde-yyds closed 1 year ago
Do you use chroot or something? I need your help with testing. Can you please install latest build from my fork? I want to merge it in the case if it works with chrooted environment.
Swipe down with three fingers to hide extra key bar... I added this feature this night.
I'm using proot because my device is not rooted. This fork of termux-x11 only shows the cursor.
@kde-yyds ?
I will try it on weekends.
Hiding the keyboard is possible , but after upgrading proot , It still shows only the cursor
Logs? Do export TERMUX_X11_DEBUG=1
before invoking termux-x11
.
@kde-yyds
Did you pass --ashmem-memfd
to proot?
@michalbednarski Can you please help here? I am not sure what is happening with proot.
@kde-yyds How exactly did you pass --ashmem-memfd
to proot?
Did you update all packages, including Xwayland and proot?
pkg upgrade
.
I didn't upgrade Xwayland, because I built it with glx support and upgrade with apt will override it
Termux's Xwayland was patched to enable glx 3 monthes ago. https://github.com/termux/termux-packages/commit/e43cb4947d3912f376173827e624a6f525d07641 . Do you use latest build? It seems to me I fixed that behaviour in latest versions. And some messages changed their order in later builds.
Does kde still scale big?
You can change dpi with commandline option (like -dpi 40
) . But resolution is still kept to be device's native.
And maybe you can confirm if https://github.com/termux/termux-x11/issues/147 also can be closed.
It works
What exactly? Xwayland in proot or chinese input?
And maybe you can confirm if #147 also can be closed.
but i cant find fcitx5-chinese-addons package
What exactly? Xwayland in proot or chinese input?
everything works after upgrading Xwayland
and not very big scale
You actually do not need it. It inputs chinese as Unicode symbols. I think it would be better to lauch termux-x11 from proot to invoke distro's Xwayland (to let it use MIT-SHM). Can you please try it?
root@localhost ~# Xwayland
(EE)
Fatal server error:
(EE) Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
(EE)
root@localhost ~ [1]# Xwayland :1
(EE)
Fatal server error:
(EE) Server is already active for display 1
If this server is no longer running, remove /tmp/.X1-lock
and start again.
(EE)
root@localhost ~ [1]# Xwayland :2
could not connect to wayland server
(EE)
Fatal server error:
(EE) Couldn't add screen
(EE)
root@localhost ~ [1]#
I know that the wayland socket name has been changed So what should I do
By the way,I cannot input chinese as unicode symbols
Do you use latest build? It was fixed there (I mean chinese). Read this .
And Server is already active for display 0
means you have another Xwayland instance.
Xwayland works in proot, but termux-x11 still shows "not connected" and black screen
Logs...
@kde-yyds ?
@kde-yyds ?
@kde-yyds I will not stop pinging you.
I think running Xwayland inside proot is not a good idea.proot has very low performance, only about 30%.
Besides, I have downgraded termux-x11 into an old version with direct mode
Sorry, I hardly have any time on weekdays. In my country, middle school students are too busy with our studies
when showing the addition keyboard, the bottom of the screen is covered. The screen should be resized.