Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

3
votes
1answer
440 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
3answers
18k 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 ?
3
votes
1answer
483 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
1answer
3k views

How to add a new language definition for syntax highlighting in Gedit?

I've attempted to create a new .lang file for getting Gedit to recognize the Julia programming language. I have read the tutorial, the reference document and the wiki page Gedit/NewLanguage, and I ...
3
votes
2answers
362 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
3answers
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
1answer
2k 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
259 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 ...
3
votes
1answer
115 views

save in gedit without ~ in virtualbox

How can I save in gedit whilst using ubuntu 12.04 in virtualbox into a shared folder without ~ being added to the end of the file name? If I try the answers suggested here then I cannot save at all. ...
3
votes
2answers
181 views

Can I turn off gedit antialiasing?

As the text seems blurry I'd like to disable antialiasing in gedit. I don't see anything related in the program's Preferences. The problem appeared after upgrade from 12.04 to 14.04:
3
votes
1answer
1k 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
1answer
358 views

Gedit Ruby 1.9.x syntax highlighting

I have a problem with Gedit and it's way of highlighting new Ruby syntax. In Ruby 1.9.x, we can write Hash this way: { class: 'class_name', id: 'uniq_id' } instead of { :class => 'class_name', ...
3
votes
2answers
249 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
384 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
499 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
4answers
938 views

Mouse cursor dissapears when long-pressing Alt in Gedit

When I press Alt in Gedit, and hold it for two seconds or so, the mouse cursor disappears, and then as I continue moving the mouse, the cursor starts flickering. The flickering happens only inside the ...
3
votes
1answer
77 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
1answer
533 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
0answers
227 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
439 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
327 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
150 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 ...
2
votes
2answers
1k views

Gedit external tools plugin failed to load

I had gedit configured with some plugins but after upgrading to 13.10, every time I go the gedit Plugins and try to load the external tools I get a message saying: Failed to Load. Not sure how to fix ...
2
votes
4answers
9k views

How to open the default GUI text editor in Ubuntu or Lubuntu via a script?

I have a script that uses gedit to open text file in Ubuntu. That script does not work under Lubuntu. What command is required to execute the default text editor? I want to make the script usable ...
2
votes
3answers
2k views

Convert a (txt|srt) document from Western(ISO-8859-15) to UTF-8

I am having problems with subtitles in my language. They are encoded as Western(ISO-8859-15) and therefore some characters are not displayed correctly. I am tired of replacing manually using gedit ...
2
votes
6answers
6k 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
2answers
89 views

How to prevent file owned by root when using `sudo gedit`

When using gedit , i always need to edit file in /etc/ or /usr/ which need to be root. So i created a Launcher shortcut on the left with command sudo gedit. So every time i click the icon on the left ...
2
votes
3answers
808 views

Disabling gedit backup files (filename~ tilde)

How can I get the following command to change for the root user as well? gsettings set org.gnome.gedit.preferences.editor create-backup-copy false This command should disable gedit backup files. ...
2
votes
1answer
1k views

Errors shown in terminal when editing files with gedit

When editing any file f.e. like this: r@ngf:~$ sudo gedit /etc/default/grub [sudo] password for r: (gedit:1638): Gtk-WARNING **: Attempting to store changes into ...
2
votes
2answers
68 views

Whenever I download an .sh-file gedit opens up

Whenever I download an .sh-file gedit opens up and then freezes. Why?
2
votes
2answers
736 views

Add more functions in Gedit

I'm trying out Ubuntu for the first time so I'm a very new but I've done a bit of searching and I want to get something pretty similar to Notepad++ Gedit so far seems to be the pretty similar except ...
2
votes
2answers
3k views

Auto indentation in Gedit

I'm using Gedit to program C and CPP, and I've enabled auto indentation in Edit->Pref. However, it still doesn't work. Is there anything I can do?
2
votes
1answer
1k views

Change newline character in gedit [duplicate]

So basically there is 3 types of newline characters according to operating system: Windows, MAC and Linux. Gedit is using Linux by default, but I'd like it to use Windows, so I can open the same text ...
2
votes
3answers
1k 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 ...
2
votes
1answer
302 views

Create a custom syntax highlight in gedit

Following my question from long ago, I am still trying to tweak my fortune handling capabilities. The display in terminal is awesome, just one thing remains - syntax highlighting in Gedit as I add, ...
2
votes
1answer
3k 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
1answer
352 views

Memory problem with gedit

I found that as a gedit session runs longer, the more memory it takes, regardless of how small the sizes of the text files opened in the session are. So is it normal or a memory leak problem? For ...
2
votes
3answers
275 views

Programming language api sidebar in gedit

Im not sure this is an SO question or not, but is there a plugin for gedit to enable me to have the api for a particular language open in a sidebar? Im currently working in Java, and it would be ...
2
votes
2answers
56 views

Why is Gedit set as default calendar app in Ubuntu?

Just wondering why is a text editor (Gvim or Gedit) set as the default calendar app in Ubuntu. Does any one know the reason why?
2
votes
1answer
78 views

“gedit” does not launch as root: “CRITICAL: file log.c …”-error (no gksu problem!)

I am running Ubuntu 14.10 with XFCE. Since a few weeks, gedit is not launching any more as root (with gksu gedit). Launching with my normal account works without problems. The problem is not gksu, ...
2
votes
2answers
266 views

assign geany or gedit highlight to text

Is there any way to assign geany highlight to text. For example when I pass a programming code to geany. Functions color is red. The thing which I am looking for is assingning these color to text. For ...
2
votes
2answers
2k views

How can I run sudo gedit as gksu gedit

I'm looking into ways of automatically loading Gedit as gksu gedit when I enter sudo gedit by mistake? I have found that I have made a number of files unreachable by using gedit and I have only just ...
2
votes
2answers
186 views

Search in a big file for specific string

I have a 6 GB text file. It has an access record for a whole month to my website. That file is my only hope to know how a someone got access to my website and hacked it. But, as the file is too big, ...
2
votes
2answers
680 views

Gedit Shortcuts stopped working

Suddenly the Gedit shortcuts stopped working. For example, Ctrl+F, instead of finding a string makes the cursor to the next character. Ctrl+H now has the same functionality as backspace. I tried ...
2
votes
1answer
229 views

Why is gedit so laggy when editing through FTP?

I use gedit to edit files on my Media Temple server, but it's so laggy. Other editors I've used don't have this problem. Saving takes a long time, and gedit usually freezes up for a bit during this. ...
2
votes
2answers
158 views

Why the feature to insert date/time not work in gedit? [closed]

When I tried to insert the date/time of gedit, no data was inserted into the document. Only blank spaces appeared in the current cursor position. I tried again from the terminal, it was the same and ...
2
votes
7answers
5k views

Any editor that does autocompletion in Ubuntu?

Is there any editor/IDE(or a plugin for an existing editor like Vim or GEdit) that does auto-completion of many languages (not just C++)? Aptana does only HTML/CSS/JS and Code::Blocks does only C++ (I ...
2
votes
1answer
803 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 ...
2
votes
2answers
171 views

Gedit F9 side pane shortcut is not working

I am using gedit for some editing and when I use F9 in order to make side pane visible or invisible my display is just getting dim and nothing happens.