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

From Script | Spoken-Tutorial
Revision as of 16:36, 29 July 2016 by Nirmala Venkat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.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.
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, gdit 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’ll close this window now.

Press CTRL +ALT+T To open a Terminal, press the CTRL+ALT+T keys together.
>> gedit and 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

Type, Welcome to Spoken Tutorial.

Copy and paste the text from students.txt

Point to the asterisk

You can see a tab named Untitled Document 1.

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

In the text area, let us type Welcome to Spoken Tutorial.

Below this, we will type some more text as shown here.

Now, in the tab, you can see 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

Point to INS in the status bar

The status bar displays the cursor position with respect to line number and column number.

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

Type Students.txt as the file name

Select Desktop and click save button

For this, click on the File option in the Menu bar and then on Save.

The save dialog box opens up. I’ll type the filename as Students.txt

Choose the destination where you want to save the file. I'll select Desktop.

Click on the Save button.

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

Also, notice that the asterisk has disappeared.

Now let us close this file. Click File in the Menu bar and select Close.
We can insert new files into the window by clicking File and New.

Alternately, you can click the icon in the toolbar with plus sign.

Now let us see how to open an existing document.
Click File in the Menu bar and select 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 in the Menu bar. Then click Preferences.
Gedit Preferences dialog box appears. Click the Editor tab at the top of the window.
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.
Otherwise, you can click on the icon in the tool bar with down arrow to save the changes.
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