Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

63
votes
7answers
21k 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 ...
26
votes
4answers
23k 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 ...
33
votes
2answers
25k 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
7k 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 ...
5
votes
0answers
4k views

How do I run executable scripts in Nautilus rather than open them in Gedit text editor? [duplicate]

When I double-click on a script in Nautilus in order to run it, the script opens in my text editor with no option to do so. Using Nautilus, how do I run executable text files and/or scripts?
4
votes
3answers
2k views

How do I remove hidden backup files?

I have files ending in ~ in my home directory, and I want to delete them. How do I do that? How do I prevent this backup functionality?
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 ...
10
votes
2answers
3k 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 ...
6
votes
3answers
8k 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 ...
2
votes
1answer
624 views

Gedit 3.6.1, how to increase the number of recent files from its default of 5?

Ubuntu 12.10, gedit 3.6.1 This won't work: gconftool-2 --type int --set /apps/gedit- /preferences/ui/recents/max_recents 30 Modifying this file as root won't work either: cat ...
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. ...
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 ...
3
votes
3answers
4k views

Can't open Gedit as root

When I run sudo gedit /path/to/some/random/file I get the following error ** (gedit:6262): WARNING **: Command line `dbus-launch --autolaunch=7f8731869e1c690b8205727e0000000a --binary-syntax ...
8
votes
2answers
5k 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?
6
votes
2answers
1k 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.
11
votes
3answers
5k 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
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 ...
5
votes
2answers
8k 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 ...
13
votes
1answer
5k 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 ...
6
votes
3answers
2k views

Cannot use gedit on multiple remote machines using ssh

After setting up the last of my 5 remote machines, I decided to test that the network was working well by connecting to each and opening gedit. To my dismay, when I tried to open gedit on the second ...
4
votes
2answers
3k views

Gtk warning when opening Gedit in terminal

Previously, I need to clear documents history, so I Googled and found this: http://www.watchingthenet.com/ubuntu-tip-clear-disable-recent-documents.html I did the step, and then when I opened gedit ...
3
votes
1answer
352 views

Why am I getting this error while using gedit?

(gedit:4778): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed What does this error mean?
2
votes
2answers
9k views

Gtk-WARNING : Calling Inhibit failed

I was trying to use gedit, when I came across the following problem: myPC@TM77:~$ sudo gedit /etc/pm/config.d/config (gedit:12512): IBUS-WARNING **: The owner of /home/myPC/.config/ibus/bus is not ...
5
votes
2answers
465 views

How to avoid opening duplicate files in new windows in gedit?

Having already opened several text files with each in one tab in a window, now open another text file, gedit sometimes creates another window instead of a session under the current window. I ...
4
votes
3answers
1k views

Text inside files has squares with numbers in it

Some text files I come across, have little squares with numbers in them (in place of certain characters). I am unable to copy and paste these in Ubuntu, but may search and replace in gedit each ...
3
votes
3answers
6k views

Enable line numbers in gedit

I can't find how to enable the line numbers, current line highlight, and other goodness in 13.10.
3
votes
1answer
307 views

Gedit: Saving has been disable by system administrator

I have a problem with gedit. If I start writing a new file or edit an existing file the Save button and short cut to save is disabled. If I exit a modified document a dialog opens with the following ...
2
votes
2answers
2k views

Gedit Embedded Terminal Uses Incorrect Palette

I've followed the advice to turn off "use-theme-colors" and also set a custom background color in my embedded gedit terminal. But somehow, the palette setting is ignored and colors show as only black ...
2
votes
6answers
5k views

How do I encrypt/decrypt file within gedit?

In the previous version of Ubuntu (eg: maverick, natty), I used to do a: sudo apt-get install gedit-plugins seahorse to have the ability to encrypt/decrypt file within Gedit after enabling the ...
2
votes
1answer
3k views

Can't change text size in gedit

Within gedit I can go to the menu Edit > Preferences > Font & Colours, and change the font size here, but this seems to change the font size for the application itself, when I print something it ...
2
votes
1answer
643 views

Gedit isn't picking up new plugins

Hi I have tried to install this plugin for gedit by copying the files auto_completion.gedit-plugin auto_completion.py to /usr/share/gedit-2/plugins/autocomplete however when i restart gedit and go to ...
1
vote
1answer
2k views

Unable to launch gedit with sudo

While trying to follow these instructions, I encountered the following error while attempting what seems like a simple sudo edit operation: $ sudo gedit /var/lib/dpkg/status ** (gedit:14898): ...
0
votes
1answer
267 views

Embedding a back and forward arrows, home button, and download manager in a quickly application

I have downloaded a set of icons to use for my web browser that I'm creating and would like to use. I know how to add the icons, but I only know the code for the refresh button. My question is what is ...
0
votes
1answer
2k views

How to change the window color (default: white)? [closed]

How to change the window color (default: white) in Oneiric? (In Natty, I could do it in Appearance.) (If 1 doesn't work) How to change the background color in Gedit? (In Natty, by right clicking I ...
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?
12
votes
1answer
3k 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 ...
7
votes
2answers
14k 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 ...
15
votes
2answers
7k 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
14
votes
3answers
4k 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 ...
17
votes
2answers
7k 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 ...
6
votes
2answers
9k views

Install Regex plugin for Gedit

I am using Ubuntu 12.04.I want to install Regex Search and Replace plugin for Gedit.So can some one please tell me where can I get it and install it.Any help and suggestions will be highly ...
6
votes
3answers
2k 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
2answers
1k views

How do I install gedit without Zeitgeist?

I do not like this zeitgeist thingy. Because it is neither possible to (easily) configure it to shut up, nor is it possible to (easily) remove it without breaking other things. Unfortunately, the ...
4
votes
4answers
924 views

How can I send current line in gedit to terminal?

When editing shell file in gedit, is there a way I could send current line (or selected block?) to terminal? When learning Python I use Spyder IDE. It has an option to execute code selection or block ...
4
votes
3answers
552 views

Does Geany or Gedit provide a browser protocol in the way Textmate does with txmt://?

Textmate on the Mac can be bound to the txmt protocol, meaning that development frameworks (such as the Play Framework) can be configured to use this to display error messages. If a stacktrace ...
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?
8
votes
4answers
3k 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 ...
8
votes
1answer
641 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 ...
7
votes
4answers
4k 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 ...
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 ...