From another thread:
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:
local ligl_ref = assert(ligl.init())
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)...