View Single Post
edp17's Avatar
Posts: 605 | Thanked: 735 times | Joined on Jul 2019 @ UK
#193
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.

Last edited by edp17; 2021-07-16 at 07:00.
 

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