Development Team/Environment

From Sugar Labs
< Development Team
Revision as of 19:32, 6 June 2008 by Dfarning (talk | contribs) (Developer Environment moved to DevelopmenTeam/Environment: move after initial import)
Jump to: navigation, search

Developer Environment

Currently we are going to replace the current developer console with a new developer environment, composed by:

Analyze Activity
An activity that get useful resources information as: memory usage by activities running, X Server mapped pixmaps, Network interfaces traffic, presence service, etc
URL: http://dev.laptop.org/git?p=projects/analyze-activity

Terminal Activity
A Terminal-Shell activity, where the developer or kid can use the Linux shell
URL: http://dev.laptop.org/git?p=projects/terminal-activity

Log Activity
Allow to see the activities log files and system logs as /var/log/messages. It will allow to send reports about a given activity or general system to a central server as reports.
URL: http://dev.laptop.org/git?p=projects/log-activity

NOTE: As of build 650 (and perhaps earlier), the Developer Console no longer exists as a single entity. Its functionality has been split out into different activities and tools.

  • Log Viewer is now a separate Log Viewer activity.
  • Terminal is now a separate Terminal activity.
  • Memphis is ... partly covered by the Analyze activity.
  • While build 650 has no trivial in-GUI way to find your build number, it can be learned via the Terminal activity.

For older releases

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:

File: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.