Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

4
votes
1answer
2k 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 /apps/gedit-2/preferences/ui/...
4
votes
3answers
2k 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 ...
4
votes
3answers
5k 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 ...
4
votes
0answers
61 views

Gedit TitleBar right click menu?

After running gedit command in terminal i see the original title bar right click menu , but when i run sudo gedit command it's only show Close on menu , although when i do the same with nautilus it ...
4
votes
0answers
52 views

How to permanently show the full path of file opened on Gedit?

Sometimes I have files with same name in different folders and I get confused witch of them I'm using on Gedit, because I can't see its path. How to have the full path visible always when working on ...
4
votes
1answer
258 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 ...
4
votes
0answers
254 views

gedit highlight misspelled words for every document by default

Every time I open documents and for every new documents I have to re-enable the spell-checker in gedit. How can I toggle it to always be on for every document?
4
votes
1answer
771 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
5answers
4k 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
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
4k 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 Documents/terminalpractice/...
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
6k 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
2answers
583 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
1answer
85 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
5k 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
932 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
2k views

Menu bar missing in gedit

I don't know what I did in gedit (and nautilus), but menu bar gone away. Here a screenshot. Actually, menu bar changed but I like the "classic" way, with "File, Edit...". What I did wrong and how I ...
3
votes
1answer
3k views

Where do I find the local and the gedit plugins folders in Ubuntu 14.04?

I know this will be likely marked as a duplicate. But none of the answers in Finding the gedit plugin folder can solve my problem. It seems that I don't have a gedit plugins folder. Is there any easy ...
3
votes
1answer
4k 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
763 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
264 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
4k 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 ...
3
votes
2answers
61 views

status of gedit r plugin (rgedit) in 16.04?

People are going to great lengths to get the gedit R plugin back by downgrading gedit. I tried, but couldn't make those instructions work. Mostly now I'm sad. RStudio is shiny and everything, but ...
3
votes
1answer
108 views

gedit - wrap text with character boxes

I use gedit for pure text writing (I mean not coding). To highlight chapters in the text I wrap with "+" boxes likes: +++++++++++++++++++++++++++++++ Title goes here +++++++++++++++++++++++++...
3
votes
2answers
282 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
1k 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, ...
3
votes
1answer
4k 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
1answer
130 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
489 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
392 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
522 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
460 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
256 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
1answer
204 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
2answers
293 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
874 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
390 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
644 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 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

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
1k views

How do I open weblinks with Firefox, not Gedit?

I save links as files, rather the using bookmarks. I just drag the URL field from Firefox onto my desktop/folder. Recently these stopped opening in Firefox, and started "opening" in Gedit. Even in ...
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
118 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
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: daniel@...