View Single Post
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#24
Kabouik, illyria
I have a few questions:

1. I can manually attach the container, then when I am in, I can start a command.
Is there a way that by a command-line script attaches the container, then automatically runs a command once the container is attached?

2. Sound 1. How can I get the sound working in the container?

3. Sound 2. If the container is attached the sound on the host is muted. And it remains muted even if the container stops. I need to reboot the phone to get the sound back. (Probably there is another way for this, but this solution was the quickest one for me.)

4. I have managed to move the Onboard so right to the screen that I cannot grab and move a bit to the left. Is there a way to change the position/size of the Onboard in a configuration file or something?

Edit:
On 1. I can answer to myself.
Code:
lxc-attach -n container -- /path/to/command/to/run
This way, now I can start the container, launch the qxdisplay, attach the container and start the desktop in it with one single command. Cool.

Last edited by edp17; 2020-08-07 at 00:14.
 

The Following 2 Users Say Thank You to edp17 For This Useful Post: