OESF Portables Forum
Model Specific Forums => Gemini PDA => Gemini PDA - Sailfish OS => Topic started by: jakfish on July 02, 2018, 05:21:47 pm
-
When I get into Sailfish, it remembers my wifi, but the tutorial always starts and it doesn't remember my landscape rotation.
Which handles do I jiggle for those things?
Thanks,
Jake
-
When I get into Sailfish, it remembers my wifi, but the tutorial always starts and it doesn't remember my landscape rotation.
Which handles do I jiggle for those things?
Thanks,
Jake
Had my first sailfish restart (had to power down) last night when I added the camera module. I also had the tutorial pop up again. All my settings were still there, so no damage. I'll might look in to it later - I don't normally reboot, so it probably won't annoy me too much
-
Can we remove the application files related to the tutorial?
My build doesn't force the tutorial on reboots (only initially after install)- so the most I ever tried was removing it from the app menu, which then it readded itself at the end.
I didnt fight it too much since I just ignore the application.
Edit:
Try this from a terminal:
touch /home/nemo/.jolla-startupwizard-sfos2-tutorial
touch /home/nemo/.jolla-startupwizard-done
touch /home/nemo/.jolla-startupwizard-usersession-done
-
Try this from a terminal:
touch /home/nemo/.jolla-startupwizard-sfos2-tutorial
touch /home/nemo/.jolla-startupwizard-done
touch /home/nemo/.jolla-startupwizard-usersession-done
At least for this restart they are already there. I'll see what happens next time I reboot. Thanks.
-
Now the last time I rebooted, the tutorial was skipped. If it comes back, I found this to skip it manually:
https://jolla.zendesk.com/hc/en-us/articles...ctory-settings- (https://jolla.zendesk.com/hc/en-us/articles/201890427-How-do-I-reset-the-phone-to-factory-settings-)
And I'll try the touch commands as well, thanks for them.
My trouble now it that I'm always in portrait, even when choosing "dynamic." Any advice for that?
Jake
-
I fixed my screen rotation by editing the Page.qml file, this requires going into devel-sa, I found the information by searching this forum.
-
Thanks for that pointer/post. Meganerd suggests this way to lock down landscape:
ii) Modify Page.qml (line 115)
Original line: return Orientation.All
Updated line: return Orientation.LandscapeInverted
Other views: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
iii) Reboot phone to apply changes
But while I found line 115 (after "pkcon install nano"), I did not find "Orientation.All" There were other Orientations, but not that one, so I closed out without changing anything.
Jake
-
Thanks for that pointer/post. Meganerd suggests this way to lock down landscape:
ii) Modify Page.qml (line 115)
Original line: return Orientation.All
Updated line: return Orientation.LandscapeInverted
Other views: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
iii) Reboot phone to apply changes
But while I found line 115 (after "pkcon install nano"), I did not find "Orientation.All" There were other Orientations, but not that one, so I closed out without changing anything.
Jake
Hello, it sounds like you're on SFOS 2.1.4.14
Please see the notes I added from user Dietmar Schwertberge regarding the differences
https://gitlab.com/Meganerd.eth/Sailfish-De...20SFOS%202.x.md (https://gitlab.com/Meganerd.eth/Sailfish-Development/blob/master/Lock%20screen%20rotation%20on%20SFOS%202.x.md)
Change this:
allowed = Orientation.LandscapeInverted | orientation === Orientation.Portrait | orientation === Orientation.PortraitInverted
To this:
allowed = Orientation.LandscapeInverted
-
Thanks for that pointer/post. Meganerd suggests this way to lock down landscape:
ii) Modify Page.qml (line 115)
Original line: return Orientation.All
Updated line: return Orientation.LandscapeInverted
Other views: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
iii) Reboot phone to apply changes
But while I found line 115 (after "pkcon install nano"), I did not find "Orientation.All" There were other Orientations, but not that one, so I closed out without changing anything.
Jake
Hello, it sounds like you're on SFOS 2.1.4.14
Please see the notes I added from user Dietmar Schwertberge regarding the differences
https://gitlab.com/Meganerd.eth/Sailfish-De...20SFOS%202.x.md (https://gitlab.com/Meganerd.eth/Sailfish-Development/blob/master/Lock%20screen%20rotation%20on%20SFOS%202.x.md)
Change this:
allowed = Orientation.LandscapeInverted | orientation === Orientation.Portrait | orientation === Orientation.PortraitInverted
To this:
allowed = Orientation.LandscapeInverted
Yes, same information that I found, though it was on this forum:
https://www.oesf.org/forum/index.php?showto...=35195&st=0 (https://www.oesf.org/forum/index.php?showtopic=35195&st=0)
I think from the same Dietmar.
-
To this:
allowed = Orientation.LandscapeInverted
That did it and many thanks, meganerd, for weighing into this post.
One caveat to new Jolla folk--in nano, when deleting text, I found stray letters were left behind, at least on the screen. So I saved the file, reopened it, searched for the replaced text (ctrl-w), and found that it needed some retyping, even though I had deleted and typed correctly the first time.
Had I rebooted without checking the file, I think there would've been significant problems.
Thank you again, what a relief to stop craning my head,
Jake