Developer Console: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (+cat HowTo + cosmetics)
Line 8: Line 8:
From build 239 the activity can be started within the Sugar UI in two ways:
From build 239 the activity can be started within the Sugar UI in two ways:


* Alt+=
* <tt>Alt+=</tt>
* Alt+0
* <tt>Alt+0</tt>


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.
After it is started, <tt>Alt+=</tt> or <tt>Alt+0</tt> 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 [http://dev.laptop.org/git.do?p=sugar;a=blob;f=README the Sugar README] which should be referenced to ensure the developer console keyboard shortcuts have not changed.)
(Keyboard shortcut information can be found in [http://dev.laptop.org/git.do?p=sugar;a=blob;f=README the Sugar README] which should be referenced to ensure the developer console keyboard shortcuts have not changed.)
Line 24: Line 24:


===Change font size===
===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):


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):
# Press Alt-0 to get into the developer console, and the last tab is the terminal.

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




Line 41: Line 38:
[[category:developers]]
[[category:developers]]
[[category:software ideas]]
[[category:software ideas]]
[[Category:HowTo]]

Revision as of 11:48, 10 September 2007

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

  • XO Resources
  • Memphis
  • 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.