Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

3
votes
6answers
7k 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 ...
3
votes
4answers
513 views

When I open gedit from terminal, I am unable to use terminal for anything else until I close gedit. Why? [duplicate]

I am VERY new to the world of Linux. I'm running Ubuntu 15.04 on a Lenovo laptop. My terminal emulator is Gnome Terminal. I know a few things. Let's say I type cd ...
3
votes
2answers
1k views

Whenever I download an .sh-file gedit opens up

Whenever I download an .sh-file gedit opens up and then freezes. Why?
3
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 ...
3
votes
2answers
369 views

How can I copy the path to the currently opened file in gedit to the clipboard?

I am trying to write a custom command in Gedit which copies the currently open and active document's path(both upto parent dir & upto file) to clipboard, as I couldn't find any gedit-plugins or ...
3
votes
4answers
1k 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. ...
3
votes
1answer
5k 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
2answers
4k 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?
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
1answer
2k 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
4k 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
1answer
13k 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
785 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
1answer
685 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
261 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
98 views

Gedit show text from terminal output colored

I run a script in terminal and the output printed in the terminal I also save in a text file. How can I display that text in Gedit colored similar to what I can see in the terminal? I thought there ...
3
votes
1answer
3k views

Adding languages to gedit spellchecker

It's all in the title. By language I mean human language that are not included in the default version (say dutch, german, spanish, ect...). I'm using gedit 3.4.x.
3
votes
1answer
126 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
458 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
359 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
2answers
466 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
456 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
149 views

How to debug c programs by gedit?

Is it possible to debug our programs written in c by gedit text editor ? If not, how can i do it ?
3
votes
1answer
66 views

Is it possible to run GUI programs without a desktop installed?

I'm using crouton which enables me to run 14.04 on my Chromebook. I opted to not install a desktop to save disk space so used the cli-extra target when installing: sudo sh ~/Downloads/crouton -r ...
3
votes
2answers
198 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
628 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
1answer
3k views

How to install the gedit markdown-preview plugin on 14.04?

I've just installed the markdown preview plugin for gedit and I get the following error on the console when I try to activate it in the plugins tab: Traceback (most recent call last): File ...
3
votes
2answers
346 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
606 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
4k 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
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
1k views

Gedit not working even though it's installed in Ubuntu 14.10

When I type gedit in my terminal, I get: daniel@daniel-pc:~$ gedit The program 'gedit' is currently not installed. You can install it by typing: sudo apt-get install gedit So I do that: ...
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
192 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
172 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
2k 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
386 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
280 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
397 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
502 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
0answers
22 views

Can't change gedit preferences and terminal preferences don't save

I'm new to Ubuntu and Linux in general. I've just started using it for one of my college courses and instead of having all of us install Linux on our machines they had us install a virtual machine ...
3
votes
1answer
228 views

Gnome keyboard accelerators / keys in Ubuntu Trusty 14.04

Since upgrading from 12.04 to 14.04 I've lost the ability to set custom keyboard shortcuts in Gnome applications such as gedit and meld. The setting can-change-accels has no effect when enabled using ...
3
votes
0answers
186 views

Any Favorites/ Bookmark file plugin for Gedit 3.12 +?

I want to bookmarks files in Gedit so that I can open them easily later. There are some old plugins which used to work for older versions. But is there any working plugin for Gedit 3.12+. I am using ...
3
votes
2answers
380 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
217 views

Change where gedit saves temp files

Looking for a way to put gedit's temporary tilde files in a different directory than the one I'm working in. Is there a way to do this?
3
votes
1answer
659 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
278 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
401 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 ...