maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Full linux distros on Sailfish OS (https://talk.maemo.org/showthread.php?t=101080)

edp17 2020-09-04 07:54

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1569099)
Yep. I have destroyed the freshly installed stretch container and now my other one (Sid) doesn't start. :(
I only get the 'No Xwayland window' screen rather than the desktop.
I guess, shouldn't have tried to install more than one container at the same time. :(

Now I know the reason how I managed to destroy my Sid installation. It was the lack of knowledge. :D
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
lxc.rootfs.path = dir:/home/.lxc/<container_name>
lxc.uts.name = <container_name>

where replace the <container_name> with your name of container.

edp17 2020-09-04 08:00

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569113)
Getting somewhere ... I did a new container with Devuan and used your instructions, and got a window. Now to figure out how to fix the appearance. Screenshots show how it looks. I can't get any different ... Any ideas?
Thanks

If you read back my post here, you'll find some useful info about font sizes.
(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)

levone1 2020-09-04 15:43

Re: Full linux distros on Sailfish OS
 
2 Attachment(s)
Quote:

Originally Posted by edp17 (Post 1569115)
If you read back my post here, you'll find some useful info about font sizes.
(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)

ok, getting there now. One more thing, if you would ...

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

edp17 2020-09-04 20:58

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569118)
ok, getting there now. One more thing, if you would ...

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

Nice. You have progress. :) I just have tried the 'debian-mouse-landscape.sh' and for me, it starts the desktop rotated into landscape mode. Did you close the running container before you tried the landscape script?

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"` &

edp17 2020-09-05 00:05

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

levone1 2020-09-05 01:27

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1569119)
Nice. You have progress. :) I just have tried the 'debian-mouse-landscape.sh' and for me, it starts the desktop rotated into landscape mode. Did you close the running container before you tried the landscape script?

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"` &

ok. Going to mess around more... Now my resolution is tiny, and can't even see the menus, but I'll figure it out . Thanks

levone1 2020-09-06 03:05

Re: Full linux distros on Sailfish OS
 
2 Attachment(s)
Quote:

Originally Posted by edp17 (Post 1569119)
Nice. You have progress. :) I just have tried the 'debian-mouse-landscape.sh' and for me, it starts the desktop rotated into landscape mode. Did you close the running container before you tried the landscape script?

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"` &

Thanks, but I tried everything - no landscape... Maybe it's specific to this phone, being a community port... Is there a file I can edit manually? I was happy to get Chromium working, but I can't get it all on the screen. Changing dpi just makes it smaller, but still cuts off the right side. I was able to add a mode using xrandr, to try to change screen resolution, but clicking on the new mode in display settings has no effect...
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...

levone1 2020-09-08 20:52

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...

edp17 2020-09-10 14:06

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569180)
Update - got it working on Debian Sid, after installing plasma package, and plasma browser integration...

"Plasma package and plasma browser integrartion"? What are these? SFOS, Debian packages or neither? How can I install them?

levone1 2020-09-10 18:06

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1569226)
"Plasma package and plasma browser integrartion"? What are these? SFOS, Debian packages or neither? How can I install them?

I used attach option in Container app, and used apt-get to install plasma-desktop, and plasma-btowser-integration, then installed Chromium, and it shows nicely now... Also using KDE connect to transfer files from Debian to SF...(I just noticed a package - plasma-workspace - also installed. I can't really remember if I installed that or if it is just part of plasma-desktop...)

edp17 2020-09-11 10:57

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569229)
I used attach option in Container app, and used apt-get to install plasma-desktop, and plasma-btowser-integration, then installed Chromium, and it shows nicely now... Also using KDE connect to transfer files from Debian to SF...(I just noticed a package - plasma-workspace - also installed. I can't really remember if I installed that or if it is just part of plasma-desktop...)

And how do you start the plasma-desktop?
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).

levone1 2020-09-11 21:04

Re: Full linux distros on Sailfish OS
 
3 Attachment(s)
Quote:

Originally Posted by edp17 (Post 1569233)
And how do you start the plasma-desktop?
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).

My goal was to get Chromium running and laid out properly. I attributed the success of that to the mere installation of the plasma packages, since that was the only thing I did differently from the first time to the second time. I don't know much about plasma, but since you brought it up, I tested it, and plasma_session works for me, if I launch with sudo from terminal within Debian, making a small desktop window at the bottom of the screen, and producing a lock screen after idling for a few minutes ...

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

levone1 2020-09-11 21:17

Re: Full linux distros on Sailfish OS
 
2 Attachment(s)
more screens

Fellfrosch 2020-09-14 06:55

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?

edp17 2020-09-14 10:00

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569239)
My goal was to get Chromium running and laid out properly. I attributed the success of that to the mere installation of the plasma packages, since that was the only thing I did differently from the first time to the second time. I don't know much about plasma, but since you brought it up, I tested it, and plasma_session works for me, if I launch with sudo from terminal within Debian, making a small desktop window at the bottom of the screen, and producing a lock screen after idling for a few minutes ...

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

I see! So basically you start plasma from the xfce4. I thought you started the plasma_session without the xfce4. I just have tried this way and worked me too. However, I still have the xfce4 menu bars (top and bottom ones) are still available and the scaling is not quite right.
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.

levone1 2020-09-14 12:54

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1569265)
I see! So basically you start plasma from the xfce4. I thought you started the plasma_session without the xfce4. I just have tried this way and worked me too. However, I still have the xfce4 menu bars (top and bottom ones) are still available and the scaling is not quite right.
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.

