![]() |
2010-06-01
, 15:28
|
Posts: 1,042 |
Thanked: 430 times |
Joined on May 2010
|
#21
|
![]() |
2010-06-01
, 15:29
|
Posts: 2,829 |
Thanked: 1,459 times |
Joined on Dec 2009
@ Finland
|
#22
|
Sure, but if you see a battery hit or just get sick of the rotation you can just issue a kill command on the script from x-terminal at any time, right?
![]() |
2010-06-01
, 17:01
|
|
Posts: 1,034 |
Thanked: 784 times |
Joined on Dec 2007
@ Annapolis, MD
|
#23
|
I´m sorry. Lolling here"you can just issue kill...". Normal usage with advanced handheld device here. Let´s hope that developers do not have this mentality
![]() |
2010-06-01
, 19:00
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#24
|
the problem as i understand it is that the rotate.py script keeps executing itself in a loop every second, which is a bit of a drain on battery according to people here.
![]() |
2010-06-01
, 19:31
|
|
Posts: 609 |
Thanked: 243 times |
Joined on Jan 2010
@ Eastern USA
|
#25
|
I´m sorry. Lolling here"you can just issue kill...". Normal usage with advanced handheld device here. Let´s hope that developers do not have this mentality
The Following User Says Thank You to xomm For This Useful Post: | ||
![]() |
2010-06-01
, 19:43
|
|
Posts: 733 |
Thanked: 991 times |
Joined on Dec 2008
|
#26
|
![]() |
2010-06-02
, 11:07
|
Posts: 1,320 |
Thanked: 915 times |
Joined on Feb 2010
|
#27
|
You can try this version. chmod +x it and run. It's using the same rotation method as the Python script (which, IMHO, isn't good but oh well) but gets its accel. values from the signals broadcast by MCE instead of constantly polling.
It has two ways it gets the current orientation: It either uses the value given to it by MCE telling it explicitly what orientation the phone is in or it determines the orientation from the axis, like how the Python script does it.
Run dbus-monitor --system "interface=com.nokia.mce.signal, member=sig_device_orientation_ind" while running rotate_app and you'll probably get what I mean.
By default, the value given to it by MCE is used to determine the current orientation. If you find the method too shitty and prefer how the Python script does it, start rotate_app thus: "rotate_app true".
Source: http://www.freemoe.org/users/qwerty12/rotate.tar.gz
![]() |
2010-06-02
, 12:38
|
|
Posts: 1,034 |
Thanked: 784 times |
Joined on Dec 2007
@ Annapolis, MD
|
#28
|
Sorry but how do we use this to rotate?
I have run it by typing "chmod +x rotate_app" and it accepts the command but then nothing happens when I rotate my device??
The Following 3 Users Say Thank You to cddiede For This Useful Post: | ||
![]() |
2010-06-02
, 14:21
|
Posts: 1,320 |
Thanked: 915 times |
Joined on Feb 2010
|
#29
|
![]() |
2010-06-02
, 14:36
|
Posts: 1,042 |
Thanked: 430 times |
Joined on May 2010
|
#30
|
Does anyone know how Nokia's PR1.2 rotation is implemented?
Because when using the Ctrl + Shift + R the apps actually pivot correctly and reformat to fit portrait (well most of them do) whereas with the rotate.py and rotate_app there is no reformatting done and it just only shows half the width???
Surely someone can find out how nokia implemented rotate by studying how the phone/browser app rotates and then implement this method into the rotate_app or the rotate.py script??
Im just asking I aint demanding anythingI have no clue how to do this stuff, I consider myself an advanced user but I do not have any linux/python experience
Thanks