![]() |
2011-02-18
, 22:38
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#12
|
Use the following code to obtain the N900's orientation and base your conditional commands on it's output to automatically rotate your widgets based on your phone's current position:
One of my desktops is completely filled with this sort of Queen Beecon widgets and optimised for portrait usage.Code:dbus-send --system --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.get_device_orientation
I'd love to see some screenshots of your own portrait-optimised desktop when you're done, DarkGUNMAN.
The Following User Says Thank You to No!No!No!Yes! For This Useful Post: | ||
I'd love to see some screenshots of your own portrait-optimised desktop when you're done, DarkGUNMAN.