Thread
:
Full linux distros on Sailfish OS
View Single Post
edp17
2021-07-07 , 15:04
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.
__________________
Porting SailfishOS to some devices:
MotoG7 Power (ocean)
+ WayDroid (Los18.1)
Nexus 5 (hammerhead)
Samsung Galaxy Note 4 (treltexx) (Exynos SM-N910C)
+ WayDroid (Los17.1)
Samsung Galaxy S2 (i9100)
Samsung Galaxy Note (N7000)
Samsung Galaxy S4 (i9505)
Last edited by edp17; 2021-07-16 at
07:00
.
Quote & Reply
|
The Following 4 Users Say Thank You to edp17 For This Useful Post:
juiceme
,
levone1
,
mosen
,
peterleinchen
edp17
View Public Profile
Send a private message to edp17
Find all posts by edp17