Difference between revisions of "Luna Debug Switches"

From WebOS Internals
Jump to navigation Jump to search
(New page about luna UI debugging)
 
m (added screenshot)
 
Line 14: Line 14:
  
 
Then recycle luna with pkill LunaSysMgr or (initctl stop LunaSysMgr; initctl start LunaSysMgr)  or reboot.
 
Then recycle luna with pkill LunaSysMgr or (initctl stop LunaSysMgr; initctl start LunaSysMgr)  or reboot.
 +
 +
==Screenshot==
 +
 +
[[Image:Luna-debug-ts.jpg]]

Latest revision as of 05:59, 8 August 2009

Luna has a number of debug switches that are interesting for debugging gestures, hitboxes, touchscreen, etc.


User Interface Debugging

To try them all at once, edit /etc/palm/luna.conf, and set the following (all are false by default)

[Debug]                                                                         
WatchPenEvents=true                                                             
EnableDebugModeByDefault=true                                                   
PiranhaDrawColoredOutlines=true                                                 
PiranhaDisplayFps=true                                                          
ShowGestures=true

Then recycle luna with pkill LunaSysMgr or (initctl stop LunaSysMgr; initctl start LunaSysMgr) or reboot.

Screenshot

Luna-debug-ts.jpg