|
2021-06-04
, 22:52
|
Posts: 30 |
Thanked: 24 times |
Joined on Mar 2014
|
#192
|
$ devel-su # mkdir -p /odm/etc/ # cd /odm/etc/ # ln -s /vendor/etc/audio_param . # exit
$ systemctl --user restart pulseaudio.service $ systemctl --user status pulseaudio.service
'' (blank symbol received, key pushed) 'o' (key pushed) 'o' (key pulled) '' (blank symbol received, key pulled)
|
2021-07-07
, 15:04
|
|
Posts: 600 |
Thanked: 713 times |
Joined on Jul 2019
@ UK
|
#193
|
The Following 4 Users Say Thank You to edp17 For This Useful Post: | ||
|
2021-09-28
, 11:03
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#194
|
|
2021-09-30
, 02:24
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#195
|
The Following User Says Thank You to levone1 For This Useful Post: | ||
|
2021-10-10
, 13:27
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#196
|
The Following User Says Thank You to levone1 For This Useful Post: | ||
|
2021-10-15
, 15:11
|
|
Posts: 600 |
Thanked: 713 times |
Joined on Jul 2019
@ UK
|
#197
|
@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
|
2021-10-15
, 19:21
|
|
Posts: 600 |
Thanked: 713 times |
Joined on Jul 2019
@ UK
|
#198
|
|
2021-10-20
, 12:29
|
Posts: 202 |
Thanked: 385 times |
Joined on Jul 2018
|
#200
|
@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.)
The Following User Says Thank You to levone1 For This Useful Post: | ||
Tags |
application, development, linux |
|
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.