Come Visit the New Site at http://blog.alltechrelated.com/
Have you ever wanted to surf the web on your iPhone/iPod Touch in your bed but Safari keeps rotating the wrong way? Have you ever wanted to listen to music in your bed but coverflow keeps popping up? Well, kookmasterj has found the answer. He has created a SBSettings plugin that allows you to disable the accelerometer in Safari and coverflow.
Here is what he wrote about it:
Description: Sick of Safari and iPod rotating while laying in bed? Disable the rotation with this SBSettings toggle.
This is a mobile substrate plugin, that is toggled by SBSettings, to disable autorotation in safari and iPod. Simply install and Respring.
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:
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
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.
IT IS NOT OUT IN CYDIA YET. THE DEVELOPER HAS SENT IT AND WILL BE UP SOON.
Alternatively, you can install it manually.
To download: CLICK ME
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/