![]() |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
Quote:
As they say it's faster in both ways RAM and Storage. Also it's crazy mod 3 GB RAM + 64 GB STORAGE on nexus 5. I wish i could do it. I only have done battery mod on nexus 5. |
Re: XWayland Victory!
Quote:
There is also a Window scaling setting in Settings > Appearance > Settings, mine is set to 1× but I know some prefer having it set to 2×. Be careful not to set it to 2× if your DPI is already set to make the UI look larger, otherwise the windows won't fit in the screen anymore and it will be difficult to change the scaling back to 1×. If that happens, you can move windows using Alt+Click if you have a keyboard, or using the window menu (click on the left icon in the title bar). If stuck after changing the above setting, you can also change the window scaling factor in Settings > Settings Editor > xsettings, and the option will be on the top plus you can navigate through the individual options using the up/down arrows of a keyboard if the options you want is out of the screen. The DPI settings are also in this settings page, if you scroll down. If you are unsure, just make a backup of you ext4 file in the sailfish_ubu_chroot folder before altering the xsettings. |
Re: XWayland Victory!
Quote:
I can show you if i find it :-) |
Re: XWayland Victory!
Quote:
http://talk.maemo.org/showpost.php?p...&postcount=243 |
Re: XWayland Victory!
Nice!
Which virtual keyboard is that? Do you still know the package name? I am using xvkbd but it is very badly labeled. It has 3 chars shown on each key and it is quite unreadable. |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
I would say Onboard too (I suggested it to edp17 in post #277 but not sure if he tried).
|
Re: XWayland Victory!
that could be onboard, right. Thx for the hint!
I settled with florence now. https://talk.maemo.org/attachment.ph...1&d=1579567304 |
Re: XWayland Victory!
Quote:
However, unfortunately I could not try that because I messed up my ubuntu chroot image. :D First I changed the DPI to something large, then I accidentally set the Window scaling to 2x. Well, that was a bad idea as you stated in one of your previous comments. (I wish would have read that before.) Finally I could not revert this change and because the whole experience was really slow on Nexus 5 anyway, I deleted that rom where I installed the ubuntu chroot. Having 4 roms already on my Nexus 5 do not let me much extra space, so i cannot really make a backup of the ext4 file. (In this scenario the extra storage would come handy.) So, maybe once I can free up some space I will re-try again and let you know the outcome. |
Re: XWayland Victory!
Quote:
The same experience (full linux distro in a chroot) on the Nexus 5 is worse (at least for me) because the Nexus 5 way less powerful that the S7. On the S7 the ubuntu in the chroot was very fast! I didn't feel any lag or whatsoever. Within the chroot I installed/used Window XP with qemu and the speed of the XP was faster than the speed of the ubuntu in chroot in my Nexus 5! I think this is pretty good if you bear in mind that the qemu emulated a full x86 pc for the XP on my S7. (I have tried too the Limbo PC emulator android app but that speed was way far from what I got with qemu.) I even installed a Windows 7 on the S7. Well, that was very slow but worked ok-ish. It felt like running Windows 98 on a 486-SX. :) I understand you fully support PMOS as that is pure linux without any android layer, but until that matures into a rom what I can use with, at least the same compromise how I am currently using SailfishOS, PMOS is not a viable option for me. However if I can build a usable Sailfish image for my S7 I may remove the multirom on my Nexus 5 and will try PMOS. (If it worked with multirom I would already have installed/tried.) |
Re: XWayland Victory!
Quote:
I am also not sure why the phone became faster after this upgrade as they didn't upgrade the cpu. I understand the phone has got faster components (memory and storage) but I cannot imagine a significant difference without upgrading the cpu + the other components. We will see how he done that once he posts the steps and instructions. :D |
Re: XWayland Victory!
Quote:
is it possible to install sfos on it? |
Re: XWayland Victory!
Quote:
For next tries, you could just store the backup on your computer using "sftp://nemo@ip" in the address field of your Linux file manager, or using "scp nemo@ip:/path/to/the/file/on/phone /path/to/the/folder/of/your/choice/on/pc" in terminal. |
Re: XWayland Victory!
Quote:
Code:
$ sshfs -o idmap=user,allow_other root@192.168.2.15:/ /mnt/n900 |
Re: XWayland Victory!
Quote:
This page says the bluetooth and camera do not work on bullhead but if you build a new image, this can be fixed. ;) (I think it is a similar scenario to my galaxy s7. I have found an old image that I finally could install and try on the device. But that image being old and experimental version doesn't really can be used as a daily driver, so I decided to try building a new image for the s7. I am currently in the process but also started thinking about replacing it with a Xperia XA2. However in that case I would ose the fun of porting. :D) |
Re: XWayland Victory!
Quote:
I like this one and think this is a very useful trick! :D If the phone is actually part of the PC's file system, that eliminates the need of filezilla or other file transfer as I can simply copy/paste files from and to it. |
Re: XWayland Victory!
Quote:
If I mess it up again I will remember to use the xsettings. In this occasion it would be difficult as I didn't have keyboard installed so I was not able to type any commands. Plus to be honest I didn't want to install this on my daily rom because I have tried some other chroot solutions earlier and all of those attempts were ended up with a messed up rom and I needed to re-install and re-configure everything. Therefore with this one I decided to try this on a separate rom and when I messed up the window scaling AND didn't have keyboard in the ubuntu AND ran out of space AND the speed of the ubuntu was much slower than I expected, I decided to remove the rom including the chroot. Hopefully soon I can free up some space and will re-try as I want a usable desktop linux on my phone. The best part of using the Nexus 5 and SailfishOS is if something is missing for the ubuntu from the kernel, I can change that in there anytime. All of my other solutions on the S2 and S7 were lack of this option. When something wasn't working in the chroot because of a missing kernel config, I got stuck and could not change. |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
Quote:
Can you please upload this application. I would like to test it on my Jolla C. If you have all rootfs files saved. Thank you |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
I've installed a chroot and the Chromium browser based on the scripts provided by https://github.com/elros34/sailfish_linux_chroot.
If there is no qxcompositor installed, the browser does not start and if I install the qxcompositor it starts in landscape mode. However, I would like to have the browser in portrait mode. Is there a setting where I can change the orientation? I don't have a hardware keyboard but maybe the virtual keyboard from the webstore https://chrome.google.com/webstore/d...ddkoolinlfninn works. Did anyone of you try this out? |
Re: XWayland Victory!
Scripts were inspired by Preflex work. Besides mention about it in README now I have changed license from BSD to GPL because that was probably initial license of Preflex's scripts and added him as a author to sources. Sorry for not doing it earlier.
Also I renamed it from ubuntu to linux and refactored scripts so other distros can be used. I was hoping to swich to debian because ubuntu use snaps for chromium now and that doesn't work in chroot but so far apps in debian 11 crash both with mesa and with libhybris. So for now only new distro is sailfish rootfs (kind of sdk). It can be used to compile and build packages without breaking device (libhybris -> mesa transition). @woidboy There is no ready to use script to do this but quick test with matchbox I did allow me to start chromium in portrait. It could be also done without matchbox: with --window-size= arg for chromium and that browser addon but in my test that didn't work in all cases. Don't expect too much. All is very hacky. Code:
./chroot.sh |
Re: XWayland Victory!
Quote:
|
Re: XWayland Victory!
sudo should works out of the box so something goes wrong during image creation. You should have /.ubuntu/usr/share/sfchroot/.create_finished.
|
Re: XWayland Victory!
Quote:
Sorry I've been AWOL. Lots of heavy stuff going on. Additionally, I've been stuck with a Nexus 4 on SFOS 2.0.5.6. Try as I might, I've never been able to get a newer version up to snuff. Thus, I've been stuck on an ancient SDK, and development has seemed not worthwhile unless I can build for recent versions. On the bright side, I ordered a pinephone today, so at least I won't be infuriated by hybris anymore. As I understand it SFOS on Pine still has some rough edges. Given my bizarre personal situation (and pandemic and whatnot) I don't know when I'll be able to contribute. I deleted all of my github repos the same minute the MS buyout was announced. After what Elop did to us, I'm kind of shocked that any TMO folk still use them. The Idea that users would have to go through MS to access my work disgusts me even more than its unavailability (which I'm also ashamed of, but less ashamed than I would be by still having a github account in 2020). It isn't currently on my desktop, because my SSD crashed a few weeks ago, but the code persists on a spare drive which is currently difficult for me to access. It's a low priority for me. I have bigger fish to fry, including housing and personal safety. I've yet been unable to move over to Gitlab. I'd prefer a self hosted instance, however, I just don't have the code at my fingertips. But FSCK MICROSOFT FOREVER! I will never ever, ever, ever cooperate with them in any way. |
Re: XWayland Victory!
2 Attachment(s)
Quote:
Phone is Xperia XZ2c, running SFOS, community port. I was able to launch a window with kwin_wayland <width> <height> --xwayland &, but it's just an empty window. Not sure how to get it to connect with container... edit - nvm, I got it... https://talk.maemo.org/showpost.php?...0&postcount=87 |
Re: XWayland Victory!
Anybody here have any insight into this...
https://talk.maemo.org/showpost.php?...&postcount=192 (same issue here) https://talk.maemo.org/showpost.php?...&postcount=431 ? Thanks |
Re: XWayland Victory!
@preflex @edp17 (or anyone) - Any idea about this - https://talk.maemo.org/showthread.ph...65#post1573665 ?
|
All times are GMT. The time now is 18:24. |
vBulletin® Version 3.8.8