View Single Post
JonWW's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#822
I've made a QBW to rotate a desktop background according to the orientation of the phone. Enjoy.

Download and open the attatched zip file.
Copy the image files to:
Code:
/home/user/.backgrounds
Next import 'Desktop-rotator.QBW.txt' into a new QBW on any desktop, it does not matter which desktop as becon is hidden.
Edit the Advanced settings and where you see the peice of code
Code:
DESKTOP_TO_ROTATE=4
if [ ! -f "/home/user/.backgro...
change the value to the desktop you wish to rotate. Also change the image names to the same desktop number.
Code:
/home/user/.backgrounds/rotate-landscape-4.png
/home/user/.backgrounds/rotate-landscape-inverted-4.png
/home/user/.backgrounds/rotate-portrait-4.png
/home/user/.backgrounds/rotate-portrait-inverted-4.png
Attached Files
File Type: zip Rotate-desktop-bg.zip (165.1 KB, 127 views)
 

The Following 6 Users Say Thank You to JonWW For This Useful Post: