Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

108
votes
7answers
43k 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 ...
30
votes
5answers
29k 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 ...
31
votes
6answers
31k 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 ...
40
votes
4answers
34k 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.
13
votes
3answers
861 views

How do I downgrade Gedit to a previous (3.10.4) Version in Ubuntu 16.04 LTS

As the title already says: I have some plug-ins which don't run with gedit 3.18.3 which is shipped with Ubuntu 16.04 LTS. How can I downgrade to the version 3.10.4 which was used in Ubuntu 14.04 LTS ...
4
votes
3answers
7k 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?
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?
8
votes
3answers
14k 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 ...
26
votes
3answers
4k 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 ...
27
votes
7answers
20k 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 ...
17
votes
5answers
10k 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 ...
11
votes
2answers
16k 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 /usr/lib/gedit/...
11
votes
3answers
11k 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
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 ...
4
votes
3answers
2k 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 /usr/share/glib-2....
4
votes
4answers
24k 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 --...
0
votes
2answers
638 views

Why gedit can't be used with sudo? [duplicate]

I read this answer explaining that "sometimes" root can own something at /home/$USER directory. Can anyone give an example how to prove it. Just give a test case when something really bad happens, ...
14
votes
3answers
44k 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
5answers
4k views

How to paste text from Vim editor to browser?

I need to copy text from vim to web browser since I'm not able to use gedit as I'm opening an sql file. How do I get this done?
7
votes
1answer
560 views

gedit top menu invisible when started from terminal and using x11-Forwarding

Given: I'm using export $(dbus-launch) in my /etc/bash.bashrc file as I'm normally running under a non-admin user and need to su - admin to do anything dangerous. Normal behaviour: Go to dash, open ...
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?
13
votes
2answers
11k 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. ...
7
votes
1answer
3k views

Getting the default text editor used in system

I have been searching and browsing for a long time and have not been able to find an answer to my question. I have used select-editor and I note that I am using /usr/bin/nano. Is this the default ...
12
votes
3answers
3k 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 ...
9
votes
3answers
34k views

Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org

When I try to gedit some files, then I received these from the terminal window. There is already one post about this: Gtk-WARNING : Calling Inhibit failed But it is not solved. How can I solve it ?
13
votes
1answer
7k 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
5k 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 ...
5
votes
2answers
1k views

Gedit and Filezilla Input Problem

I upgraded 14.04 to 14.10. I installed my apps(lamp, nodejs, filezilla, phpstorm, git etc.). I have some input problems in some apps. In Filezilla, I can't use tab and delete keys Some UI problems, ...
4
votes
2answers
4k 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 ...
6
votes
2answers
700 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 ...
5
votes
3answers
2k 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
1answer
492 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
1answer
4k 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): ...
2
votes
2answers
3k views

How to change Gedit embeded terminal plugin colors? [duplicate]

I am trying to use Gedit as an IDE for learning C. So far everything is working great but i have this problem: when using ls in its embedded terminal I am unable to see all the files and directories ...
1
vote
2answers
5k views

gedit-developer-plugins on Ubuntu 13.10 Saucy Salamander

I've installed gedit-developer-plugins on a fresh Ubuntu 13.10 Saucy Salamander I've lauched gedit (from the terminal) but when I turn a GDP plugin on (in this case GDP Find) I get the following ...
1
vote
1answer
213 views

Switch text direction in GEdit

I want GEdit to show all paragraphs in right-to-left view. I know that it renders paragraphs starting with rtl characters correctly. But I need paragraphs starting with ltr characters also shown as ...
0
votes
1answer
55 views

Where to enter commands to compile and run C program that resides in gedit?

I am running Ubuntu. Please advise where I should enter the command to compile the C++ program that I have entered in gedit. Please also advise if I need to relocate the C program before trying to ...
0
votes
1answer
479 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 ...
17
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
5k 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 ...
24
votes
3answers
11k 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
4answers
19k 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 12....
24
votes
3answers
15k 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 ...
15
votes
3answers
48k 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 ...
15
votes
3answers
11k 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?
14
votes
7answers
28k 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 ...
7
votes
3answers
15k 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 appreciable....
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.
5
votes
3answers
655 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 appears,...