Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

69
votes
7answers
25k views

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 ...
35
votes
2answers
27k views

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.
27
votes
6answers
11k views

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

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 ...
27
votes
4answers
24k views

Make gedit embedded terminal colours the same as the default terminal

I've just updated to 11.10 and now my embedded terminal in gedit does not match my default terminal. I hate looking at a white and black terminal. Does anyone know how to make the embedded terminal ...
21
votes
3answers
6k views

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 - ...
18
votes
2answers
8k views

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 ...
18
votes
5answers
4k views

When creating a new text file, should I add a .txt extension to its name?

When I create a new document aimed at containing only plain text, I am not obliged by Ubuntu to add a .txt extension to its name. It works indeed very well: gedit opens it without problem, ...
17
votes
3answers
3k views

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 ...
16
votes
8answers
1k views

How can I make 'man' more gui friendly?

When I type man bash it shows the info in the terminal itself. How do I tell "man" to open up the info in gedit instead? Is this possible?
16
votes
2answers
8k views

Is there code folding for gedit?

Does anyone know about a way to get code folding in gedit, I've found this plugin in google code, but looks like dead and doesn't work with the latest gedit. Any idea is wellcome
15
votes
3answers
6k views

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 ...
14
votes
3answers
6k views

Can I set a default syntax highlighting in Gedit?

Until you save a document in gedit, syntax highlighting is turned off. There are obviously good reasons for this -- people might get confused if certain words were randomly showing up in different ...
14
votes
2answers
10k views

Is it a good idea to install gedit in Lubuntu?

I've been a Ubuntu user for years now, but since 11.10 will come with GNOME3/Unity, neither of which I like, I've decided to switch to Lubuntu, which uses LXDE as the desktop environment. The only ...
14
votes
2answers
2k views

gedit modelines – What are they? How do they work?

There is a gedit plugin called Modelines and the plugin is described as Emacs, Kate and Vim-style modelines support for gedit. What are modelines? And how do they work in gedit?
13
votes
1answer
6k views

How can I change the color of the text in a terminal embedded in GEdit?

I am having trouble using the terminal in GEdit since the text-color is white on gray background. I can not find an option to change anything for that terminal anywhere. How can I change it? N.B. The ...
13
votes
2answers
10k views

Recommend regular expression plugin for gedit?

I would like to do some search and/or replace using regular expression in gedit. If I am correct, by default it is impossible to do this. So I was wondering if someone can recommend some nice plugin ...
13
votes
2answers
6k views

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?
12
votes
7answers
20k views

True column-mode (block-selection and editing) text editor solution?

In windows, I used to use a text editor called crimson editor which featured the best column-mode editing support I have yet to use. When enabled via a simple Alt-C shortcut, selections could be made ...
12
votes
6answers
1k views

How to write superscript characters in gedit?

In gedit, how can I write x^2 without using ^? Where 2 will be the superscript of x.
12
votes
2answers
9k views

Some Ubuntu 13.04 applications cannot access files on MTP-mounted systems. Why?

Ubuntu 13.04 comes with MTP support to access files on newer Android devices. My Nexus 10 works OK: after plugging in, I can access the N10 files with Nautilus, and I can copy from and to the device. ...
12
votes
3answers
6k views

How do I run a graphical application on a remote server when logged in through ssh?

I am trying to run gedit from an SSH terminal on Windows, connected to an Amazon EC2 instance running Ubuntu 12.04 Server and I am getting this error: Cannot open display: How do I fix it?
12
votes
1answer
4k views

SyncTeX with gedit and Evince

In Oneiric gedit includes support for SyncTeX and Evince has supported it since 2.32 (Oneiric includes Evince 3.2.0). How do I use SyncTeX with gedit and Evince? I have compiled with the -synctex=1 ...
12
votes
1answer
2k views

gedit plugin for HTML tag match

Is there a gedit plugin for highlighting HTML matching tag? if so then please suggest me. For example in this sample: <div> //div1 <div> //div2 </div> //end of div2 ...
11
votes
3answers
2k views

How do I stop gedit from opening anything?

I use gVim all the time and open all sorts of plain text files, source codes and virtually anything that is readable with gVim. Ubuntu however decides that I should use gedit! I got searching and I ...
11
votes
2answers
3k views

How to compile gedit LaTeX plugin?

Because I'd like to use the Gedit LaTeX plugin that is unfortunately not available for Gedit 3.2 in the repositories, I want to compile it myself. The most recent version you can get on ...
10
votes
7answers
1k views

Support for various features in gedit

I'm trying to use gedit as my main editor, and am looking for help with some tricky features. For each of the following, can people help me out with how to install and configure the feature? code ...
10
votes
2answers
4k views

Opening a non-utf8 encoded text file

I sometimes need to open text files that are encoded in EUC-KR. man gedit gives: --encoding Set the character encoding to be used for opening the files listed on the ...
10
votes
2answers
5k views

Why is 'gedit' going back to default tab sizes all the time?

Everytime I open a file in gedit, I have to change again the tab with from 8 to 4, as I prefer it. Is there any configuration file where I can make 4 the default tab width?
10
votes
0answers
123 views

Configuring the gedit embeded terminal [duplicate]

I have two problems with my gedit embeded terminal: First my terminal line is white and black, and I really want it to be like the Ubuntu terminal line that is purple: Embeded terminal: Regular ...
9
votes
2answers
22k views

