Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

42
votes
6answers
8k 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 '~' suffix). The extra file remains even if I close gedit. I ...
28
votes
2answers
14k 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.
22
votes
2answers
12k 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 ...
17
votes
5answers
1k 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
2k 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 - ...
15
votes
3answers
2k 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 ...
14
votes
7answers
847 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?
14
votes
2answers
5k 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
12
votes
2answers
5k 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 ...
12
votes
1answer
3k 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 ...
11
votes
2answers
1k 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?
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
1answer
3k 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 ...
10
votes
1answer
2k 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 ...
10
votes
0answers
117 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
7answers
12k 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 ...
9
votes
3answers
2k 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?
9
votes
2answers
222 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 ...
9
votes
2answers
2k 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 ...
9
votes
2answers
2k 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?
8
votes
2answers
2k 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 ...
8
votes
2answers
2k 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?
8
votes
2answers
4k 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 ...
8
votes
1answer
309 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
4k 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?
7
votes
2answers
6k 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 ...
7
votes
2answers
4k 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 ...
7
votes
2answers
105 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.
7
votes
3answers
969 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 ...
7
votes
1answer
1k 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
2answers
547 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 ...
7
votes
2answers
703 views

How to migrate gedit settings?

So I've just had to do a reinstall and as part of that process, I'm starting a new account to remove some of the crufty config I've built up over time. I've been fairly successful cherry-picking ...
6
votes
3answers
157 views

How to convert WinWord files to open in gedit?

I finally installed Ubuntu in my desktop, but now, when I open Winword files with the text editor, it opens but all the formatting is off. How can I open the file properly?
6
votes
3answers
394 views

Is there a way to launch gedit in fullscreen mode?

Is there a command I can run to launch gedit in fullscreen mode?
6
votes
3answers
1k views

Getting Quickly to use Gvim instead of Gedit

How do I get Quickly to use Gvim (or just vim in a terminal) as its default text editor instead of Gedit? If this can be done, I must be doing it wrong... Ubuntu 10.10 AMD64.
6
votes
3answers
1k 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 ...
6
votes
2answers
187 views

What package do I need to install to develop plugins for gedit?

I'm using Ubuntu 12.04 with python 2.7.3 and PyGObject and I'd like to develop plugins for Gedit in python. I found a simple looking tutorial for this sort of thing here. According to the tutorial, I ...
6
votes
1answer
798 views

English grammar checkers for gedit or LibreOffice Writer?

Please let me know if there are any efficient English grammar checkers available for gedit or LibreOffice on Ubuntu 11.04.
6
votes
1answer
38 views

How can I change the default name that kate and gedit give to new documents?

When you create a new file in kate or gedit they name them like "Untitled1" or "Unsaved Document 1". How can you change this to some other string$n pattern of your choice?
6
votes
2answers
660 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 ...
6
votes
1answer
209 views

I want to see if a file is opened with gedit. Is it possible?

There is a command-line option to see what files are open with gedit? If I open two files in gedit (file1 and file2) and in terminal I use the command: ps ax | grep-v grep | grep gedit I get only ...
6
votes
1answer
302 views

How do I adjust the margin for the line numbers in gEdit?

Recently I was able to increase the left margin between code and line numbers in Gedit (Gnome-text-editor) in Ubuntu 12.10. I don't recall how I achieved this, neither do I recall how Gedit reverted ...
6
votes
2answers
311 views

Code folding plug-in for gedit 3.2.1?

I need the code folding property in gedit, and I found online a folding.gedit-plugin online, but it never works. My gedit is of version 3.2.1, and it is said that the plugin folding.gedit-plugin was ...
6
votes
1answer
227 views

Switching tabs in Gedit 3.* with the mouse wheel

I use Gedit a lot and thus tend to have a lot of tabs open at any one time. In Gedit 2.* I could switch between tabs using my mouse wheel but since Oneiric I can't. I assume this is because of various ...
5
votes
4answers
2k views

Synaptic remove “gedit” wants to remove “ubuntu-desktop”. How can I reinstall “gedit”?

I want to make a clean start with gedit; ie. remove all customization. Synaptic Package Manager, indicated that ubuntu-desktop would also be removed! Well, that sounded to be a bit on the ...
5
votes
2answers
5k views

How to change background color of gedit embedded terminal

How can I change the background color of gedit embedded terminal? I have tried changing my normal terminal (ctrl+alt+t) background and restarting gedit - but no luck. Thanks
5
votes
2answers
581 views

How do you use the Commander plugin in gedit?

This plugin is available from gedit-plugins package. Other than what its name and short description are, there are no other helpful info about the plugin usage. Does anyone know how to use this ...
5
votes
1answer
8k 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
5
votes
2answers
248 views

Per file-type preferences in gedit

I'm trying to use gedit for two different tasks: developing Python software and writing Latex documents. Both are based on pure text files, but they are very different: e.g. Python code needs to be ...

1 2 3 4 5 6