Originally, Chromium installed and ran fine for me too, but I couldn't ge it small enough to use, (as in my first screenshots). Then after installing Plasma packages, it opened and displayed properly.... Not sure why.

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 ...

levone1 2020-09-14 13:54

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 ...

edp17 2020-09-14 15:06

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569268)
Update - I wiped everything and started from scratch, and now landscape works. I guess I must have done something wrong in setup or something ...

At least now it is working. :D
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

levone1 2020-09-14 15:27

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1569272)
At least now it is working. :D
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

Everything is better now - Window launches feom app, landscape works,all items appear normally... Not sure what I messed up before ...

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.

Fellfrosch 2020-09-14 20:14

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>
<configItem>
<name>pro1</name>
<shortDescription>pro1</shortDescription>
<description>pro1 deutsch</description>
<languageList>
<iso639Id>de</iso639Id>
</languageList>
</configItem>
<variantList/>
</layout>


levone1 2020-09-14 20:56

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by Fellfrosch (Post 1569275)
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>
<configItem>
<name>pro1</name>
<shortDescription>pro1</shortDescription>
<description>pro1 deutsch</description>
<languageList>
<iso639Id>de</iso639Id>
</languageList>
</configItem>
<variantList/>
</layout>


And does it pop up on the lock screen? I have been using it without problems in general, but when locked out, I cant get it to appear...

garyn4 2020-09-15 05:55

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!

Fellfrosch 2020-09-15 06:20

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?

levone1 2020-09-15 12:49

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by Fellfrosch (Post 1569278)
@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?

Lock screen shows up when using Plasma desktop, after timeout. I have changed the settings ro avoid it, but still wondered if it's possible...

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...

levone1 2020-09-15 13:16

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...

Fellfrosch 2020-09-15 14:19

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569281)
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...

I have problems with mobile data from time to time on my pro1 on Sailfish. So have you checked at those situations, if it is really a problem with the container or a general one with Sailfish.

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?

levone1 2020-09-15 14:39

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by Fellfrosch (Post 1569282)
I have problems with mobile data from time to time on my pro1 on Sailfish. So have you checked at those situations, if it is really a problem with the container or a general one with Sailfish.

For me mostly a reconnect solves the issue, but sometimes I have to deactivate the SIM and reactivate it.

Works solid on SF, even when not on Container ... Haven't had any issues with mobile data in general.

edp17 2020-09-16 09:38

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by Fellfrosch (Post 1569282)
...
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: ...

I cannot use Onboard in landscape mode because its left half goes outside of the window. I have tried to change the size in configs but no luck. Therefore I use it in portrait mode, where it works really well. (Is there any other on-screen keyboard available? florence maybe?)

edp17 2020-09-16 09:55

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569276)
And does it pop up on the lock screen? I have been using it without problems in general, but when locked out, I cant get it to appear...

If you use lightdm, there is a config file where you can setup what keyboard to start/display: /etc/lightdm/lightdm-gtk-greeter.conf

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).

Fellfrosch 2020-09-16 15:29

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1569289)
I cannot use Onboard in landscape mode because its left half goes outside of the window. I have tried to change the size in configs but no luck. Therefore I use it in portrait mode, where it works really well. (Is there any other on-screen keyboard available? florence maybe?)

For me only Landscape works. But I haven't investigated why because that's my preferred orientation on this mini laptop :D

edp17 2020-09-16 22:45

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by Fellfrosch (Post 1569294)
For me only Landscape works. But I haven't investigated why because that's my preferred orientation on this mini laptop :D

I guess you have got a physical keyboard. :D

levone1 2020-09-17 17:19

Re: Full linux distros on Sailfish OS
 
1 Attachment(s)
Quote:

Originally Posted by edp17 (Post 1569289)
I cannot use Onboard in landscape mode because its left half goes outside of the window. I have tried to change the size in configs but no luck. Therefore I use it in portrait mode, where it works really well. (Is there any other on-screen keyboard available? florence maybe?)

apt-get install matchbox-keyboard...

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 ...

Zeta 2020-09-17 21:26

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.

levone1 2020-09-17 21:34

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by edp17 (Post 1569295)
I guess you have got a physical keyboard. :D

So, I've tried Matchbox, Florence, and XVKbd, and Matchbox is the only one that doesn't act wacky in landscape mode, (but has the issue of ultra-minimalism...)

levone1 2020-09-19 20:37

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).

edp17 2020-09-22 23:44

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by levone1 (Post 1569325)
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).

Thanks for this! I have created my own layout of matchbox-keyboard that I can use in landscape mode. :) (If someone is interested I used this site for inspiration.)
(In portrait mode, onboard is still a better option for me.)

edp17 2020-10-13 08:45

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
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

The content of '/opt/bin/Xwayland' was one line: 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

edp17 2020-10-13 09:29

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)

Kabouik 2020-11-13 15:58

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?

edp17 2020-11-18 12:37

Re: Full linux distros on Sailfish OS
 
Quote:

Originally Posted by Kabouik (Post 1570179)
...
Do you think these gifs and video URLs could be useful in the FP edp17?

Yes, definitely! :) I have updated the first post but only used one of the gifs. Thanks for your work on creating them!


All times are GMT. The time now is 21:19.

vBulletin® Version 3.8.8