Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
Free text:
preparing to merge [[Terminal]] and [[Terminal Activity]] == Talk for Terminal == === Feature Suggestions === It would be nice if, when you resumed a Terminal activity from the journal, you got back right into the stage you where when you stopped it. I imagine it would be nice for kids, so they could have different on-going terminal activities, which they could stop and later resume transparently. Also would be good to allow sharing of Terminal activities. Of course, each Terminal activity would be bound to the machine it was started on, but would be usefull to have a kid help a friend by entering into his Terminal activity (let me fix that up for you), or for two or more kids to explore the system together through this interface, having a chat box to help discussion. : As for "let me fix that up for you", I believe that you can ssh from one machine to another - at least I can ssh from the OLPC to my Linux box and vice-versa. Of course for a kid that may be somewhat advanced, but then so is the terminal activity. [[User:Norm|Norm]] 22:36, 5 January 2008 (EST) === Keyboard Shortcuts === What are the copy/paste shortcuts? --[[User:198.145.74.169|198.145.74.169]] 22:22, 19 December 2007 (EST) :I'd like to know this, too. Ctrl-V/C seem to be translated literally and I can't find any button chords for it. I'd kind of suspect drag-and-drop from the frame but that doesn't seem to work currently. [[User:Thither|Thither]] 06:55, 21 December 2007 (EST) == Talk for Terminal Activity == (Nothing really) == Terminal Activity == (This page looks more official, cleaner, and less experimental although I don't like the name as much.) <!--- {{Olpcboxtop|toptext=[[{{PAGENAME}}|Terminal]]}} {{ OBX activity |[[Image:Activity-terminal.svg]]|core }} {{ OBX pootle|1=http://dev.laptop.org/git?p=web-activity;a=blob_plain;f=po/Web.pot;hb=HEAD|2=xocore}} <small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small> {{Olpcboxbottom}} Link to [[Terminal]] dev page instead [[User:Katie|Katie]] 09:01, 5 January 2008 (EST) ---> {{G1G1 Support FAQ}} [[Image:Activity-terminal.svg|85px]] The [[Terminal]] activity grants access to the XO's [[Linux]] command line. The Terminal is a pre-installed Activity that allows you to control your XO directly from a command line, similar to the Terminal program for Mac OSX or the Command Prompt for Microsoft Windows. The Terminal allows you to do far more with your XO than running Sugar activities. But it is also possible to delete your data, and the system data from the command line, so care is needed. '''BEWARE: If you become user "root" by executing "[[su -l]] " you have full control to destroy all software!''' === Starting Terminal === The Terminal Activity is found in the Activities taskbar at the bottom of your [http://laptop.org/laptop/start/homeview.shtml Home View]. You may need to scroll through the Activities taskbar by using the right arrow icon at the bottom of your screen ([[Image:Frame-scroll-right.gif|25px]]) to find the [[Image:Activity-terminal.svg|35px]] icon. Another way to bring up the Linux command prompt is by pressing the Ctrl+Alt+Neighborhood keys at the same time. The Neighborhood key is represented by a circle with 8 small dots [[Image:Mesh key f1 small.png]]. Note: You can find [[Keyboard Shortcuts]] and [http://laptop.org/laptop/start/keyboard.shtml the keyboard illustrated here]. === Common '''Terminal''' Commands === * [[Sugar-Control-Panel|sugar-control-panel]] - Change [[Sugar-Control-Panel#nickname|nickname]], [[Sugar-Control-Panel#Color|XO Color]], [[Sugar-Control-Panel#Time|time zone]] and other options * [[ifconfig]] - View [[Wifi Connectivity|Wireless Network connections]] * [[nano]] for editing text files directly. If you want to edit text files in Sugar, use [[Write]]. * [[yum]] for automatically installing new software. * [[rpm]] - another way to automatically install new software * [[olpc-logbat]] - log the activity of the battery system. Useful for assisting developers in debugging battery problems. The core Linux used on the XO is [http://www.Fedora.org Fedora 7]. === Limitations / Known Problems === It is not possible to [[Terminal#Cutting and Pasting|copy and paste from]] the [[Terminal]] as of Ship.2 (The version all G1G1 donor will receive). So, if you are following some instructions from a web page in the Browse activity, and want to copy them into the Terminal activity, a pen and paper is required unfortunately. Copy/paste, but not Drag-and-Drop, will be possible in Update.1. This has been [http://dev.laptop.org/ticket/5376 logged] on the dev.laptop.org bug tracking system. There is a partial work-around for this problem, but it requires an extra USB mouse with a third-button scroll wheel. [[Scroll-Wheel Copy and Paste|Description here]] === See Also === * [http://www.ss64.com/bash/ BASH Reference] A longer list of commands that can be used in the Terminal. == Terminal == This page looks like a bit of this and a bit of that. <!---- Intentionally separate {{merge|Terminal_Activity|Talk:Terminal#Merger proposal|{{subst:08/02/08}}}} Katie ---> {{Olpcboxtop|toptext=[[{{PAGENAME}}|Terminal]]}} {{ OBX activity |[[Image:activity-terminal.svg|42px]]|extra}} {{ OBX source dev|projects/terminal-activity}} <small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small> {{Olpcboxbottom}} * The Terminal activity gives a simple command prompt similar to that provided by the [[Developer Console]]. * It is included in recent builds of the laptop (e.g. build 650). Latest versions: :[[Image:Terminal-9.xo|version 9]] as of Feb 2008 ===Change font size in the Terminal Activity=== Here is how to increase the print size in the terminal: * Launch the Terminal activity. * Type nano ~/.sugar/default/terminalrc * Find the line saying Font = Monospace 8 And change it to Font = Monospace 16 (or whatever you want). * Press <tt>Control-X</tt> and answer '''Yes''' to save. * Close the terminal activity (the X in the top right-hand corner) * Re-open the terminal activity, the terminal should now be in 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]].) ===Cutting and Pasting=== ====Using build 650==== It is not possible to cut and paste from the terminal to other activities. However 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. : Isn't it possible to configure the X Server so that the "double cord" of pressing the left and the right mouse button at the same time, emulate the middle mouse button? But even simpler would be to use the right mouse button for pasting since it is not currently used in the terminal. -- Dov Grobgeld - 2008-01-23 : Also try "CTRL+SHIFT+V" for paste. ====gnome-terminal==== Chew up some of that precious nand and install gnome-terminal so you can paste those long strings into a shell: su -1 yum install gnome-terminal ====Using joyride build 1606==== This '''experimental''' OS build has cut & paste included and working. You can update your whole system from the terminal as a [[su|super user]] by typing olpc-update joyride-1606 [Note to authors: suggest providing (perhaps thru a link elsewhere) any well known pitfalls to using this experimental implementation on an XO used by a child] == New Page == <!--- {{Olpcboxtop|toptext=[[{{PAGENAME}}|Terminal]]}} {{ OBX activity |[[Image:Activity-terminal.svg]]|core }} {{ OBX pootle|1=http://dev.laptop.org/git?p=web-activity;a=blob_plain;f=po/Web.pot;hb=HEAD|2=xocore}} <small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small> {{Olpcboxbottom}} Link to [[Terminal]] dev page instead [[User:Katie|Katie]] 09:01, 5 January 2008 (EST) ---> {{G1G1 Support FAQ}} [[Image:Activity-terminal.svg|85px]] The [[Terminal]] activity grants access to the XO's [[Linux]] command line. The Terminal is a pre-installed Activity that allows you to control your XO directly from a command line, similar to the Terminal program for Mac OSX or the Command Prompt for Microsoft Windows. The Terminal allows you to do far more with your XO than running Sugar activities. But it is also possible to delete your data, and the system data from the command line, so care is needed. '''BEWARE: If you become user "root" by executing "[[su -l]] " you have full control to destroy all software!''' === Starting Terminal === The Terminal Activity is found in the Activities taskbar at the bottom of your [http://laptop.org/laptop/start/homeview.shtml Home View]. You may need to scroll through the Activities taskbar by using the right arrow icon at the bottom of your screen ([[Image:Frame-scroll-right.gif|25px]]) to find the [[Image:Activity-terminal.svg|35px]] icon. Another way to bring up the Linux command prompt is by pressing the Ctrl+Alt+Neighborhood keys at the same time. The Neighborhood key is represented by a circle with 8 small dots [[Image:Mesh key f1 small.png]]. Note: You can find [[Keyboard Shortcuts]] and [http://laptop.org/laptop/start/keyboard.shtml the keyboard illustrated here]. === Common '''Terminal''' Commands === * [[Sugar-Control-Panel|sugar-control-panel]] - Change [[Sugar-Control-Panel#nickname|nickname]], [[Sugar-Control-Panel#Color|XO Color]], [[Sugar-Control-Panel#Time|time zone]] and other options * [[ifconfig]] - View [[Wifi Connectivity|Wireless Network connections]] * [[nano]] for editing text files directly. If you want to edit text files in Sugar, use [[Write]]. * [[yum]] for automatically installing new software. * [[rpm]] - another way to automatically install new software * [[olpc-logbat]] - log the activity of the battery system. Useful for assisting developers in debugging battery problems. The core Linux used on the XO is [http://www.Fedora.org Fedora 7]. === Copy / Paste Problems === Cutting and pasting to and from the Terminal isn't properly supported, and so is awkward, but not completely impossible. There are several ways to deal with this: ; Wait: Copy/paste, but not Drag-and-Drop, will be possible in Update.1. ; Use a USB mouse: You can [[Scroll-Wheel_Copy_and_Paste|use a scroll-wheel button]] to copy and paste. ; Jump ahead: '''Experimental''' Joyride 1606 OS build has cut & paste included and working. Joyrides are experimental, so proceed with caution, particularly if it's a kid's machine. You can update your whole system from the terminal as a [[su|super user]] by typing: olpc-update joyride-1606 ; gnome-terminal: Chew up some of that precious nand and install gnome-terminal so you can paste those long strings into a shell: su -1 yum install gnome-terminal ===Change font size in the Terminal Activity=== Here is how to increase the print size in the terminal: * Launch the Terminal activity. * Type nano ~/.sugar/default/terminalrc * Find the line saying Font = Monospace 8 And change it to Font = Monospace 16 (or whatever you want). * Press <tt>Control-X</tt> and answer '''Yes''' to save. * Close the terminal activity (the X in the top right-hand corner) * Re-open the terminal activity, the terminal should now be in larger print. === See Also === * [http://www.ss64.com/bash/ BASH Reference] A longer list of commands that can be used in the Terminal.
General Activity Info (for latest tested version)
To add another activity version that works with other builds click "add another"
Version number:
Releases tested on: 7.1.0 (650) 7.1.1 (653) 7.1.2 (656) 8.1.0 (703) 8.1.1 (708) 8.2.0 (767) 8.2.1 Candidate
Development status: 1. Planning 2. Pre-Alpha 3. Alpha 4. Beta 5. Production-stable 6. Mature
Summary::
This is a minor edit Watch this page
Cancel