Changes

Jump to navigation Jump to search
Line 12: Line 12:     
There are 4 options for file editing
 
There are 4 options for file editing
* the vi editor
+
===The vi editor===
* using gedit from the Sugar terminal
+
In terminal type
* the GNOME desktop on dual boot laptops
+
  vi ''filename''
* using write as described below:
+
The syntax of vi is obscure for the unfamiliar
 +
 
 +
===The GNOME desktop on dual desktop laptops===
 +
Double click on "Computer" to navigate, double clicking a file will open it in GEdit
 +
 
 +
===Using GEdit from terminal===
 +
GEdit will be found on dual desktop systems, notably the Paraguay builds.
 +
If used as above, it does not allow editing in directories above /home/olpc
 +
To access the higher level directories run GEdit from Terminal in either Sugar or GNOME and use the su or sudo commands
 +
  su
 +
  gedit
 +
or
 +
  sudo gedit
 +
 
 +
===Using Write===
    
To edit, select the code and copy to the clipboard (ctrl c) and open Pippy (the Python editor) and paste it to the code window (ctrl v). You can then edit the code and save it to the Journal, ''keep as Pippy document'' and using a suitable filename (eg ''filename.py'')
 
To edit, select the code and copy to the clipboard (ctrl c) and open Pippy (the Python editor) and paste it to the code window (ctrl v). You can then edit the code and save it to the Journal, ''keep as Pippy document'' and using a suitable filename (eg ''filename.py'')
2,486

edits

Navigation menu