Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

3
votes
2answers
543 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
641 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
539 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
253 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
119 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
409 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
288 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
445 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
1answer
315 views

How to convert a text file with mixture of encodings to a single encoding?

I created a text file by copying its different parts from different sources (webpages, other text files, pdf files) into gedit and saving it to the file. I guess that is the reason that I have ...
3
votes
2answers
260 views

gedit 3.8.3 several plugins do not work

I have upgraded to Ubuntu 13.10 (and thus Gedit 3.8.3), and several plugins I was using in Gedit (like "session save" and Strl-Tab navigation throught tabs) are now unavailable. Can you help get them ...
3
votes
1answer
523 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
385 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
2answers
52 views

gedit - show file path for recently opened files

Gedit shows the recently opened files. How do I make gedit show not only the file-names but also the file path for recently opened files? I work on a website which has an index.tcl / index.adb in ...
3
votes
1answer
129 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
244 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
2answers
101 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
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
364 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
253 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
1answer
390 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
500 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
1k 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
578 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
236 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
514 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
347 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
156 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
13k views

Changing computer name [duplicate]

Can someone tell me how to change the computer name on a pc, I've tried to edit the /etc/hostname file but it won't allow me access to save the amended file, thought the user the system created was ...
2
votes
2answers
2k 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
10k 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
2answers
102 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
1answer
2k 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
209 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
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
2answers
760 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
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
2answers
3k views

Make gedit recognize more encodings

I did some research over this issue and realized that everyone was suggesting to use iconv or recode to change the encoding of the file to UTF-8. The thing is that I do not want to change the encoding ...
2
votes
1answer
370 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
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
3answers
283 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
1answer
210 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
1answer
786 views

What was the default font of gEdit on Ubuntu 10.04 (lucid)?

I just upgraded from Ubuntu 10.04 to Lubuntu 14.04 and I installed the latest version of all the programs that I had on my previous computer. I installed the latest gEdit 3.10.4 version and a lot has ...
2
votes
2answers
303 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
230 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, ...