From another thread:
Quote:
Originally Posted by cscat
6. Landscape home screen:
The existing landscape hacks don't apply on the home screen.
|
Is it true? I don't use any landscape mode hack, but following chunk of Lua code rotates Home screen on 5.0.3 just fine:
Code:
require('liblab126IGL')
local ligl_ref = assert(ligl.init())
ligl.orientation_set(ligl_ref, 3)
It should be put on KT at separate file (say
rotate.lua) and ran with
lua rotate.lua. Second parameter of
orientation_set function is a orientation, it should be 0 (portrait), 1, 2 or 3.
I extracted this code from Awesome scripts, so I thought that rotation of Home screen is already included in rotation hack (as it relies on Awesome script)...