Questions tagged [gedit]

gedit is a text editor for the GNOME desktop environment, not to be confused with GNOME Text Editor (gnome-text-editor) released with GNOME 42

gedit is the default text editor included with Ubuntu 22.04 and older versions of Ubuntu.

gedit is a general-purpose text editor.

The first goal of gedit is to be easy to use, with a simple interface by default. More advanced features are available by enabling plugins.

Source: https://wiki.gnome.org/Apps/Gedit

Ubuntu 22.10 ships with GNOME's new text editor app called, confusingly for this sentence, Text Editor. See

940 questions
124
votes
7 answers

Prevent gedit from creating files with the '~' (tilde) suffix

I have observed that in gedit if I edit a file, another file is created in the same directory (the one with the same filename and a tilde '~' suffix). The extra file remains even if I close gedit. I understand the need for a temp file (eg. in case…
63
votes
2 answers

Start a new process without blocking the terminal

Is it possible to do this? For example if I run "gedit tifatul.txt" via the command line, my terminal becomes blocked and I can't enter other command in this terminal before I quit gedit. Can I start a program (like gedit) without blocking the…
TifatulS
  • 1,335
60
votes
11 answers

Where are gedit's preferences?

This is incredibly weird. I don't see "preferences" in any of my gedit menus. I'm running Version 3.8.3. All I want to do is show line numbers, but I can't do that without preferences. Where the heck are they hiding? note: I did remove…
Amanda
  • 9,723
60
votes
3 answers

How to stop Gedit, Gvim, Vim, Nano from adding End-of-File newline char?

Sometimes I want the last line of a text file to be a simple string of text with no newline character appended: ...eg. to concatenate another file to it. Several editors automatically modify my text by adding a newline character, even though I…
Peter.O
  • 25,251
55
votes
3 answers

Getting the default text editor used in system

I have used select-editor and I note that I am using /usr/bin/nano. Is this the default text editor I am using? When I open text files, It opens with gedit What command in terminal must be specified to get the default text editor that I am using,…
48
votes
5 answers

Can I toggle word-wrapping on/off quickly in Gedit?

Depending on nature of the text, sometimes line wrapping is convenient, sometimes it is just confusing. And every time I need to switch this (pretty frequently) I have to do to View - Preferences - Enable text wrapping - Close - four clicks, not…
Ivan
  • 58,745
48
votes
3 answers

Selected line's contents aren't readable in GEdit while using dark theme on Ubuntu 20.04

I am unable to see what I type in the Gedit editor using dark theme. This is due to the default setting of highlighting the current line.
Yogesh Jog
  • 1,889
45
votes
7 answers

How do I install a plugin for gEdit v3?

I just installed the ubuntu 11.10, and I want to install a plugin for gEdit. I unpacked the plugin to the following folder: ~/.gnome2/gedit/plugins but in the gedit doesn't show up the plugin.
Mokus
  • 4,592
44
votes
7 answers

I can't use the terminal while gedit command is running

I recently installed 12.04. When I try to edit a file with gedit, I can't use the terminal until I close the editing file or I have to open a new terminal. But I think I didn't have this problem with 11.04, however I'm not sure. Is there anyway to…
43
votes
3 answers

How to zoom in and out of text in Gedit?

I am using Ubuntu 11.10. This seems to be an easy question, yet I cannot find an answer anywhere. On pre-unity Ubuntu, I was using gedit-zoom plugin to zoom text in editor window in/out, either with Ctrl++/-, or by holding Ctrl+ scrolling…
Greg V.
  • 555
40
votes
2 answers

gedit: search and replace with regular expressions

I want to replace this with gedit: 1299465 | 2003415 | 2015-09-06 05:35:34.59662+02 1299449 | 2009400 | 2015-09-06 05:35:32.301683+02 1299450 | 2008465 | 2015-09-06 05:35:32.451393+02 1299457 | 2015211 | 2015-09-06 05:35:33.451049+02 to…
guettli
  • 1,765
37
votes
5 answers

Why does gedit keep randomly opening new instances when opening files from nautilus?

Oh how I love Ubuntu and all its features, but this "bug" has been making me angry for so long and I've finally decided to ask for help here. I've assigned all .php files to be opened with gedit whenever I double-click them in nautilus. Now, the…
Frantisek
  • 8,998
37
votes
5 answers

How to stop gedit (and other programs) from outputting GTK warnings and the like in my terminal?

I am running the awesome window manager on trusty after having upgraded from raring. My desktop environment intentionally does not have all the Gnome / Freedesktop daemons running — I don't want them. When I execute gedit from a terminal like…
FUZxxl
  • 1,503
35
votes
4 answers

Is there Split Pane support in Gedit?

I know some other text editors like Notepad++ enable split pane to edit to files side by side. Is there any way I can add this functionality to Gedit?
jumpnett
  • 6,185
34
votes
6 answers

Custom keyboard shortcuts in gedit

Since I spend a lot of time on my laptop, I've gotten used to using keyboard shortcuts for everything. I want to be able to switch from tab to tab of opened documents in gedit by pressing Ctrl+Tab and Ctrl+Shift+Tab. Are there config files I can…
1
2 3
62 63