Save a file

To save a file in gedit, click on the Save button on the right side of the toolbar or just press Ctrl+S.

If you are saving a new file, a dialog will appear, and you can select a name for the file, as well as the directory where you would like the file to be saved.