Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

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 ...
4
votes
1answer
733 views

Changing the colour of 'string' in Gedit when typing C++

I'm using Gedit to write C++ code, and have applied my custom syntax colour scheme which works (and looks) great with the exception of the string type, which, for both my custom style and the various ...
4
votes
1answer
141 views

gedit shortcuts

Is there a way to make my own shortcuts for terminal in gedit? I mean, for example if I want to compile a C++ source, when I press F9 I want it to make g++ source_file.cpp (this is only an example) ...
4
votes
1answer
141 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 ...
4
votes
1answer
732 views

Increase or View all Stored History in Gedit

I would like to be able to see the last ~200 files opened in Gedit. I was able to increase the number it shows to 40 using this command: gconftool-2 --type int --set ...
3
votes
5answers
2k 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?
3
votes
2answers
600 views

Gedit warning: GtkScrolledWindow is mapped but visible child GtkScrollbar is not mapped

When I use gedit, there is warning shown: (gedit:3166): Gtk-WARNING **: GtkScrolledWindow 0x236cd10 is mapped but visible child GtkScrollbar 0x2307ab0 is not mapped How can I fix it ?
3
votes
4answers
5k views

How to set default editor in 13.04? [duplicate]

None of this, this nor this worked in setting my default editor. Haven't tried this, I'm afraid it won't work either. So how do I set the default editor to emacs or possibly emacsclient in 13.04 ...
3
votes
2answers
3k views

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 ...
3
votes
4answers
653 views

Lost a saved gedit file

I saved a text file in gedit last night before shutting off my computer, and I remember what I named the file. When I turned on my computer this morning to load the file, I could not find it. I've ...
3
votes
3answers
2k views

Installed gmate but themes and plugins now showing up in gedit

I am installing gmate on Ubuntu 11.04 (Gnome 3): sudo apt-get install gedit-gmate But gedit is untouched (there should appear new themes and plugins).
3
votes
3answers
5k 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
82 views

How to know which versions of application I can install via apt

I try to use apt-cache search gedit But there is no information about version. I am trying to install gedit 2.30.4 (by default it is 3.x on Gnome 3). But there is no gedit with this version. sudo ...
3
votes
2answers
3k views

Questions about using Regex Search & Replace in gedit

I am trying to use Regex Search & Replace plugin of gedit. I want to search a digit that repeats 2 or 3 times, so I thought the regex was [0-9]\{2,3\} But it doesn't match the target it ...
3
votes
2answers
667 views

Where can I find gedit's backup files and how to open them?

So, I just finished off the first part of an important task for school and today when I was going to continue, the document with my notes were gone. The only fragment I've got left of my file is the ...
3
votes
2answers
2k views

Gtk-Warnings In Terminal [duplicate]

Possible Duplicate: Gtk warning when opening Gedit in terminal I have Ubuntu 11.10 installed on two different machines, both using x64 installs. Only one machine returns these Gtk warnings ...
3
votes
3answers
530 views

Is there a gedit plugin that adds search features?

I'm hoping to add search and replace within selection and search within files. Having a search option in the context menu would also be handy.
3
votes
3answers
3k 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 ...
3
votes
1answer
233 views

Stop .py opening in gedit?

I have been trying to get a .py file to open in the interpreter instead of in gedit and feel like i'm banging my head off a wall. I have selected "Allow executing file as program" in Permission (it ...
3
votes
1answer
626 views

how to hide filepath and page number in gedit for printing

I have to submit report on my project and i need to print source code but gedit includes file path, filename and page number at the top of the page how to remove it ?
3
votes
2answers
945 views

Gedit causes OS crash [closed]

I'm running 12.04 on a Dell desktop (that originally came with just 10.04 installed), and when I try to drag a Gedit tab from one window to another, the entire system freezes, solvable only with a ...
3
votes
2answers
238 views

Is my gedit-latex-plugin working properly?

I have installed gedit-latex-plugin(0.2 rc3) to be used with gedit(2.30.3) in ubuntu 10.04. If I use the command gedit file.tex& in terminal the file is opened and it seems everything works fine ...
3
votes
1answer
87 views

Add 'duplicate file' to Gedit file browser panel right-click menu?

In TextMate and other IDE's like Netbeans, there is a right-click option to duplicate a file. Is it possible to add this feature in Gedit file-browser panel on right click? Currently, I can create ...
3
votes
1answer
111 views

Unindent selected lines in gedit

I'm using the Gedit text editor. For a single line, we can simply press Backspace to remove the indentation on that particular line. How can I select several lines and unindent them all?
3
votes
1answer
301 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 ...
3
votes
1answer
216 views

C++ programming - Is there a way to make gedit recognize new classes?

I'm C++ programming in ubuntu 12.04 using gedit and it recognizes c++ default commands. I was wondering if I can make it able to recognize the new classes I define and change their color in the code ...
3
votes
1answer
422 views

Open with “gedit”

After upgrading to Ubuntu 11.10 I have found that my "open with gedit" right click menu in the file manager does not work unless I use it twice. Does anyone know why this might be?
3
votes
2answers
2k views

Gedit has an unlisted Ctrl-D shortcut which deletes a line. How can I override it?

In Gedit, I installed the line_tools plugin. It uses Ctrl+D to duplicate the the current line. When I pressed Ctrl+D, it did the opposite! It deleted the line instead! It turns out that Gedit has ...
3
votes
1answer
293 views

GEdit runs with unsaved empty document [closed]

In the last few days gedit has started behaving quite weird. Every time I open it, it has an unsaved, empty document, even if I open some code file (so as a result, instead of opening my file ...
3
votes
4answers
8k views

Why do I get IBUS-Warning on running the sudo gedit command?

Whenever I try to run a sudo gedit command as instructed in Step 4 of this answer, my terminal puts out: (gedit:7549): IBUS-WARNING **: The owner of /home/jared/.config/ibus/bus is not root! How ...
3
votes
1answer
246 views

How do I edit the autosave interval of gedit?

Can you people tell me how to edit gedit, please? I want to change the autosave feature so that it saves every 1 second, I was able to investigate further that I needed gconf-editor so I installed it ...
3
votes
2answers
270 views

Can Gedit also backup files like “Untitled Document 1”?

GEdit can make backups of files that have already been saved once. But can it make backups of files that I have just created, and not saved yet? Those files are typically shown as "Untitled Document ...
3
votes
1answer
2k views

“Unexpected error: Invalid byte sequence in conversion input” in gedit

I have a text file. I created the content of the text file by copying from some webpage into it. During the creation, I was completely under gedit. I then saved the file and exited gedit. But since ...
3
votes
1answer
1k views

Gedit is having problems starting up

I just installed the new version of Ubuntu 11.10 (64 bit). Mr processor is intel i7. I am noticing that Gedit is having problems starting up. I start it then it crashes out with no error message and I ...
3
votes
1answer
863 views

Can I change the color of tabs in gedit?

under Xfce 4 (Xubuntu 4.8) the tabs of gedit appear black with dark grey writing (at least on my PC it does). Obviously this makes it pretty hard reading the file names that are open. Changing the ...
3
votes
2answers
2k views

Unable to run gedit as a different user

I login as user 'foo' and if I am able to run gedit and edit files in my Ubuntu 12.04 machine with a DISPLAY setting as :0 If I "su - bar" and then try to edit files, I get a no protocol specified ...
3
votes
2answers
225 views

How can I sync my root gedit with my user gedit's preferences?

When I open a file with root gedit I'd like to have the same setup as my normal gedit. So theme, preferences, and addons. Can I set up some sym links in the right spot to achieve this?
3
votes
3answers
3k views

How to create a new file?

I've tried gksudo gedit /etc/xinetd.d/tftp (This is the file I have to create) I got an error message couldn't find the file /etc/xinetd.d/tftp please check that you typed the location ...
3
votes
1answer
348 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?
3
votes
1answer
497 views

Is there ruby syntax validation plugin for gedit?

I am using the https://github.com/gmate/gmate setup, but it lacks a ruby syntax validation plugin. Where can I find one? Tnx!
3
votes
1answer
25 views

gedit snippets lost

Here's the problem: Everytime I close gedit all of my own (LaTeX)snippets are lost when I launch it for the next time. Default snippets are still available and working. What I tried so far: Restart ...
3
votes
0answers
58 views

Issue with gedit printing

I executed gedit and printed some texts with it in Ubuntu 12.04 LTS. But I think that It's not doing it correctly. Perhaps I don't know how to use gedit. Please help me with the way how to ...
3
votes
0answers
164 views

How can I make all applications use Nemo's file selection dialog instead of Nautilus?

I switched to nemo a long time ago, because I think it's superior to nautilus in many ways. One small thing bothers me however: Whenever I want to open a document in gedit (or evince, but I'm sure ...
3
votes
1answer
190 views

gedit 'broken' after update on Ubuntu 13.10

I have upgraded from Ubuntu 12.10 to 13.10. In the meanwhile I have removed the Enthought Python distribution manually because I want to start back on the 'official' packages. So I removed the python ...
3
votes
1answer
144 views

Printing 2 sides per page does not work anymore since update to 13.10

I used to often print documents with 2 pages per side to save paper. Since I have updated to Ubuntu 13.10, this no longer works properly. The problem seems to be with the rotation. Because if I ...
3
votes
1answer
460 views

How to change the default highlighting of gedit for a specific extension

Everytime I open a .m file, gedit associates Octave highlighting to it. I would like to change the default behavior to Matlab. How can I, in general, change the default highlighting that gedit gives ...
3
votes
1answer
265 views

How to get QML syntax highlighting in gedit?

QML files opened with gedit don't have syntax highlighting. Is there a package providing a gtksourceview lang.spec file for QML? If not, has anyone written a lang.spec than can be installed locally?
3
votes
1answer
244 views

Help wanted with customising the markdown panel in gedit

I have gedit 3.6.2 (Lubuntu 13.04) and I've installed a plugin from gedit-markdown: support for Markdown language in gedit that allows me to preview markdown text in a bottom or side panel within ...
3
votes
0answers
119 views

Gedit, Evince has print disabled

Print menu command is disabled in evince and gedit. Print functionality works fine in other applications like Chrome, GIMP, Firefox. Ubuntu printer setup correctly recognizes my printer and scanner ...
3
votes
3answers
1k views

Why did all my custom Gedit themes and language specs disappear after the 11.10 upgrade?

I recently upgraded to 11.10 on my desktop, but afterward all the custom themes I added and the MediaWiki syntax highlighting were gone. For the themes, I forget where I put the files, but the ...