![]() |
Re: XWayland Victory!
Nope, no window opening. It did work well when I untared the rootfs as nemo and then fixed the uid 0 issues, but that certainly caused a lot of other issues that maybe did not prevent opening xwayland, but surely would have caused a lot of other permission issues. I just did not play much with it when it worked so I had no chances to see any bugs. That time, the rootfs was unpacked in /opt according to Preflex's instructions and not on the SD, and I have not tried this again because apparently unpacking as nemo is not the way to go, and the untar process is very long so I could not do many experiments.
I would love to try with Debian or the Android runtime, or anything that could work really, but I have no idea where to start with and I have no skills to tweak things around to make it work. My only experience with chroot are EasyDebian on N900 or Preflex's instructions here, and there is no way I could do it myself without some pre-configured scripts and instructions. :/ It's sad that Preflex suddenly disappeared while his app was almost ready according to his posts. He has not replied to my PM a few days ago, hope nothing bad happened to him and that it's just a loss of interest in this project. |
Re: XWayland Victory!
I plan on making/helping create the GUI once my Sony Xperia X stops sharing all my personal data and becomes more sailfish. ;)
If you have sfdroid (community port) or an official Jolla device you should be able to install xserver xsdl (Android app) That would take the place of the command "kwin_wayland --xwayland" (Simply open the android app instead) Then you can continue exporting the display var and run a X11 app. |
Re: XWayland Victory!
I have updated scripts for create/use ubuntu. There are also basic configurations for kwin, weston and qxcompositor.
Use it with caution! https://github.com/elros34/sailfish_ubu_chroot Would be nice to have touch friendly configurations for lxde, xfce or other desktop environments. Thanks go to preflex and TheKit. |
Re: XWayland Victory!
Thanks a lot for that, can't try at the moment but I'll surely spend some time trying to make it work on my Jolla C during my days off soon. Would you have any link to the rootfs we should use with the scripts?
[Edit] And for reference, a link to your related tweak to allow landscape mode: https://openrepos.net/content/elros34/qxcompositor |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
Quote:
https://talk.maemo.org/showthread.php?t=93828 It looks like it mostly works... once again touch is the issue with the native install. |
Re: XWayland Victory!
Yes, it would be better to have Xwayland working in sailfish instead recompile it for every distro. Maybe it's enough to build latest Xwayland together with wl_seat.patch (like I did for ubuntu) in sfos sdk but I never managed to finish it.
|
Re: XWayland Victory!
By the way I got a reply from Preflex, who confirmed his application project is not abandoned, but he's busy with a Sailfish porting task at the moment and some hardware/internet issues, and then he plans on resuming his work on the application.
|
Re: XWayland Victory!
Hi I have download ArchLinuxChrootFS-armv7.tar.gz
I would like to install it on my micro sd card on my Jolla 1. I have copy the gz file to media/sdcard/ tar -xzvf ArchLinuxChrootFS-armv7.tar.gz (inside sdcard dir) Do i need to exctract files on /media/sdcard/ dir or /media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a dir? Now about these files: DeskChroot.sh ArchChroot.sh ManChroot.sh If i want to run the desktop what i need to change inside file DeskChroot.sh? what lines? If somebody can help me to run ArchLinux from my sdcard please. |
Re: XWayland Victory!
On my Jolla C
I had kept Manjaro installed. Now the dir is about 8 GB why? how to reduced it? Cause my storage now is full. I don't want to remove it. Since i have Manjaro installed i can't enter in mass storage mode when i plug usb on my pc why? hiw to resolve that? i can only with developer mode. Thanks |
Re: XWayland Victory!
Quote:
df -h /media/sdcard/ df -h /media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a Quote:
Quote:
|
Re: XWayland Victory!
Hi,
is it possible to run Archlinux on Xperia X with SFOS 2.1.3.5? https://github.com/Preflex/easy-chro...ases/tag/0.0.2 Anybody try? |
Re: XWayland Victory!
I put extract files tar.gz archlinux in
/home/nemo/Arch/ Here is my error: Code:
o@Sailfish ~]$ devel-su |
Re: XWayland Victory!
Code:
[root@Sailfish nemo]# cd Arch Code:
Sailfish ~]$ devel-su |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
Quote:
I installed arch chroot againg and i am going to buy slimport cable i want to attach this to a monitor to have some PC like experience on my Nexus 5 :) |
Re: XWayland Victory!
Quote:
/.ubuntu already mounted chrooting Failed to open /sfos/usr/libexec/droid-hybris/system/: No such file or directory. Aborting! groups: cannot find name for group ID 990 groups: cannot find name for group ID 992 groups: cannot find name for group ID 994 groups: cannot find name for group ID 997 groups: cannot find name for group ID 1000 groups: cannot find name for group ID 1002 groups: cannot find name for group ID 1003 groups: cannot find name for group ID 1005 groups: cannot find name for group ID 1006 groups: cannot find name for group ID 1013 groups: cannot find name for group ID 1023 groups: cannot find name for group ID 1024 Oh it chrooted but in console mode. How can i start GUI in landscape mode? I want landscape mode for arch linux but i wanted to try if it works so i chose qxcompositor. I also have installed this package on my sfos device https://openrepos.net/content/elros34/qxcompositor |
Re: XWayland Victory!
You must be more verbose. Does ubu_create.sh finished without errors? Try ubu_close.sh and then ubu_chroot.sh once again. You can also uncomment set -x from ubu_* scripts and in image /usr/share/ubu_chroot/
For gui try ubu_install.sh (qxcompositor, lxde) and read instruction about qxcompositor on openrepos. BTW slimport support is not in master branch and is untouched since eons. |
Re: XWayland Victory!
Quote:
I read instruction but do not understand. I have arch linux chroot working with GUI is it easy to modify for landscape mode? First it runs this chroot /opt/easychroot/Arch bash /usr/share/easychroot/scripts/start_xwayland_user_shell.sh $y $x $1 Code:
rm /run/user/100000/wayland-0.lock Code:
Start_DE="$1" |
Re: XWayland Victory!
As mentioned earlier for arch you would need to build xwayland with wl_seat.patch otherwise touch will not work.
I can't help if you don't provide me logs from your ubuntu installation (set -x or manual installation). Code:
i can't install anything For landscape mode: host: qxcompositor --wayland-socket-name ../../display/wayland-1 chroot: WAYLAND_DISPLAY=../../run/display/wayland-1 # for arch it can be different path Xwayland & Join to #sailfishos, it will be faster. |
Re: XWayland Victory!
I downloaded the roofs, and it runs AMAZING!! GREAT JOB man. :)
I had to start the desktop as root, but it is ok. Only thing that would be awesome is to have a mouse on screen like onboard, similar to a laptop. |
Re: XWayland Victory!
I've been working on my manager again.
Also, I managed to get firefox-wayland to compile on archlinux x86_64. Need to cross-compile for archlinux-arm. This might get interesting. Sorry I've been away for so long. Good stuff on the way soon. |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
1 Attachment(s)
The nix package manager works out of the box on arm64 and probably x86 sailfish devices (I tried it on my Xperia X) with xwayland and pulseaudio working :)
Even chromium works quite nicely if paired with kwin and onboard! Before you install nix please make sure that you have enough space on your rootfs or do as I did and mount your sd-card to /nix. Also run Code:
devel-su touch /nix/.nomedia Here's a link to a patched arm64 xwayland with working touch-input (I applied this patch). |
Re: XWayland Victory!
"sh: sorry, there is no binary distribution of Nix for your platform"
No armv7 support? Just 64-bit? Bummer ... |
Re: XWayland Victory!
Maybe guix for 32-bit fun?
|
Re: XWayland Victory!
Quote:
However a lot of packages won't have a prebuild version on armv7 so building chromium/firefox will take a 'while'. |
Re: XWayland Victory!
Quote:
Thankfully guix has icecat 52, (but no chromium) precompiled, as well as prebuilt xwayland packages. However, it doesn't seem like the official guix repo doesn't precompile for aarch64. Note: i had to add the Code:
--disable-chroot It looks like nix for aarch64 users, and guix for the 32-bit crowd, at least, for now. guix is weird, but I think I like it. It builds from source by default, and only takes binaries if you ask it to do so. It doesn't look like guix has onboard in it, whether source or binary. Bummer. I guess I'll have to figure out how to build and package it. Sounds like fun. Guix seems a lot like nix, but the official repo has less stuff, and it is very Stallmanite (can't blame 'em, guix is an official GNU project, after all).. I wonder how much work it would be to write a local service to match Qt and GTK color schemes to the ambiance theme. Much to think about over the coming days, including whether to replace my ailing mako with another mako, jump the shark to hammerhead (which has reasonably-good halium support), wait until next month to get a xperia, or hold out for the librem5. |
Re: XWayland Victory!
Quote:
Additional bonus is I don't kill my battery while crunching it :) When on the road you could probably mount something over air interface but I guess the latencies pretty much kill any usability... :D |
Re: XWayland Victory!
geez guys just set up the cross compilation toolkit, compiling on device is fine for small things...
|
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
I was building for archlinux,x86_64 and it had problems packaging. Building for arm will take a while.
Building for mer would be a good idea, but there's likely to be issues with keyboard support. I'm expecting some replacements for my Nexus 4 later today. I'll be busy tomorrow, but I should have plenty of time to hack around with stuff on Thursday. |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
I installed archchroot on my nexus 5 and i can't use internet in arch chroot. It does not resolve hostnames too. Although it does work great on nexus 4 using 2.0.5.6 but on nexus 5 i have 2.1.3.7 SFOS
|
Re: XWayland Victory!
Quote:
you can try this command(run as root[sudo, etc]: Code:
echo nameserver 8.8.8.8 > /etc/resolv.conf |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
Quote:
https://bgpstream.com/event/138295 |
Re: XWayland Victory!
Great Job! :)
|
All times are GMT. The time now is 23:22. |
vBulletin® Version 3.8.8