View Single Post
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#1
OMG! This just happened...

I downloaded Manjaro ARM rootfs from here and extracted the contents into /home/nemo/Manjaro .

I mounted some stuff and chrooted in.
Code:
devel-su
cd Manjaro
mount --bind /dev dev
mount --bind /sys sys
mount --bind /proc proc
mount --bind /dev/pts dev/pts
mount --bind /run run
chroot ./
Then, I updated and installed some packages.
Code:
pacman -Syu
pacman -S plasma chromium plasma-wayland-session weston onboard
Note, I don't know which of these are actually necessary. You might not need weston.

Then, I created a directory in /run/user and exported some environment variables.
Code:
mkdir /run/user/1001
export $(dbus-launch)
export XDG_RUNTIME_DIR=/run/user/1001
Then, I did this:
Code:
kwin_wayland --xwayland &
... and an XWayland window opened!

Code:
export DISPLAY=:0
chromium --no-sandbox &
and Chromium browswer launched in the window, with full multitouch input! Touch-scrolling, pinch to zoom, and all that jazz. No onscreen keyboard though, when I try to type a URL.

Hmm
Code:
onboard &
And now I have Text input! I can install uMatrix in Chromium! Yaaaaaay!

One caveat, it looks like it's trying to draw a 1024x768 window on the 768x1280 screen (Nexus 4, portrait mode). It's cropped on the right side, and doesn't fill the whole vertical space.

Anybody know how to set the screen resolution for XWayland?
__________________
Leap before you look.

Last edited by preflex; 2017-02-07 at 22:27.
 

The Following 66 Users Say Thank You to preflex For This Useful Post: