Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

4
votes
2answers
142 views

I have 2 different GEdits?

When I load GEdit, it is different from sudo GEdit. Normal GEdit gives me Gtk warnings in the console, and ithas a different look. When I install plugins on either version, it doesn't reflect on the ...
4
votes
4answers
4k views

Why does sudo gedit NOT open files starting with Exclamation mark

When trying to open a file with sudo gedit /path/to/file with a file name starting with a ! in front eg !config.ini i can not open the file. However if i do sudo nautilus then open the file with gedit ...
4
votes
2answers
7k views

Start a new process without blocking the terminal

Is it possible to do this? For example if I run "gedit tifatul.txt" via the command line, my terminal becomes blocked and I can't enter other command in this terminal before I quit gedit. Can I start ...
4
votes
2answers
6k 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 ...
4
votes
4answers
3k views

gedit + sshfs won't save (vi saves fine!)

I mounted a remote directory using sshfs and I can't save files using gedit, while saving same file using vi works. Changin permission to o-r (640) allows gedit to save files OK. Is there a way to ...
4
votes
3answers
4k 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?
4
votes
4answers
1k 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 ...
4
votes
1answer
520 views

Use custom command to open files

gedit application is set as default application for text files. Supposing I have a script with execution rights in /usr/bin, how can I set that script to be run when I open a text file using Nautilus ...
4
votes
2answers
6k views

How to activate the Gedit terminal plugin on Ubuntu 13.10?

I have the following packages installed: gedit gedit-common gedit-plugins In Ubuntu 12.04 with these packages installed all that was needed was to activate the terminal plugin and the press ...
4
votes
3answers
9k views

using gedit through ssh connection - should I have gedit installed on the server?

I wanted to try out using graphical tools over ssh. Just to learn a new thing :) so my understanding is this, I connect like this: ssh -port -x user@server But I'm running ubuntu server so it has no ...
4
votes
4answers
13k 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 ...
4
votes
1answer
1k views

How can I set xdotool and gedit to open a document and save it twice?

I need assistance in creating a script that does the following: Open Gedit Open a document with Gedit Save the document twice Close Gedit I was wondering how can I make it happen with Gedit and ...
4
votes
1answer
2k views

How do you get permission to save rcS after setting UTC=no?

I am a first time user of Ubuntu. I have installed Ubuntu 12.04 dual boot with Windows. Ubuntu is screwing up the Windows clock. I looked this up and found the following lines to use: gedit ...
4
votes
3answers
392 views

Hide debug information when running apps from the command line

Most of the time running a gtk application from the command line it starts dumping debug information to the stdout even though I put them in background. Example: ~$ gedit test.html # and ctrl+z to ...
4
votes
1answer
10k views

Gedit from terminal - inconsistent behaviour

I tend to frequently open a text file from the terminal with a command like so: gedit filename.txt However, the behaviour is inconsistent; sometimes, the focus will leave the terminal and will not ...
4
votes
4answers
1k 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
1answer
1k views

How can upgrade gedit 2.30.4 to version 3?

I want to use some plugins available for v3 of gedit.
4
votes
2answers
270 views

Bash keybindings that match those of gedit?

I want to have the same keybindings in gedit and in bash. Namely all the selections, also cut, copy and paste. I know there are some important ones that are already taken (Ctrl+C, Ctrl+W, etc), ...
4
votes
4answers
896 views

Text editor that can wrap text in predefined HTML tags like Notepad++

I'm new to Ubuntu and am trying to figure out some things. In Notepad++ it is possible to use WebEdit plugin and define keyboard shortcuts for different HTML tags. E. g. "Ctrl + p" can wrap the text ...
4
votes
2answers
3k 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 ...
4
votes
1answer
1k views

Executing “unicode” Python script from Gedit vs Terminal

As can be seen from screenshot, same script run from Terminal and Gedit behaves differently - in terminal script executes succesfully and in Gedit it raises error: But if I change python in Gedit ...
4
votes
1answer
1k views

gedit-r-plugin not showing up in plugin list in gedit

I installed the gedit-r-plugin through synaptic and in the past it has worked great. I can't seem to even get the plugin to show up in the Preferences -> Plugins list after updating to 11.10. I'm ...
4
votes
1answer
352 views

Gedit hangs and crashes

While typing in Gedit(Ubuntu 14.01) it occasionally hangs,the mouse arrow flickers and then it crashes without any error message(it just closes),causing great trouble. I am normally using Gedit ...
4
votes
1answer
352 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 ...
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
867 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
309 views

How can I change the Gedit keyboard cursor / caret to a block instead of a bar?

The single-pixel-width cursor / caret in Gedit (and other text editor boxes in Ubuntu) is pretty thin and hard to see: I like the block cursor used in the standard terminal, however: Is there a ...
4
votes
3answers
19k 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 ?
4
votes
1answer
266 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
1k 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 ...
4
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 ...
3
votes
5answers
3k 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
4answers
3k views

configure gedit to always open in new window

I would like to configure gedit so that everytime I double click on a text file it will open on a new window instead of a new tab. How can this be done? Something like, gedit --new-window "file ...
3
votes
1answer
4k 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 ...
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
1answer
83 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
3answers
13k 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
2answers
1k 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
1answer
1k 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
3k views

How to set default encoding for non UTF encoded documents system wide?

The title says pretty much most of it - I have some windows txt files, and most of them are Bulgarian with encoding windows-1251. When I open them (sublime, gedit, desktop generated icons) the files ...
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
1answer
11k views

How can I edit my httpd.conf file?

I have XAMPP installed, and need to edit my httpd.conf file to add a virtual host block. If I right-click on the file in Nautilus and open with gedit, I can see all the content, but it's read-only. ...
3
votes
3answers
646 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
2answers
402 views

How to change the gedit “Highlight current line”color?

I'm using Ubuntu 14.10-gnome3.14. Here is the question. when I check the "highlight current line" check-box on the gedit, it highlight the current line, but the color is pure white I can barely see ...
3
votes
2answers
556 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, ...
3
votes
1answer
511 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
2answers
1k 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
251 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
2answers
3k 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
3answers
6k views

gedit can't recognize character encoding, but gvim can

I have a lot of plain text files which come from a Windows environment. Many of them use a whacky default Windows code-page, which is neither ASCII (7 bits) nor UTF-8. gvim has no problem opening ...