maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   XWayland Victory! (https://talk.maemo.org/showthread.php?t=98882)

karan5chaos 2017-02-08 08:49

Re: XWayland Victory!
 
Quote:

Originally Posted by claustn (Post 1523005)
It runs on a Nexus 4, so it works on Sailfish ports!

Thank you for the quick reply :)

coderus 2017-02-08 09:25

Re: XWayland Victory!
 
Works, looks interesting.

pichlo 2017-02-08 10:15

Re: XWayland Victory!
 
Quote:

Originally Posted by preflex (Post 1522984)
Then, I updated and installed some packages.
Code:

pacman -Syu
pacman -S plasma chromium plasma-wayland-session weston onboard


Mmm, pacman...

http://static1.gamespot.com/uploads/...t+16.12.27.png

mrsellout 2017-02-08 10:53

Re: XWayland Victory!
 
Quote:

Originally Posted by karan5chaos (Post 1523004)
Really interesting !
Would it work on SFOS Ports aswell ? :)
Also I'm a noob in linux and it's commands so can someone explain me what kind of apps we would be able to run with this ? :)
Thank you.

While Sailfish is a linux operating system, it differs from most distributions in that it uses the newer Wayland protocol instead of the X windowing system (or X11) that the majority of distributions use.

This is important for any piece of software that has a window. Most of them are built to use X11. In order to allow them to run on a system that uses Wayland, XWayland has been developed, but until now, I think I'm right in saying it hasn't been possible to run it on Sailfish.

So this removes that constraint, and will make it possible for applications that needed an X server to run, to run on Sailfish. Examples are Libreoffice, Gimp, Thunderbird, etc.

Read about
a) Wayland: https://en.wikipedia.org/wiki/Wayland_(display_server_protocol)

b) X Window System: https://en.wikipedia.org/wiki/X_Window_System

c) XWayland: https://en.wikipedia.org/wiki/Waylan...ibility_with_X

tmi 2017-02-08 12:07

Re: XWayland Victory!
 
Quote:

Originally Posted by pichlo (Post 1523012)
Mmm, pacman...

That's ms. pacman for you... mzzz!
(Always had a soft spot for the baby one though, maybe due to the pinball part) /OT

Can't wait what a working XWayland on Sailfish brings!

preflex 2017-02-08 12:16

Re: XWayland Victory!
 
Quote:

Originally Posted by BluesLee (Post 1522998)
The next step would be to package everything so that the non techies can also profit from it.

Do things like sound, video work?

Video seems to work. I went to Youtube and played a video. It doesn't seem accellerated. FPS was watchable but not great.

I haven't set up audio yet. It's probably just a matter of setting PULSE_SERVER environment variable in the chroot. Maybe also some command inside SFOS to get pulseaudio to accept the connection.

mscion 2017-02-08 13:29

Re: XWayland Victory!
 
This is great news! Anyone try it on Jolla tablet? Would something like wxmaxima work? Presumably I would have to download the code and compile it on device. If that is the case, from which repositories should I try downloading code that is a best match for Jolla? Thanks!

preflex 2017-02-08 13:49

Re: XWayland Victory!
 
Quote:

Originally Posted by mscion (Post 1523042)
This is great news! Anyone try it on Jolla tablet? Would something like wxmaxima work? Presumably I would have to download the code and compile it on device. If that is the case, from which repositories should I try downloading code that is a best match for Jolla? Thanks!

wxmaxima is in Manjaro's extra repo. You should be able to install it with "pacman -S wxmaxima". You don't need to do anything fancy. All the xwayland business is handled by kwin in the guest OS. No porting/recompilation required. Just download the rootfs, extract it somewhere, set up the mounts, chroot, set some environment variables, and install whatever packages you need and want. You could also install lxpanel so you can easily launch programs within the gui. (Plasma itself doesn't work properly because it tries to run natively in wayland)

Note: You don't have to use Manjaro. I just picked it because I like Arch, but I'm too lazy for real Arch. Any distro with recent plasma/kwin should work (5.7 or later, i think. Maybe older. Debian Jessie is too old). Here is an Ubuntu rootfs you could use if you prefer debian-style package management. You should be able to apt-get install kwin, xwayland, onboard, and whatever other packages you need. The packages I installed in the first post are certainly overkill.

mscion 2017-02-08 14:20

Re: XWayland Victory!
 
Fantastic! This is what I had always hoped for in a Jolla device. Probably could even make a Jolla pc with btkb now!

preflex 2017-02-08 14:23

Re: XWayland Victory!
 
If you're having trouble with the lockscreen popping up,
Code:

kcmshell5 screenlocker
un-check the option to lock the screen.


All times are GMT. The time now is 20:37.

vBulletin® Version 3.8.8