Activity Team/Modifing an Activity: Difference between revisions
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) →Editing: gedit |
||
| Line 12: | Line 12: | ||
There are 4 options for file editing | There are 4 options for file editing | ||
===The vi editor=== | |||
In terminal type | |||
vi ''filename'' | |||
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'') | ||