How to set encoding in gedit 3.2?

I can not display file coded with GBK. In gconf-editor of gnome 3.2 , I can not find encoding item of gedit . How to set it ? thanks
9
votes
4answers
6k views

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 ...
9
votes
2answers
1k views

How can I install gedit-latex-plugin without installing the rest of TeX?

After installing ubuntu 12.04 Gedit has gotten much better (faster), and I'm considering using it for LaTeX. I have installed TeXLive 2011 via their own installation script (Ubuntu repositories only ...
8
votes
2answers
6k views

How can I get gedit ready for programming in Ruby and Ruby on Rails?

I'd like to know which gedit plugins I could install to make programming for Ruby and Ruby on Rails easier?
8
votes
3answers
10k views

Can I change gedit's background color without changing to another theme?

I like ambiance but i find it a little too hard on the eyes to have to edit files on a pure white background, like gedit's. Is there any way to modify my theme to make gedit's background color ...
8
votes
1answer
677 views

In gedit, what is the “file browser panel” plugin and what does it do?

The "File browser panel" plugin says "Easy file access from the side panel". What side panel? The launcher maybe? I was watching 4 Tricks to Speed Up Ubuntu - YouTube and it said to turn off this ...
8
votes
2answers
13k views

How to use gedit-latex-plugin?

I have installed the packages texlive and gedit-latex-plugin. I see syntax highlighting for .tex files, but I don't get any extra stuff in my gedit menus or toolbars for latex -> pdf like I expected ...
8
votes
2answers
2k views

How can I print the line numbers of gedit?

I want to print the line numbers along with c source-code in the text editor "Gedit". I am tired to look all day at the display. Thank you for any time or effort.
8
votes
4answers
7k views

Is there an easier or more 'correct' way to open gedit as root?

I have ubuntu 12.04 running in a virtual machine on virtual box. Its existence is mainly as a 'toy' to play about with Ubuntu, so for this reason I wanted the GUI (is that what 'Dash' is in ubuntu ...
8
votes
4answers
1k views

Two gedit plugins clash. How to change shortcut keys, or enable/disable a plugin

Gedit has two plugins from Gnome's Gedit Plugins page which I both particularly want... Multi-edit Control Your Tabs However they both vie for the same shortcut keys: Ctrl+PageUp and ...
8
votes
1answer
822 views

How to enable Gedit autosave files with name of current system Date and Time

I want Gedit to autosave files, by the default name with the current system Date and time. Is this possible? If not, is any hack to achieve the same? The use of this feature is, the file names are ...
8
votes
2answers
763 views

Can't get Mouse back in gEdit after Shift Key Is Pressed

By default when you type in gEdit, mouse disappears and you can get it back by moving your mouse. So, you can do whatever you want using your mouse. But when I press Shift or Ctrl or Enter and move ...
8
votes
1answer
5k views

“libpeas-WARNING **: Could not find loader 'python3' for plugin” when loading a pluging in gedit

I recently upgraded to Ubuntu 13.04 and I use gedit for a lot of things. I was trying to install some plugins that I use quite frequently and I came into some issues. First I installed the plugins ...
8
votes
1answer
343 views

How can I run gedit with a different configuration

I want to use gedit as a programming IDE and as a regular text editor. Would I be able to make some .desktop file to load a different configuration?
8
votes
1answer
1k views

Gedit's LaTeX plugin opens a dialog called “Choose Master Document” each time a .tex file is opened

I use gedit-latex-plugin to edit my LaTeX documents. However, each time I open a .tex or .sty file, an annoying dialog labeled "Choose Master Document" pops up, and unless I select the same file ...
7
votes
2answers
17k views

Need Software to compare two text files [duplicate]

Possible Duplicate: File and directory comparison tool? Is there any software available on Ubuntu12.04 to compare two gedit text files for the differences between them. I have two CSS text ...
7
votes
3answers
10k views

Warnings while launching gedit from the Ubuntu terminal

I am facing these warnings while launching gedit from my terminal. Eventually gedit starts, but with these lines of warning every time when I launch gedit: (gedit:3830): Gtk-WARNING **: Theme parsing ...
7
votes
2answers
10k views

Finding the gedit plugin folder

I am a bit confused as to where I should put externally downloaded plugins. I have tried putting them in: /usr/share/gedit/plugins ~/. Local/gedit/plugins ~/. Gnome2/gedit/plugins ...
7
votes
1answer
11k views

Using “Oblivion” color scheme from gedit in Kate

I like gedit's color scheme Oblivion a lot. Is there a way to use the same color scheme in Kate text editor? I know that configuration files for color scheme for gedit and Kate aren't compatible. I ...
7
votes
1answer
2k views

gEdit problem with color of selected text

I have a weird problem here using gEdit. It's gEdit 3.2 in Ubuntu 11.10. When I select some piece of text, this should be white text on orange background (Unity 11.10 default). Suddenly it started ...
7
votes
1answer
526 views

Gnome 3 - Gedit 3.10 Any Auto session saver plugin?

I am on Ubuntu 13.10 Gnome shell 3.10.I want to automatically restore tabs in gedit that were open in previous session (without any manual work) - Just like a web browser - FF/Chrome. Any such ...