Terminal: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Adapted large-print instructions from Developer Console)
Line 18: Line 18:
# Press <tt>Control-X</tt> and answer Yes to save.
# Press <tt>Control-X</tt> and answer Yes to save.
# Close the terminal activity (the X in the top right-hand corner)
# Close the terminal activity (the X in the top right-hand corner)
# Re-open the terminal activity, the terminal should now be in a larger print.
# Re-open the terminal activity, the terminal should now be in a larger print.

===Changing font size in the console===
There is a console that runs outside of the X Window System (Sugar) environment that can be accessed by typing Ctrl-Alt-[[Image:Mesh key f1 small.png]]. (Note that many Sugar binding are not available in the console, so commands such as sugar-control-panel will not work there.) To increase the font size in the console, type:

setfont sun12x22

(To return to the X Window System environment, type Ctrl-Alt-[[Image:Home key f3 small.png]].)


==Limitations==
==Limitations==

Revision as of 23:13, 17 January 2008

Activity-terminal.svg

see more templates or propose new

The Terminal activity gives a simple command prompt similar to that provided by the Developer Console.

Current download URL is unknown, please fill it in if you know it.

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. Launch the Terminal activity.
  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 terminal activity (the X in the top right-hand corner)
  6. Re-open the terminal activity, the terminal should now be in a larger print.

Changing font size in the console

There is a console that runs outside of the X Window System (Sugar) environment that can be accessed by typing Ctrl-Alt-Mesh key f1 small.png. (Note that many Sugar binding are not available in the console, so commands such as sugar-control-panel will not work there.) To increase the font size in the console, type:

setfont sun12x22

(To return to the X Window System environment, type Ctrl-Alt-Home key f3 small.png.)

Limitations

It is not currently possible to cut and paste from the terminal to other activities. A ticket has been raised in the development site to add this feature.

Pasting Text from a Web page to the command line in the Terminal Activity: You can use the the clipboard function (i.e., to cut and paste) to drop text into a terminal if you attach a 3 button USB mouse to your USB port. After you have copied text from the web page(usually Ctl C), switch to the Terminal activity, put your cursor on the command line and click your middle button. Doing that should cause the text to be copied successfully.