Developer Console

From OLPC
Revision as of 14:19, 17 December 2007 by 71.3.170.79 (talk) (define memphis)
Jump to: navigation, search

The developer console activity provides a number of developer-targeted features (some of which previously existed as a separate activity):

  • XO Resources
  • Memphis (memory usage tool)
  • Log Viewer : sugar-log-viewer
  • Terminal : Linux prompt

From build 239 the activity can be started within the Sugar UI in two ways:

  • Alt+=
  • Alt+0

After it is started, Alt+= or Alt+0 will toggle visibility; hiding or showing the activity. It can be dismissed by clicking on the X on top right corner.

(Keyboard shortcut information can be found in the Sugar README which should be referenced to ensure the developer console keyboard shortcuts have not changed.)

This partial screenshot illustrates how the developer console appeared in build 239:

Sugar developer console 1.png

The source can be found in the git repository:

git+ssh://dev.laptop.org/git/sugar/services/console/interface

Change font size

Here is how to increase the print size in the terminal for those who need it (a good quick-start for technically-minded low-vision users or developers):

  1. Press Alt-0 to get into the developer console, and the last tab is the terminal.
  2. Type nano ~/.sugar/default/terminalrc
  3. Find the line saying Font = Monospace 8, change it to Monospace 16 (or whatever you want).
  4. Press Control-X and answer Yes to save.
  5. Close the developer console (the tiny tiny X in the top right-hand corner)
  6. Re-open it with Alt-0, the terminal should now be in a larger print.