VOOZH about

URL: https://itsfoss.com/how-to-enable-auto-save-feature-in-gedit/

⇱ How to Enable Auto Save Feature in Gedit


👁 Ghostboard pixel

Enable Auto Save Feature in Gedit

Keep forgetting to press Ctrl+S for saving your documents? Take advantage of the autosave feature in Gedit.
Abhishek Prakash
2 min read
👁 Warp Terminal

Gedit, the default text editor in Ubuntu and some other Linux distributions is a powerful, lightweight text editor. It comes witha number offeatures that makes Notepad (of Windows) a hundred years older. Plenty of plugins are available to further enhance its ability according to user requirement.

Gedit also has an autosave feature which is not enabled by default. It comes handy when you are editing a document and want to save your work periodically.

The autosave feature does not work on new unsaved documents but if you are editing an existing document (which has been saved at least once before), your document will be automatically saved after a certain period.

🚧
This autosave feature only works with a previously saved file. It won't work if you have created a new file

There are two ways you can enable the autosave feature in Gedit, the GUI way and the command line way. I’ll show both methods to you.

Method 1: The GUI Way

For the GUI mode, open Gedit and go to Menu->Preferences.

👁 Access preferences in Gedit
Step 1: Access preferences

Under the Editor tab, check the "Autosave files" option. You can also change the autosave interval here. The default autosave interval is 10 minutes.

👁 Enable autosave feature in Gedit
Step 2: Under the Editor tab, enable autosave option

Method 2: The command line way

If you prefer command line over GUI, you can make Gedit automatically save your documents via terminal as well. 

Open a terminal and use the following command to enable autosave in Gedit:

gsettings set org.gnome.gedit.preferences.editor auto-save true

To set or change the autosave interval, use the following command in terminal:

gsettings set org.gnome.gedit.preferences.editor auto-save-interval n

Where n represents number of minutes.

Get more out of Gedit

There are many more Gedit tweaks that you may want to explore.

I hope this quick helped you t enable the autosave feature in Gedit text editor. Cheers :)

About the author

Abhishek Prakash

Created It's FOSS 13 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Read next

Things You Should Know About Ubuntu 26.04

After a Long Time, Ubuntu Shows Some Respect to Deb Packages

Itching to Try the Hot COSMIC DE on Ubuntu Linux? Here's an Easy Way

7 Projects Killed by Ubuntu (But I Still Miss Them)

Ubuntu Will Soon Make AMD GPUs Much Easier to Use for AI Workloads

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

👁 itsfoss happy penguin