Cydia info:
----
Name: NoRotation
Description: Sick of Safari and iPod rotating while laying in bed? Disable the rotation with this SBSettings toggle.
More Info:
This is a mobile substrate plugin, that is toggled by SBSettings, to disable autorotation in safari and iPod. Simply install and Respring.
Usage:
In the default config:
If you enable it in SBSettings:
In the iPod app, autorotation will be disabled immediately and it wont rotate into coverflow at all.
In safari one rotation every start will work. That means if you hold your
iPhone/iPod on start in landscape mode, safari will start, rotate into
landscape mode and from then on not rotate anymore until you press home
button and start it again. Then it will rotate once again and stop.
You have the possibility to change various parameters in the config:
/var/mobile/Library/SBSettings/Toggles/NoRotation/NoRotation.plist
SafariAlwaysDisabled = 0; <-- if set to 1, the plugin will never be loaded into Safari and Safari will always rotate (no matter whether you toggle it on or off in SBSettings)
SafariAlwaysEnabled = 0; <-- if set to 1, the plugin will always be loaded into Safari and Safari will never rotate (no matter whether you toggle it on or off in SBSettings)
SafariRotateOnce = 1; <-- if set to 1, safari will rotate once at start to allow you to set it to landscape mode or portrait and then it wont rotate anymore
enabled = 1; <-- this is toggled by SBSettings, dont touch it
iPodAlwaysDisabled = 0; <-- if set to 1, the plugin will never be loaded into iPod and iPod will always rotate (no matter whether you toggle it on or off in SBSettings)
iPodAlwaysEnabled = 0; <-- if set to 1, the plugin will always be loaded into iPod and iPod will never rotate (no matter whether you toggle it on or off in SBSettings)
logLevel = 1; <-- defines how much should be logged to /var/log/syslog, change it only for debugging
So
this gives you a lot of flexibility. If you dont like coverflow at all
for example you can set iPodAlwaysEnabled to 1 and prevent coverflow
always from rotating and at the same be able to toggle the rotation in
safari on and off.
Ok,
so its not on cydia yet. I sent it to bigboss, but we have to wait till
everyone made icons for their themes and so on. You can download the
tar and install it manually:
http://www.mediafire.com/file/lz3zjyjykmy/...-by-crash-x.tar
Installation:
Just unpack it and copy all the stuff to the appropriate folders (you will see what belongs where once you unpack it).
Do not forget to chown -R mobile /var/mobile/Library/SBSettings/Toggles/NoRotation/
CREDITS to the amazing crash-x !!!!!!
This post has been edited by kookmasteraj: 28 November 2009 - 10:30 PM


Help

Back to top
MultiQuote





.jpg)










