![]() |
Re: Full linux distros on Sailfish OS
Quote:
So, as for the Stretch installation, I used the same config file what was created for my Sid installation, therefore when I started the Stretch container it used the Sid rootfs. (This explains why I got conky running however that was only installed on my Sid container.) Then when I destroyed my Stretch container, I accidentally deleted the sid folder in /home/.lxc. With this action, I managed to delete the Sid rootfs, therefore that couldn't start. I needed to create a new container and install Sid again. Then now I need to configure. :) This was a lesson to learn in a hard way, so please do not follow my example. :) About the /var/lib/lxc/<container_name>/config file. There are some container specific lines so we should not copy between containers, or if we do, just adjust these two lines accordingly: Code:
# Container specific configuration |
Re: Full linux distros on Sailfish OS
Quote:
(I am glad that I shared that, because now I need to configure my Sid desktop again, so I can use that for myself. :D) |
Re: Full linux distros on Sailfish OS
2 Attachment(s)
Quote:
I can only get portrait mode. I used your 'debian-landscape' script, and it launches the window, but still in portrait mode. When I rotate the phone, the screen rotataes, but the desktop is still in portrait, so only see half. I see rotation swttings in Settings > Display, and I set to rotatae right or left, but no effect... Thanks |
Re: Full linux distros on Sailfish OS
Quote:
In the script this line is responsible for the portrait or landscape mode: for landscape: `/usr/bin/qxcompositor --wayland-socket-name "../../display/wayland-container-0"` & for portrait: `/usr/bin/qxcompositor -o portrait --wayland-socket-name "../../display/wayland-container-0"` & |
Re: Full linux distros on Sailfish OS
Finally, I have managed to reinstall my Sid container.
Plus I installed a Dos emulator. ;) https://i.ibb.co/xmfb8JS/treltexx-civilization600.png |
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
2 Attachment(s)
Quote:
Thanks edit - just found out about kwin-wayland. Going to try it... So, 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... |
Re: Full linux distros on Sailfish OS
2 Attachment(s)
Update - got it working on Debian Sid, after installing plasma package, and plasma browser integration...
|
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Quote:
It always starts xfce4 for me. I tried to attach the container then start manually with 'plasma_session' command, but that didn't work. When I tried to start from the xfce4 session, it didn't work (obviously). |
Re: Full linux distros on Sailfish OS
3 Attachment(s)
Quote:
But, this is not how I was launching Chromium, but it was just from Application menu on the desktop... BTW - I still can't get landscape mode by any means - landscape script, kde system settings, plasma settings, xrandr, efc... all fail to have any effect |
Re: Full linux distros on Sailfish OS
2 Attachment(s)
more screens
|
Re: Full linux distros on Sailfish OS
I have sid running in a container again. My problem is still the keyboard layout under xfce4. I have copied the layout to .lxc/Sid/usr/share/X11/xkb/symbols but in xfce4 it doesn't show up in the keyboard settings. How do I make it visible there, so that I can choose it and set it active? I have read that there is an entry necessary in .lxc/Sid/usr/share/X11/xkb/rules/endev.xml. but there is also a endev.lst in this folder. Do I have to edit both and what exactly do I have to put in there?
|
Re: Full linux distros on Sailfish OS
Quote:
Here is the result: https://i.ibb.co/9WnZ3VR/plasma-on-treltexx1024.png For the landscape mode, I would suggest to start xfce4 in landscape first. Plus, to be able to launch the Chromium browser, you don't need to start plasma. I just installed Chromium and was able to launch from the menu within xfce4 without plasma_desktop. I'll play with plasma. It would be good if plasma somehow can be started as a default DE. |
Re: Full linux distros on Sailfish OS
Quote:
I can't get anything to launch in landscape mode, not even xfce. I set landscape as the option in containers settings, I use landscape script, I set the display settings in Linux to rotate - it doesn't matter. Nothing causes landscape rotation ... |
Re: Full linux distros on Sailfish OS
Update - I wiped everything and started from scratch, and now landscape works. I guess I must have done something wrong in setup or something ...
|
Re: Full linux distros on Sailfish OS
Quote:
For me when I start in landscape, it automatically rotates the screen when the xwayland window starts. Now, you may try again Chromium without plasma. For me, in plasma, I could change the font size in the windows but not in the menubar down there. So if you know the trick, please let me know. :D |
Re: Full linux distros on Sailfish OS
Quote:
One question - Do you know if it's possible to get OnBoard keyboard to show on the Plasma lock screen ? Thanks for all your help. |
Re: Full linux distros on Sailfish OS
I got the keyboard to work under xfce4. I copied the pro1 xkb directly under .../symbols. Than It's enough to edit .lxc/Sid/usr/share/X11/xkb/endev.xml and to add:
Code:
<layout> |
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
1 Attachment(s)
Hello there! I have A xiaomi Red Note 7 phone with Sailfish: 3.3.0.16 (Rokua) I'm trying to launch currently supported distributions but the error "The container failed to start."falls out. Tested on different architectures:
debian sid amd64 default 200914_06:02 debian sid amd64 default 200914_05:24 debian sid ramel default 200914_05:24 debian sid armhf default 200914_05:24 debian sid i386 default 200914_05:24 debian sid ppc64el default 200914_05:24 debian sid s390x default 200914_05:24 immediately the question is what architecture is supported by my phone? I did everything according to the instructions: /dev/pts/ptmx [root@RedmiNote7 nemo]# zcat /proc/config.gz | grep CONFIG_DEVPTS_MULTIPLE_INSTANCES CONFIG_DEVPTS_MULTIPLE_INSTANCES=y [root@RedmiNote7 nemo]# zcat /proc/config.gz | grep CONFIG_NAMESPACES CONFIG_NAMESPACES=y [root@RedmiNote7 nemo]# zcat /proc/config.gz | grep CONFIG_UTS_NS CONFIG_UTS_NS=y [root@RedmiNote7 nemo]# zcat /proc/config.gz | grep CONFIG_IPC_NS CONFIG_IPC_NS=y [root@RedmiNote7 nemo]# zcat /proc/config.gz | grep CONFIG_PID_NS CONFIG_PID_NS=y [root@RedmiNote7 nemo]# zcat /proc/config.gz | grep CONFIG_NET_NS CONFIG_NET_NS=y [root@RedmiNote7 nemo]# zcat /proc/config.gz | grep CONFIG_CGROUPS CONFIG_CGROUPS=y [root@RedmiNote7 nemo]# zcat /proc/config.gz | grep CONFIG_CGROUP_DEVICE CONFIG_CGROUP_DEVICE=y [root@RedmiNote7 nemo]# zcat /proc/config.gz | grep CONFIG_CPUSETS CONFIG_CPUSETS=y zypper install lxc-templates-desktop-1.2-1.noarch.rpm zypper install qxdisplay-0.1-2.armv7hl.rpm zypper install harbour-containers-0.4-1.armv7hl.rpm lxc-create -t sfos-download -n sid lxc-start -n sid The container failed to start. To get more details, run the container in foreground mode. Additional information can be obtained by setting the --logfile and --logpriority options. I will be glad of any help! |
Re: Full linux distros on Sailfish OS
@levone1
There is no lock screen. When I log out I'm on a black screen saying Waiting Xwayland window... @garyn4 On my pro1 I have chosen arm64. @all how do I simulate a right click? |
Re: Full linux distros on Sailfish OS
Quote:
You can do right-click using one of the full layout options in OnBoard settings, (I think 'full' and 'compact' both show the mouse buttons. To the right of the keyboard, there ate little cursor icons, one pointing right, one left, and one double... |
Re: Full linux distros on Sailfish OS
I seem to have internet connection issues with mobile data - works sometimes but not other times... No issues when using WiFi. Any ideas abou a configuration file I can chec or a reset command or something? Seems like it works when starting the container with a good connection, but if there's any interruption or network change or something, it cuts out and won't come back without a restart...
|
Re: Full linux distros on Sailfish OS
Quote:
For me mostly a reconnect solves the issue, but sometimes I have to deactivate the SIM and reactivate it. Onboard isn't working well for me. I have huge problems with onboard and hidpi. I have the choice: the keyboard doesn't fit on the screen or if I choose keyboard to dock on the edge of the screen it moves around uncontrollable.:mad: Isn't there an option to set a long touch or whatever? |
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Quote:
In the config there are a few examples commented out, try to play with it. If you use a different dm, try to find its config. I am pretty sure all of them has similar options for displaying Onboard on the login screen (aka lock screen). |
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
1 Attachment(s)
Quote:
problem is that I can't get any other keys or layouts. A "keyboard" entry showed up in settings, but nothing seems to have any effect ... |
Re: Full linux distros on Sailfish OS
I said I would look at running RedHat based distros a while ago... and time flies by...
Anyway, made some new tests with Fedora 32, and I got the following running without compositor (only the app): * qtcreator (to test a Qt5 app) with wayland => not exactly full screen (portait vs landscape issue?), touchscreen works, but popup menu don't show (those must be seen as other windows and would need compositor) * firefox-wayland (GTK based?) gives an error For the compositor: * weston shows (no app launched to test further), not full screen either * kwin-wayland/plasma-wayland refuses to launch as root, and trying from another user gives an error ("Unable to set up transient service directory") and doesn't show * gnome-shell/gnome-sessions gives an error (GTK based too, seems related to the issue with firefox) Finally, Xwayland runs (and is fullscreen) and using it: * firefox runs. Touch and keyboard are not active. Still no compositor here * qtcreator runs, but doesn't look good (fonts size, dpi or something make the interface not as I would expect) So it is encouraging, given the small time I spent on it. A few environment variables or file configurations should be enough to reach the next level with a desktop environment (compositor) either under X or wayland. I will give detailed instructions as soon as I get it to actually work (it could take some time), and will write the scripts to include in the containers application. So far I concentrate on Fedora, but will probably also check with CentOS later to cover most of the RedHat/RPM based family. |
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
2 Attachment(s)
I found out how to get other layouts on Matchbox keyboard ... In /usr/share/Matchbox Keyboard, there are several files. Some are keyboard layouts and some are fragments. Take whichever one you want to use as layout and move it to /home/user/.matchbox, and name it "keyboard.xml". I'm using "keyboard-lq1", and it's all I need.... You can also edit it however you want ...(I have dpad arrows and ctrl/alt on mine).
|
Re: Full linux distros on Sailfish OS
Quote:
(In portrait mode, onboard is still a better option for me.) |
Re: Full linux distros on Sailfish OS
In case somebody has the same problem.
I had to reinstall the lxc and all parts including the guest distro. Since that I couldn't start the distro because I was getting a weird error: Code:
/opt/bin/Xwayland: 1: Not: not found Despite I've installed everything the same way how I did before, the distro din't start. Then I found the root cause. I have run the '/mnt/guest/setup_desktop.sh' and '/mnt/guest/setups/debian.sh' commands right after each other and the second one wasn't run fully. (I don't know how it was possible.) There was no error message it just outputted a few lines and that's it. The solution was, rebooting the phone and re-running the '/mnt/guest/setups/debian.sh' script. This then compiled the Xwayland program and properly put into the /opt/bin. So, finally I got my desktop distro back and it's working again! :D |
Re: Full linux distros on Sailfish OS
Another good news and achievement! :)
On my Galaxy Note 4 (treltexx) port, I got the S-Pen working as a mouse! (The S-pen is a stylus with enhanced functionalities developed by Samsung for specifically this device family.) Both the left- and right-clicks are working fine: - left-click = I touch the screen with the S-Pen - right-click = there is a button at the side of the S-Pen which is repurposed for right-clicks (as the device detects the distance between the screen and the S-pen, for right-click I don't even need to touch the screen with the S-Pen. :D) |
Re: Full linux distros on Sailfish OS
I'm several pages late on this topic, will try to catch up later. Until then, I thought you might be interested in a video with comments and more details on how to use LXC than the first video I shared here some months ago:
https://thumbs.gfycat.com/PoliticalD...restricted.gif https://thumbs.gfycat.com/FewWideKil...restricted.gif https://user-images.githubuserconten...a09c1a9a22.gif The full video: - LBRY for good connections (big file) - Youtube for slower connections It's rather long so check the description to jump to any chapter that might be more interesting to you. Do you think these gifs and video URLs could be useful in the FP edp17? |
Re: Full linux distros on Sailfish OS
Quote:
|
All times are GMT. The time now is 21:19. |
vBulletin® Version 3.8.8