Gedit-Text-Editor/C2/Introduction-to-gedit-Text-Editor/English

From Script | Spoken-Tutorial
Jump to: navigation, search

>>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.10
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 14:

Forum for specific questions(cont..)

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 15:

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