We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

Howto auto-rotate homescreen and all other apps [Was: [solved] Saimaa and patchmanager - lost off-shore ;-)] [answered]

asked 2015-11-26 18:43:16 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-11-26 21:22:21 +0300

Mano gravatar image

Hello,

auto-rotating is working fine for browser and some apps out of the box. I have absolutely no idea, why this isn't true for _all_ (native, pre-installed) apps!?!

But the idea of reverting the homescreen to fixed portrait orientation, while I was using some other app in landscape mode, is far beyond my imagination.

Thankfully coderus posted a patch for the "patchmanager" on openrepos.net.

Unfortunately, I can't get patchmanager installed.

I have patch-2.6.1-1.1.3.armv7hl, patchutils-0.3.3-10.1.1.jolla.armv7hl, ausmt-1.2.9-10.15.1.jolla.armv7hl installed as prerequesites, correct?

Then, trying to install the patchmaader daemon "patchmanager-0.4.5-10.20.1.jolla_.armv7hl" fails:

Fatal error: nothing provides patchmanager-gui needed by patchmanager-0.4.5-10.20.1.jolla.armv7hl

Can any body tell me the least intrusive way to get 'sailfishos-uirotate-free-0.1.2-1' working?

Thanks,

-Mano

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by JSEHV
close date 2016-02-01 17:59:46.252238

2 Answers

Sort by » oldest newest most voted
1

answered 2015-11-26 18:59:56 +0300

babba22 gravatar image

You need a GUI to use patchmanager. Choose between icon app in the drawer or setting's submenu (you can find these packages on openrepos).

edit flag offensive delete publish link more

Comments

Thanks, I found "jolla-settings-patchmanager", which is the latter you describe I guess.

Then, there's "patchmanager-ui". I guess that's the GUI you mention.

But both of these require "patchmanager", which requires patchmanager-gui, which I cannot resolve :-(

Fatal error: nothing provides patchmanager = 0.4.5-10.20.1.jolla needed by jolla-settings-patchmanager-0.4.5-10.20.1.jolla.armv7hl
Fatal error: nothing provides patchmanager = 0.4.5-10.20.1.jolla needed by patchmanager-ui-0.4.5-10.20.1.jolla.armv7hl

Fianlly back to install "patchmanager" first:

Fatal error: nothing provides patchmanager-gui needed by patchmanager-0.4.5-10.20.1.jolla.armv7hl

Seem's like a dead-lock if you want to trust on PackageKit...

-Mano

Mano ( 2015-11-26 19:09:55 +0300 )edit

Forgive me, but in that case I can't help you. You need someone with a better knowledge than me =)

babba22 ( 2015-11-26 19:17:03 +0300 )edit
0

answered 2015-11-26 20:41:49 +0300

Mano gravatar image

updated 2015-11-26 20:49:31 +0300

Answering myself for the records...

Got it worked arround with the help of zypper.

Awsome, thank you so much coderus for this great patch and Sfiet_Konstantin for bringing that patchmanager to SFOS (which seems to be quiet sophisticated with the help of the webOS patch party).

Since I consider it a "must have" to be able to get landscape orientation (auto-rotation), especially on homescreen and everywhere you have to use the virtual keyboard, I'll describe the steps that got me to gain this big productivity, solving one of my very first big disappointments when I powered up JP:

You need to get "Zypper" installed first, one can find instructions easily.

Next, download these RPMs:

Install:

pkcon install-local ausmt-1.2.9-10.15.1.jolla_.armv7hl.rpm patchutils-0.3.3-10.1.1.jolla_.armv7hl.rpm
zypper in patchmanager-0.4.5-10.20.1.jolla_.armv7hl.rpm

That installes "patchmanager-ui" as dependency. After rebooting, one could use that app, I prefere to have patch-management under "Settings", so remove patchmanager-ui with 'pkcon remove patchmanager-ui'. This wan'ts to remove both packages, which I decliend first, but can't ermember exactly what I did to get only patchmanager-ui to be removed. After that, you can

pkcon install-local jolla-settings-patchmanager-0.4.5-10.20.1.jolla_.armv7hl.rpm

Finally, install the patch which patchmanager deploys:

pkcon install-local sailfishos-uirotate-free-0.1.2-1.noarch.rpm

Now goto Settings, where you find a new item "patchmanager". Launch it and activate the "UI Rotate Fee" patch.

I think I had to reboot before this worked, can't remember, I was so happy getting rid of that fixed portrait orientation... Why the hell must that be so complicated!?!

Hope that helps,

-Mano

edit flag offensive delete publish link more

Comments

i just managed to do that aswell ! i thank you so much for sharing this with us !

asleep ( 2015-12-06 01:03:31 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2015-11-26 18:43:16 +0300

Seen: 788 times

Last updated: Nov 26 '15