|
Page 20 of 26 |
|
Prev |
10 18 19 20
21 22
|
Next
| Last
Re: Full linux distros on Sailfish OS
Quote:
Good to know the container setup and Xsession setup still work from the GUI, I misunderstood from tests with Mosen that they didn't. That means the only issue might be starting X from the GUI, which for the time being can be worked around from CLI. There's something weird though because it still works for me on SFOS 3.3 ported to the Pro1. |
Re: Full linux distros on Sailfish OS
Oh yeah, looks like I managed to solve the sound issue on Gemini PDA, SFOS 4.1.0.24:
First I did this: Code:
$ devel-suCode:
$ systemctl --user restart pulseaudio.serviceAt last, I played some sound in SFOS and voillį! It also worked in the running instance of Debian! More information here: https://forum.sailfishos.org/t/4-1-0...r-upgrade/6530 About the keyboard issue, xev seems to not recognize Fn. It gives blank bytes received, or something like that. After pressing Fn+o, it just writes this Code:
'' (blank symbol received, key pushed) |
Re: Full linux distros on Sailfish OS
Hi all,
This post is for clearing out the misunderstanding around the 'debian-mouse-landscape.sh' and 'debian-mouse-portrait.sh' scripts. I have created these for my Note4 (treltexx) because on that device the LXC app doesn't work. I can only start the container manually in the command line and where I needed two fingerterm windows to be able to start the container and enter into the desktop distro. With those scripts, one fingerterm window was enough to do everything, plus I didn't need to type all commands each time. If you look into the scripts you'll see that both do the following: - checks whether the container is started and if not, starts it - then starts the qxdisplay as not root - then attaches the container and starts the desktop within The only difference between the two is that the xx-portrait.sh script calls the qxcompositor with the '-o portrait' parameter. This means it doesn't change the layout when you turn the phone from portrait to landscape and vice versa. Oh, and the word "mouse" in their name is related to they both use qxcompositor instead of qxdisplay when starting the display. This is all those scripts are doing. :) |
Re: Full linux distros on Sailfish OS
@edp17 (or anyone ) - I'm getting error trying to open xwindow on latest SF update, (4.2):
"/usr/bin/qxdisplay: symbol lookup error: /usr/ bin/qxdisplay: undefined symbol: _ZN18QWayland Compositor7openUrlEPvRK4QUrl, version Qt_5" Any ideas? Thanks |
Re: Full linux distros on Sailfish OS
Well, I got it working by attaching container and running "startx -- /opt/bin/Xwayland"...
Run "su user" first to start non-root... update - not consistent ... Worked one time, then, after reboot, wouldn't work, (server error - couldn't add screen...). Also got it to work one time simply by typing "/opt/bin/Xwayland" ... Not sure what makes the difference . update - found a method that works, using Containers app, and tips from here - https://talk.maemo.org/showthread.php?t=98882 - open Containers app, and select container, and tap "start Xsession", (nothing happens visibly, but won't work if I don't do it), then tap "attach ". Terminal will open asking for root password, then show Linux root prompt. - enter "mkdir /run/user/0" then "export $(dbus-launch)" then "export XDG_RUNTIME_DIR=/run/user/0" then "startx" Desktop opens... |
Re: Full linux distros on Sailfish OS
@edp17 (or anyone) Wondering if you could help with something -
Since recent SF versions, gui for Containers hasn't functioned the same as before, and need to use terminal to open Linux desktop. I have figured out how to do that, but now there is one difference - certain applications don't open in the same screen, when launched from the Linux desktop, but instead, a new Sailfish app window opens with the Linux app, (I guess it's a new Wayland window, or?). This would be fine with me, except for 1) there's no keyboard, and I can't figure out how to get one to open with the app, and 2) the new window gets automatically closed as soon as another app is brought to the foreground, (it will stay open when minimized to card view, but closes if a different card is selected). Anyone have any ideas why certain (not all) apps aee opening this way, and how to get them to open in the cureent window instead? The only hint I can get from termonal output is a message about "...wayland not providing any supported shell interface". Thanks |
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
@levone1
I've checked my install on the device and still can start the desktop distro. (SFOS 4.1) I slightly needed to amend the script that I wrote to start it because the installed Waydroid interferes with the Debian container. If you run the following commands in a terminal, you should be able to start the Desktop distro: (my container name is Debian, so I use this in the example, you can replace it with your container name) Before you do this, please ensure the container is not running! 1. Start the container: sudo lxc-start -n Debian -d & (or start it with devel-su if you don't have sudo installed) 2. Start the compositor in landscape mode: /usr/bin/qxcompositor --wayland-socket-name "../../display/wayland-container-0" & or in portrait: /usr/bin/qxcompositor -o portrait --wayland-socket-name "../../display/wayland-container-0" & 3. finally attach the container and start the distro: sudo lxc-attach -n Debian -- /mnt/guest/start_desktop.sh 0 & (I've made a script that is doing all in one go, so that can be used as an icon on the app drawer.) |
Re: Full linux distros on Sailfish OS
Qxdisplay and qxcompositor does work properly on SailfishOS 4.1.0.24 but not on 4.2.0.21.
Tested on a Pinephone. |
Re: Full linux distros on Sailfish OS
Quote:
I can get desktop to open and run fine using other steps. I was more curious about why some applications open in a separate window. I think the line in start_desktop script, "export QT_QPA_PLATFORM=xcb # force qt applications backend to Xwayland export PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/sbin" maybe has something to do with it... |
| All times are GMT. The time now is 13:00. |
Page 20 of 26 |
|
Prev |
10 18 19 20
21 22
|
Next
| Last
vBulletin® Version 3.8.8