Ubuntu: gedit creates files with tilde (~)

gedit is a very simple but great text editor for Linux. It comes already preinstalled in Ubuntu and most of users use this program almost daily.

There is an issue with gedit which may disturb some of us: it creates some strange files. If you are for example editing “text.txt”, gedit will create “text.txt~” . This file is hidden, so in most of the cases is not showed directly. To show it browse to the directory where the file is and use CTRL+H to see hidden files, or, if you are using terminal, go to the directory where the file is and use the ls command to list all the files.

This file is a backup file created by gedit. If we want the program not to create that file anymore:

  1. Open gedit
  2. Edit -> Preferences
  3. Select the “Editor” tab
  4. Uncheck “Create a security copy of the file before saving it” (I am not totally sure this is exactly the right sentence they use, but it should be quite near)

This will make gedit stop to produce those files.

Enjoy gedit! 🙂

Advertisements
Ubuntu: gedit creates files with tilde (~)

One thought on “Ubuntu: gedit creates files with tilde (~)

  1. Ahmamubbha Katamonga says:

    Really want to say Thanks for this one!
    Thoose extra “tilde” files was making me mad, didn’t understand where they came from.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s