Difference between revisions of "LS2 Debug Commands"
Jump to navigation
Jump to search
ShiftyAxel (talk | contribs) |
DougReeder (talk | contribs) (corrected screen shot) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
==Commands== | ==Commands== | ||
Screenshot | Screenshot | ||
− | luna-send -n 1 | + | luna-send -n 1 luna://org.webosports.luna/takeScreenShot {} |
Get Lock Mode | Get Lock Mode | ||
− | luna-send | + | luna-send -n 1 -f palm://com.palm.systemmanager/getDeviceLockMode {} |
Set PIN | Set PIN | ||
− | luna-send -n 1 | + | luna-send -n 1 luna://com.palm.systemmanager/setDevicePasscode '{ "lockMode": "pin", "passCode": "1111" }' |
Set Password | Set Password | ||
− | luna-send -n 1 | + | luna-send -n 1 luna://com.palm.systemmanager/setDevicePasscode '{ "lockMode": "password", "passCode": "hoobadah" }' |
Enter/Exit Exhibition Mode | Enter/Exit Exhibition Mode | ||
luna-send -n 1 palm://com.palm.display/control/setState "{'state': 'dock'}" | luna-send -n 1 palm://com.palm.display/control/setState "{'state': 'dock'}" | ||
luna-send -n 1 palm://com.palm.display/control/setState "{'state': 'undock'}" | luna-send -n 1 palm://com.palm.display/control/setState "{'state': 'undock'}" |
Latest revision as of 15:48, 10 November 2014
Since we have no settings apps at the moment, we need to use luna-send -n 1 -f luna://something/orOther '{"foo": "bar"}' in order to access preferences, exhibition mode and the like. This page will list various commands that may be of use when debugging luna-sysmgr and friends.
Commands
Screenshot
luna-send -n 1 luna://org.webosports.luna/takeScreenShot {}
Get Lock Mode
luna-send -n 1 -f palm://com.palm.systemmanager/getDeviceLockMode {}
Set PIN
luna-send -n 1 luna://com.palm.systemmanager/setDevicePasscode '{ "lockMode": "pin", "passCode": "1111" }'
Set Password
luna-send -n 1 luna://com.palm.systemmanager/setDevicePasscode '{ "lockMode": "password", "passCode": "hoobadah" }'
Enter/Exit Exhibition Mode
luna-send -n 1 palm://com.palm.display/control/setState "{'state': 'dock'}" luna-send -n 1 palm://com.palm.display/control/setState "{'state': 'undock'}"