Difference between revisions of "Gedit-Text-Editor/C2/Introduction-to-gedit-Text-Editor/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "'''>>Title of script''':''' Introduction to gedit Text editor''' <span style="color:#000000;">'''Author: Nirmala Venkat'''</span> '''Keywords:''' gedit Text editor, gedit in...")
 
Line 1: Line 1:
'''>>Title of script''':''' Introduction to gedit Text editor'''
 
  
<span style="color:#000000;">'''Author: Nirmala Venkat'''</span>
+
'''>>Title of script''':''' Introduction to gedit Text  Editor'''
  
'''Keywords:''' gedit Text editor, gedit installation, Open a file, Save a file, Close a file, Video tutorial  
+
'''Author: Nirmala Venkat'''
 +
 
 +
'''Keywords:''' gedit Text Editor, gedit installation, Open a file, Save a file, Close a file, Video tutorial  
 +
 
 +
{| style="border-spacing:0;width:17.198cm;", Border = 1
 +
|'''Visual Cue'''
 +
|'''Narration'''
  
{| style="border-spacing:0;width:17.198cm;"
 
|- style="background-color:#c0c0c0;border:1pt solid #000000;padding:0.097cm;"
 
|| <span style="color:#000000;">'''Visual Cue'''</span>
 
| style="color:#000000;" | '''Narration'''
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 1:</span>
+
|Slide 1:
 +
|Welcome to the spoken tutorial on ''' Introduction to gedit Text Editor'''
  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Welcome to the</span><span style="color:#000000;">''' Spoken Tutorial'''</span><span style="color:#000000;"> on</span><span style="color:#000000;">''' Introduction to gedit Text editor</span><span style="color:#000000;">.'''</span>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 2:</span>
+
|Slide 2:
 +
Learning objectives
  
<span style="color:#000000;">Learning objectives</span>
+
|In this tutorial, we will learn about:
  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">In this tutorial, we will learn about:</span>
+
* '''gedit Text  Editor'''
 +
* Installation of ''' gedit''' in ''' Ubuntu Linux''' and ''' Windows OS'''
  
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">'''gedit Text editor'''</span></div>
+
We will also learn how to
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Installation of</span><span style="color:#000000;">''' gedit'''</span><span style="color:#000000;"> in</span><span style="color:#000000;">''' Ubuntu Linux'''</span><span style="color:#000000;"> and</span><span style="color:#000000;">''' Windows OS'''</span></div>
+
* create a new file
 +
* open, save and close an existing file
  
<div style="color:#000000;"></div>
+
|-
 +
|Slide 3:
 +
System Requirements
 +
|To record this tutorial, I am using:
 +
* '''Ubuntu Linux '''14.04 operating system
 +
* '''gedit''' 3.4.1
  
<span style="color:#000000;">We will also learn how to </span> <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">create a new file</span></div>
+
|-
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">open, save and close</span><span style="color:#000000;">''' '''</span><span style="color:#000000;">an existing file</span></div>
+
| Slide 4:
 +
Pre-requisites
 +
* Working Knowledge of any operating system
 +
|To follow this tutorial, you should have working knowledge of any operating system.
 +
 
 +
|-
 +
|
 +
|First we will see how to install '''gedit Text Editor'''.
  
<div style="color:#000000;"></div>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 3:</span>
+
|Slide 5:
 +
Installation on Windows
 +
'''https://wiki.gnome.org/Apps/Gedit#Download'''
  
<span style="color:#000000;">System Requirements</span>
+
|You can find instructions on
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">To record </span><span style="color:#000000;">this tutorial, I am using:</span>
+
*how to install '''gedit Text  Editor''' on  '''Windows'''
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">'''Ubuntu Linux '''</span><span style="color:#000000;">14</span><span style="color:#000000;">.04 operating system</span></div>
+
*by visiting the link shown.  
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">'''gedit'''</span><span style="color:#000000;"> 3.4.1</span></div>
+
  
<div style="color:#000000;"></div>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 4:</span>
+
|Slide 6 :  
 +
Installation on Ubuntu Linux
  
<span style="color:#000000;">Pre-requisites</span>* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Working Knowledge of any operating system</span></div>
+
|'''gedit Text  Editor'''  is preinstalled in ''' Ubuntu Linux OS.'''
  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">To follow this tutorial, you should have working knowledge of any operating system.</span>
 
  
<div style="color:#000000;"></div>
+
It  can be installed on ''' Ubuntu Linux'''  using ''' Ubuntu Software Centre.'''
 +
 
 +
 
 +
For more details on ''' Ubuntu Software Centre,'''  refer to the ''''Linux' spoken tutorials'''  on our website.
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |  
+
|
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">First we will see how to install </span><span style="color:#000000;">'''gedit'''</span><span style="color:#000000;">.</span>
+
|'''gedit Text  Editor'''  is already preinstalled in my system.  
 +
 
 +
Now let us open ''' gedit Text  Editor'''.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 5</span><span style="color:#000000;">:</span>
+
|Click Dash home
 +
|Click ''' Dash Home'''  on the top left corner of the computer desktop.
  
<span style="color:#000000;">Installation on Windows</span>
+
|-
 +
|In the search box >> type gedit
 +
|In the  '''Search box''', type ''' gedit'''.
  
<span style="color:#000000;">'''https://wiki.gnome.org/Apps/Gedit#Download'''</span>
 
  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">You can find instructions on how to install </span><span style="color:#000000;">'''gedit Text editor'''</span><span style="color:#000000;"> on </span><span style="color:#000000;">'''Windows'''</span><span style="color:#000000;"> by visiting the link shown.</span>
+
The '''text  Editor''' icon appears. Click on it.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 6</span><span style="color:#000000;">:</span>
+
|Point to the new gedit window.
 +
|This will open a new ''' gedit Text  Editor''' window.
  
<span style="color:#000000;">Installation on Ubuntu Linux</span>
+
|-
 +
|
 +
|Alternately, you can open ''' gedit Text Editor'''  using the  '''Terminal'''.
  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">'''gedit Text editor'''</span><span style="color:#000000;"> is preinstalled in</span><span style="color:#000000;">''' Ubuntu Linux OS.'''</span>
 
  
<span style="color:#000000;">It</span><span style="color:#000000;"> can be installed on</span><span style="color:#000000;">''' Ubuntu Linux'''</span><span style="color:#000000;"> using</span><span style="color:#000000;">''' Ubuntu Software Centre.'''</span>
+
I will close this window now.  
  
<span style="color:#000000;">For more details on</span><span style="color:#000000;">''' Ubuntu Software Centre,'''</span><span style="color:#000000;"> refer to the ‘</span><span style="color:#000000;">'''Linux’ spoken tutorials'''</span><span style="color:#000000;"> on our website.</span>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
|'''Press CTRL +ALT+T'''
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">'''gedit Text editor'''</span><span style="color:#000000;"> is already preinstalled in my system.</span>
+
|To open a  '''Terminal''' , press the ''' CTRL+ALT''' + '''T''' keys together.  
  
<span style="color:#000000;">Now let us open</span><span style="color:#000000;">''' gedit Text editor'''</span><span style="color:#000000;">.</span>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Click Dash home</span>
+
|Type '''gedit''' >> press Enter.
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Click</span><span style="color:#000000;">''' Dash Home'''</span><span style="color:#000000;"> on the top left corner of the computer desktop.</span>
+
|Type ''' gedit'''  and press  '''Enter'''.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">In the search box type, gdit</span>
+
|Point to the new gedit window.
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">In the </span><span style="color:#000000;">'''Search box'''</span><span style="color:#000000;">, type</span><span style="color:#000000;">''' gedit'''</span><span style="color:#000000;">. The text editor icon appears. Click on it.</span>
+
|A new  '''gedit Text  Editor''' window opens.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Point to the new gedit window</span>
+
|Point to the Menu bar
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">This will open a new</span><span style="color:#000000;">''' gedit Text editor'''</span><span style="color:#000000;"> </span><span style="color:#000000;">'''window'''</span><span style="color:#000000;">.</span>
+
|The top most bar with all the menus is called the ''' Menu bar.'''  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
|Point to the Tool bar
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Alternately, you can open</span><span style="color:#000000;">''' gedit Text editor'''</span><span style="color:#000000;"> using the </span><span style="color:#000000;">'''Terminal'''</span><span style="color:#000000;">.</span>
+
|Next is the '''Tool bar,''' which contains the most commonly used menus, in icon form.  
  
<span style="color:#000000;">I’ll close this window now.</span>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">'''Press CTRL +ALT+T'''</span>
+
|Point to the Display area
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">To open a </span><span style="color:#000000;">'''Terminal'''</span><span style="color:#000000;">, press the</span><span style="color:#000000;">''' CTRL+ALT'''</span><span style="color:#000000;">+</span><span style="color:#000000;">'''T'''</span><span style="color:#000000;"> keys together.</span>
+
|The display area is where all activities  such as typing, editing takes place.  
|-
+
 
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">'''>> gedit'''</span><span style="color:#000000;"> and press enter.</span>
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Type</span><span style="color:#000000;">''' gedit'''</span><span style="color:#000000;"> and press E</span><span style="color:#000000;">'''nter'''</span><span style="color:#000000;">.</span>
+
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Point to the new gedit window</span>
+
|Point to the '''Untitled Document1'''  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">A new </span><span style="color:#000000;">'''gedit Text editor'''</span><span style="color:#000000;"> window opens.</span>
+
|You can see a  '''tab''' named ''' Untitled Document 1.'''  
|-
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Point to the Menu bar</span>
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">The top most bar with all the menus is called the</span><span style="color:#000000;">''' Menu bar.'''</span>
+
|-
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Point to the Tool bar</span>
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Next is the</span><span style="color:#000000;">''' tool bar'''</span><span style="color:#000000;"> which contains the most commonly used menus, in icon form.</span>
+
|-
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Point to the Display area</span>
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">The display area is where all activities</span><span style="color:#000000;"> such as typing, editing takes place.</span>
+
|-
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Point to the untitled Document1</span>
+
  
<span style="color:#000000;">Type,</span><span style="color:#000000;">''' Welcome to Spoken Tutorial.'''</span>
+
This is the default name given by  '''gedit Text  Editor ''' to the newly opened document.
  
<span style="color:#000000;">Copy and paste the text</span><span style="color:#000000;"> from students</span><span style="color:#000000;">.txt</span>
+
|-
 +
|Type ''' Welcome to Spoken Tutorial.'''
 +
|In the text area, let us type ''' Welcome to Spoken Tutorial.'''
  
<div style="color:#000000;"></div>
+
|-
 +
|Copy and paste the text  from '''students.txt'''
 +
|Below this, we will type some more text as shown here.
  
<span style="color:#000000;">Point to the asterisk</span>
+
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">You can see a </span><span style="color:#000000;">'''tab'''</span><span style="color:#000000;"> named</span><span style="color:#000000;">''' Untitled Document 1.'''</span>
+
|Point to the asterisk  
 +
|Now, in the  '''tab''' , you can see an asterisk next to the name of the file.
  
<span style="color:#000000;">This is the default name given by </span><span style="color:#000000;">'''gedit Text editor '''</span><span style="color:#000000;">to the newly opened document.</span>
+
This means that the file is not yet saved.  
  
<span style="color:#000000;">In the text area, let us type</span><span style="color:#000000;">''' Welcome to Spoken Tutorial.'''</span>
+
|-
 +
|Point to the '''Status bar'''  
 +
|The bottom bar is the  '''Status bar,'''  which displays information about the  current activity.
  
<span style="color:#000000;">Below this, we will type some more text as shown here.</span>
+
|-
 +
|Point to the Ln and Col at the bottom of the status bar
  
<span style="color:#000000;">Now, in the </span><span style="color:#000000;">'''tab'''</span><span style="color:#000000;">, you can see asterisk next to the name of the file. </span>
+
|The  '''Status bar'''  displays the '''cursor''' position with respect to line number and column number.  
  
<span style="color:#000000;">This means that the file is not yet saved.</span>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Point to the status bar</span>
+
|Point to INS in the status bar  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">The bottom bar is the </span><span style="color:#000000;">'''status bar'''</span><span style="color:#000000;"> which displays information about the</span><span style="color:#000000;"> current activity.</span>
+
|It also displays whether the '''mode''' is  '''overwrite'''  or  '''insert.''' 
|-
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Point to the Ln and Col at the bottom of the status bar</span>
+
<div style="color:#000000;"></div>
+
  
<div style="color:#000000;"></div>
+
By default, it is in ''' INS,'''  that is  '''insert mode'''.
  
<div style="color:#000000;"></div>
+
|-
 +
|Point to tab width and Plain text in the status bar
 +
|We will learn about the other two later on.
  
<div style="color:#000000;"></div>
+
|-
 +
|
 +
|Now let us see how to  '''save'''  the file.
  
<span style="color:#000000;">Point to INS in the status bar</span>
+
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">The </span><span style="color:#000000;">'''status bar'''</span><span style="color:#000000;"> displays the </span><span style="color:#000000;">'''cursor'''</span><span style="color:#000000;"> position with respect to line number and column number.</span>
+
|Click on '''File>> Save'''  
  
<span style="color:#000000;">It also displays whether the </span><span style="color:#000000;">'''mode'''</span><span style="color:#000000;"> is </span><span style="color:#000000;">'''overwrite'''</span><span style="color:#000000;"> or </span><span style="color:#000000;">'''insert.'''</span><span style="color:#000000;"> </span>
+
|For this, click on the ''' File''' option in the  '''Menu bar''' and then on ''' Save'''.  
 
+
<span style="color:#000000;">By default, it is in</span><span style="color:#000000;">''' INS'''</span><span style="color:#000000;"> that is </span><span style="color:#000000;">'''insert mode'''</span><span style="color:#000000;">.</span>
+
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Point to tab width and Plain text in the status bar</span>
+
|Type '''Students.txt'''
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">We will learn about the other two later on.</span>
+
|The  '''Save'''  dialog box opens up.   I’ll type the filename as  '''Students.txt'''  
|-
+
 
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Now let us see how to </span><span style="color:#000000;">'''save'''</span><span style="color:#000000;"> the file.</span>
+
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Click on File>> Save</span>
+
|Select '''Desktop''' >> click '''Save''' button
 +
|Choose the destination where you want to save the file.
  
<div style="color:#000000;"></div>
 
  
<span style="color:#000000;">Type Students</span><span style="color:#000000;">.txt as the file name</span>
+
I'll select ''' Desktop'''.
<div style="color:#000000;"></div>
+
  
<div style="color:#000000;"></div>
 
  
<span style="color:#000000;">Select Desktop and click save button</span>
+
Click on the '''Save'''  button.
  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">For this, click on the</span><span style="color:#000000;">''' File'''</span><span style="color:#000000;"> option in the </span><span style="color:#000000;">'''Menu bar'''</span><span style="color:#000000;"> and then on</span><span style="color:#000000;">''' Save'''</span><span style="color:#000000;">.</span>
+
|-
 +
|Point to the filename in the tab.
 +
|Notice that the saved filename is now displayed in the tab.
  
<span style="color:#000000;">The </span><span style="color:#000000;">'''save'''</span><span style="color:#000000;"> dialog box opens up.</span><span style="color:#000000;"> </span><span style="color:#000000;">I’ll type the filename as </span><span style="color:#000000;">'''Students.txt'''</span>
 
<div style="color:#000000;"></div>
 
  
<span style="color:#000000;">Choose the destination where you want to save the file. I'll select</span><span style="color:#000000;">''' Desktop'''</span><span style="color:#000000;">. </span>
+
Also, notice  that the asterisk has disappeared.  
  
<span style="color:#000000;">Click on the S</span><span style="color:#000000;">'''ave'''</span><span style="color:#000000;"> button.</span>
+
|-
 +
| Click ''' File''' >> ''' Close'''
 +
|Now let us close this file.  
  
<span style="color:#000000;">Notice that the saved filename is now displayed in the tab. </span>
+
Click ''' File'''  in the '''Menu bar '''  and select ''' Close'''.  
  
<span style="color:#000000;">Also, notice</span><span style="color:#000000;"> that the asterisk has disappeared.</span>
+
|-
 +
| Click '''File''' >> '''New'''
 +
|We can insert new files into the window by clicking ''' File'''  and ''' New.'''
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
|Point to plus sign icon in the '''Toolbar'''
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Now let us close this file. Click</span><span style="color:#000000;">''' File'''</span><span style="color:#000000;"> in the </span><span style="color:#000000;">'''Menu bar '''</span><span style="color:#000000;">and select</span><span style="color:#000000;">''' Close'''</span><span style="color:#000000;">.</span>
+
|Alternately, you can click the icon in the  '''Toolbar''' with plus sign.  
|-
+
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">We can insert new files into the window by clicking</span><span style="color:#000000;">''' File'''</span><span style="color:#000000;"> and</span><span style="color:#000000;">''' New.'''</span>
+
  
<span style="color:#000000;">Alternately, you can click the icon in the </span><span style="color:#000000;">'''toolbar'''</span><span style="color:#000000;"> with plus sign.</span>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |  
+
|  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Now let us see how to open an</span><span style="color:#000000;"> existing document.</span>
+
|Now let us see how to open an existing document.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
|Click ''' File''' >> '''Open'''
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Click</span><span style="color:#000000;">''' File'''</span><span style="color:#000000;"> in the M</span><span style="color:#000000;">'''enu bar'''</span><span style="color:#000000;"> and select </span><span style="color:#000000;">'''Open'''</span><span style="color:#000000;">.</span>
+
|Click ''' File'''  in the '''Menu bar''' and select '''Open'''.
 +
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
| Select ''' Students.txt''' >> Click on '''Open'''
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Select the file</span><span style="color:#000000;">''' Students.txt'''</span><span style="color:#000000;"> from the</span><span style="color:#000000;">''' Desktop'''</span><span style="color:#000000;"> folder where we had</span><span style="color:#000000;"> saved the file previously.</span>
+
|Select the file ''' Students.txt''' from the ''' Desktop''' folder where we had saved the file previously.  
  
<span style="color:#000000;">Click on the </span><span style="color:#000000;">'''Open'''</span><span style="color:#000000;"> button.</span>
 
|-
 
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Type,</span>
 
  
<span style="color:#000000;">Hari hariprasath@gmail.com</span>
+
Click on the  '''Open'''  button.  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Now we will add few more student details.</span>
+
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
|Type Hari hariprasath@gmail.com
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">It is a good practice to save the file frequently.</span>
+
|Now we will add few more student details.  
  
<span style="color:#000000;">This avoids loss of data if there is a power cut or system crash.</span>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 8:</span>
+
|  
 +
|It is a good practice to save the file frequently.
  
<span style="color:#000000;">Auto save</span>
 
  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">'''Auto save'''</span><span style="color:#000000;"> option can be used to save a </span><span style="color:#000000;">file </span><span style="color:#000000;">automatically, in a specified time interval.</span>
+
This avoids loss of data if there is a power cut or system crash.  
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
|Slide 8:  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Let us see how to use the </span><span style="color:#000000;">'''auto save '''</span><span style="color:#000000;">option.</span>
+
 
 +
Auto save
 +
|'''Auto save''' option  
 +
*can be used to save a file automatically,
 +
*in a specified time interval.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |  
+
|  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Click</span><span style="color:#000000;">''' Edit'''</span><span style="color:#000000;"> in the M</span><span style="color:#000000;">'''enu bar'''</span><span style="color:#000000;">. Then click</span><span style="color:#000000;">''' Preferences'''</span><span style="color:#000000;">.</span>
+
|Let us see how to use the '''auto save ''' option.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
|Click ''' Edit''' >> '''Preferences'''
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">'''Gedit Preferences'''</span><span style="color:#000000;"> dialog box appears. Click the</span><span style="color:#000000;">''' Editor'''</span><span style="color:#000000;"> tab at</span><span style="color:#000000;"> the top of the window.</span>
+
|Click ''' Edit''' in the '''Menu bar'''. Then click '''Preferences'''.
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
|Click ''' Editor''' tab
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Under the </span><span style="color:#000000;">'''File Saving '''</span><span style="color:#000000;">option, check the </span><span style="color:#000000;">'''Autosave'''</span><span style="color:#000000;"> files checkbox.</span>
+
|'''gedit Preferences''' dialog box appears.  
 +
 
  
<span style="color:#000000;">And in the </span><span style="color:#000000;">'''minutes'''</span><span style="color:#000000;"> box, enter 2</span><span style="color:#000000;">.</span>
+
Click the ''' Editor''' tab at  the top of the window.  
  
<span style="color:#000000;">Click on </span><span style="color:#000000;">'''Close'''</span><span style="color:#000000;">.</span>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
| Check '''Autosave'''  files checkbox >> in Minutes >> 2 >> click '''Close'''
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Now our files will get auto saved after every 2</span><span style="color:#000000;"> minutes.</span>
+
|Under the  '''File Saving '''  option, check the  '''Autosave'''  files checkbox.
 +
 
 +
And in the  '''minutes'''  box, enter 2.  
 +
 
 +
Click on  '''Close'''.
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |  
+
|  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">You can continue with your typing as it saves automatically.</span>
+
|Now our files will get auto saved after every 2  minutes.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |  
+
|  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Otherwise, you can click on the icon in the </span><span style="color:#000000;">'''tool bar'''</span><span style="color:#000000;"> with down arrow to save the changes.</span>
+
|You can continue with your typing as it saves automatically.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
|Point to down arrow
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Lastly, to exit the </span><span style="color:#000000;">'''gedit Text Editor'''</span><span style="color:#000000;"> window, click on</span><span style="color:#000000;">''' File'''</span><span style="color:#000000;"> and</span><span style="color:#000000;">''' Quit'''</span><span style="color:#000000;">.</span>
+
|Otherwise, you can click on the icon in the  '''Toolbar''' with down arrow to save the changes.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;color:#000000;" |
+
| Click ''' File'''  and ''' Quit'''.  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">This brings us to the end of this tutorial. Let us summarise.</span>
+
|Lastly, to exit the '''gedit Text Editor'''  window, click on ''' File'''  and ''' Quit'''.  
 +
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 9</span><span style="color:#000000;">:</span>
+
|  
 +
|This brings us to the end of this tutorial. Let us summarise.
  
<div style="color:#000000;">'''Summary'''</div>
+
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">In this tutorial, we learnt</span><span style="color:#000000;"> about:</span>* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Installation of gedit in U</span><span style="color:#000000;">buntu Linux and Windows OS</span></div>
+
|Slide 9 :  
 +
'''Summary'''
 +
|In this tutorial, we learnt about:  
 +
*Installation of gedit in '''Ubuntu Linux''' and '''Windows''' OS
  
<div style="color:#000000;"></div>
+
We also learnt how to 
 +
*Create  a new file
 +
*Open, save and close an existing file  and
 +
*Quit '''gedit Text  Editor'''
  
<span style="color:#000000;">We also learnt how to </span>* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Create</span><span style="color:#000000;"> a new file</span></div>
 
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Open, save and close an existing file</span><span style="color:#000000;"> and</span></div>
 
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Quit gedit Text editor</span></div>
 
<div style="color:#000000;"></div>
 
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 10</span><span style="color:#000000;">:</span>
+
|Slide 10 :  
 
+
'''Assignment'''
<div style="color:#000000;">'''Assignment'''</div>
+
  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Do the following Assignment.</span>
+
|Do the following Assignment.  
  
# <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Open a new window in </span><span style="color:#000000;">'''gedit Text editor'''</span><span style="color:#000000;">.</span></div>
+
# Open a new window in '''gedit Text Editor'''.
# <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Type an i</span><span style="color:#000000;">nvitation letter.</span></div>
+
# Type an invitation letter.
# <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Save it as</span><span style="color:#000000;"> I</span><span style="color:#000000;">'''nvitation.txt'''</span></div>
+
# Save it as '''Invitation.txt'''
# <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Now close the file.</span></div>
+
# Now close the file.
# <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Open the same file and make</span><span style="color:#000000;"> some changes.</span></div>
+
# Open the same file and make some changes.
# <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Use '</span><span style="color:#000000;">'''Save as'''</span><span style="color:#000000;">' option to save the file </span><span style="color:#000000;">and give </span><span style="color:#000000;">'''Invitation1.txt'''</span><span style="color:#000000;"> as filename.</span></div>
+
# Use '''Save as''' option to save the file and give '''Invitation1.txt''' as filename.
# <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Note the changes in the contents of the files </span><span style="color:#000000;">'''Invitation.txt'''</span><span style="color:#000000;"> and </span><span style="color:#000000;">'''Invitation1.txt.'''</span></div>
+
# Note the changes in the contents of the files '''Invitation.txt''' and '''Invitation1.txt.'''
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 11:</span>
+
|Slide 11:  
  
<span style="color:#000000;">About Spoken Tutorial project</span>
+
About Spoken Tutorial project  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">The video at the following link summarises the Spoken Tutorial project.</span>
+
|The video at the following link summarises the Spoken Tutorial project.  
  
<span style="color:#000000;">Please download and watch it.</span>
+
Please download and watch it.  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 12:</span>
+
|Slide 12:  
  
<span style="color:#000000;">Spoken Tutorial workshops</span>
+
Spoken Tutorial workshops  
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">The</span><span style="color:#000000;">''' Spoken Tutorial Project'''</span><span style="color:#000000;"> Team:</span>* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">conducts workshops using spoken tutorials and</span></div>
+
|The ''' Spoken Tutorial Project''' Team:  
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">gives certificates on passing online tests.</span></div>
+
*conducts workshops using spoken tutorials and  
 +
*gives certificates on passing online tests.
 +
 
 +
For more details, please write to us.
  
<span style="color:#000000;">For more details, please write to us.</span>
 
 
|-
 
|-
| style="border-top:1pt solid #000000;border-bottom:0.75pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 13:</span>
+
|Slide 13:  
  
<span style="color:#000000;">Forum for specific questions</span>
+
Forum for specific questions  
| style="border-top:1pt solid #000000;border-bottom:0.75pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;" |  <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Do you have questions in THIS Spoken Tutorial?</span></div>
+
|Do you have questions in THIS Spoken Tutorial?
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Please visit this site.</span></div>
+
*Please visit this site.
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Choose the minute and second where you have the question.</span></div>
+
*Choose the minute and second where you have the question.
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Explain your question briefly.</span></div>
+
*Explain your question briefly.
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Someone from our team will answer them.</span></div>
+
*Someone from our team will answer them.
  
 
|-
 
|-
| style="border:0.75pt solid #000000;padding:0.106cm;" | <span style="color:#000000;">Slide 16</span>
+
|Slide 16  
  
<span style="color:#000000;">Forum for specific questions:</span><div style="margin-left:0cm;margin-right:0cm;"></div><div style="color:#000000;"></div>
+
Forum for specific questions:
| style="border:0.75pt solid #000000;padding:0.106cm;" | <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">The Spoken Tutorial forum is for specific questions on this tutorial</span></div>
+
|The Spoken Tutorial forum is for specific questions on this tutorial
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">Please do not post unrelated and general questions on them</span></div>
+
*Please do not post unrelated and general questions on them.
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">This will help reduce the clutter</span></div>
+
*This will help reduce the clutter.
* <div style="margin-left:0cm;margin-right:0cm;"><span style="color:#000000;">With less clutter, we can use these discussion as instructional material</span></div>
+
*With less clutter, we can use these discussion as instructional material.
  
 
|-
 
|-
| style="border-top:0.75pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Slide 14</span><span style="color:#000000;">:</span>
+
|Slide 14 :  
 +
Acknowledgement
 +
|Spoken Tutorial project is funded by NMEICT, MHRD, Government of India.
  
<div style="color:#000000;">Acknowledgement</div><div style="margin-left:0cm;margin-right:0cm;"></div>
+
More information on this mission is available at this link.  
| style="border-top:0.75pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">Spoken Tutorial project is funded by NMEICT, MHRD, Government of India.</span>
+
 
+
<span style="color:#000000;">More information on this mission is available at this link.</span>
+
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.097cm;" | <div style="color:#000000;"></div>
+
|
 
+
|This is Nirmala Venkat from '''IIT Bombay''' , signing off. Thanks for watching.  
<div style="color:#000000;"></div>
+
| style="border:1pt solid #000000;padding:0.097cm;" | <span style="color:#000000;">This is Nirmala Venkat from </span><span style="color:#000000;">'''IIT Bombay'''</span><span style="color:#000000;">, signing off. Thanks for watching.</span>
+
 
|-
 
|-
 
|}
 
|}

Revision as of 16:33, 31 July 2016

>>Title of script: Introduction to gedit Text Editor

Author: Nirmala Venkat

Keywords: gedit Text Editor, gedit installation, Open a file, Save a file, Close a file, Video tutorial

Visual Cue Narration
Slide 1: Welcome to the spoken tutorial on Introduction to gedit Text Editor
Slide 2:

Learning objectives

In this tutorial, we will learn about:
  • gedit Text Editor
  • Installation of gedit in Ubuntu Linux and Windows OS

We will also learn how to

  • create a new file
  • open, save and close an existing file
Slide 3:

System Requirements

To record this tutorial, I am using:
  • Ubuntu Linux 14.04 operating system
  • gedit 3.4.1
Slide 4:

Pre-requisites

  • Working Knowledge of any operating system
To follow this tutorial, you should have working knowledge of any operating system.
First we will see how to install gedit Text Editor.
Slide 5:

Installation on Windows https://wiki.gnome.org/Apps/Gedit#Download

You can find instructions on
  • how to install gedit Text Editor on Windows
  • by visiting the link shown.
Slide 6 :

Installation on Ubuntu Linux

gedit Text Editor is preinstalled in Ubuntu Linux OS.


It can be installed on Ubuntu Linux using Ubuntu Software Centre.


For more details on Ubuntu Software Centre, refer to the 'Linux' spoken tutorials on our website.

gedit Text Editor is already preinstalled in my system.

Now let us open gedit Text Editor.

Click Dash home Click Dash Home on the top left corner of the computer desktop.
In the search box >> type gedit In the Search box, type gedit.


The text Editor icon appears. Click on it.

Point to the new gedit window. This will open a new gedit Text Editor window.
Alternately, you can open gedit Text Editor using the Terminal.


I will close this window now.

Press CTRL +ALT+T To open a Terminal , press the CTRL+ALT + T keys together.
Type gedit >> press Enter. Type gedit and press Enter.
Point to the new gedit window. A new gedit Text Editor window opens.
Point to the Menu bar The top most bar with all the menus is called the Menu bar.
Point to the Tool bar Next is the Tool bar, which contains the most commonly used menus, in icon form.
Point to the Display area The display area is where all activities such as typing, editing takes place.
Point to the Untitled Document1 You can see a tab named Untitled Document 1.

This is the default name given by gedit Text Editor to the newly opened document.

Type Welcome to Spoken Tutorial. In the text area, let us type Welcome to Spoken Tutorial.
Copy and paste the text from students.txt Below this, we will type some more text as shown here.
Point to the asterisk Now, in the tab , you can see an asterisk next to the name of the file.

This means that the file is not yet saved.

Point to the Status bar The bottom bar is the Status bar, which displays information about the current activity.
Point to the Ln and Col at the bottom of the status bar The Status bar displays the cursor position with respect to line number and column number.
Point to INS in the status bar It also displays whether the mode is overwrite or insert.

By default, it is in INS, that is insert mode.

Point to tab width and Plain text in the status bar We will learn about the other two later on.
Now let us see how to save the file.
Click on File>> Save For this, click on the File option in the Menu bar and then on Save.
Type Students.txt The Save dialog box opens up. I’ll type the filename as Students.txt
Select Desktop >> click Save button Choose the destination where you want to save the file.


I'll select Desktop.


Click on the Save button.

Point to the filename in the tab. Notice that the saved filename is now displayed in the tab.


Also, notice that the asterisk has disappeared.

Click File >> Close Now let us close this file.

Click File in the Menu bar and select Close.

Click File >> New We can insert new files into the window by clicking File and New.
Point to plus sign icon in the Toolbar Alternately, you can click the icon in the Toolbar with plus sign.
Now let us see how to open an existing document.
Click File >> Open Click File in the Menu bar and select Open.
Select Students.txt >> Click on Open Select the file Students.txt from the Desktop folder where we had saved the file previously.


Click on the Open button.

Type Hari hariprasath@gmail.com Now we will add few more student details.
It is a good practice to save the file frequently.


This avoids loss of data if there is a power cut or system crash.

Slide 8:

Auto save

Auto save option
  • can be used to save a file automatically,
  • in a specified time interval.
Let us see how to use the auto save option.
Click Edit >> Preferences Click Edit in the Menu bar. Then click Preferences.
Click Editor tab gedit Preferences dialog box appears.


Click the Editor tab at the top of the window.

Check Autosave files checkbox >> in Minutes >> 2 >> click Close Under the File Saving option, check the Autosave files checkbox.

And in the minutes box, enter 2.

Click on Close.

Now our files will get auto saved after every 2 minutes.
You can continue with your typing as it saves automatically.
Point to down arrow Otherwise, you can click on the icon in the Toolbar with down arrow to save the changes.
Click File and Quit. Lastly, to exit the gedit Text Editor window, click on File and Quit.
This brings us to the end of this tutorial. Let us summarise.
Slide 9 :

Summary

In this tutorial, we learnt about:
  • Installation of gedit in Ubuntu Linux and Windows OS

We also learnt how to

  • Create a new file
  • Open, save and close an existing file and
  • Quit gedit Text Editor
Slide 10 :

Assignment

Do the following Assignment.
  1. Open a new window in gedit Text Editor.
  2. Type an invitation letter.
  3. Save it as Invitation.txt
  4. Now close the file.
  5. Open the same file and make some changes.
  6. Use Save as option to save the file and give Invitation1.txt as filename.
  7. Note the changes in the contents of the files Invitation.txt and Invitation1.txt.
Slide 11:

About Spoken Tutorial project

The video at the following link summarises the Spoken Tutorial project.

Please download and watch it.

Slide 12:

Spoken Tutorial workshops

The Spoken Tutorial Project Team:
  • conducts workshops using spoken tutorials and
  • gives certificates on passing online tests.

For more details, please write to us.

Slide 13:

Forum for specific questions

Do you have questions in THIS Spoken Tutorial?
  • Please visit this site.
  • Choose the minute and second where you have the question.
  • Explain your question briefly.
  • Someone from our team will answer them.
Slide 16

Forum for specific questions:

The Spoken Tutorial forum is for specific questions on this tutorial
  • Please do not post unrelated and general questions on them.
  • This will help reduce the clutter.
  • With less clutter, we can use these discussion as instructional material.
Slide 14 :

Acknowledgement

Spoken Tutorial project is funded by NMEICT, MHRD, Government of India.

More information on this mission is available at this link.

This is Nirmala Venkat from IIT Bombay , signing off. Thanks for watching.

Contributors and Content Editors

Nancyvarkey, Nirmala Venkat