Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

4
votes
0answers
235 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
745 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
2k 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
2k 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
2answers
497 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
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
870 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
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
737 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
199 views

Install `gedit-plugin` for a downgraded version of gedit

Using these instructions, I could get gedit 3.10.4 to run on ubuntu 16.04. Now, I need to install the version of gedit-plugins that corresponds to gedit 3.10.4. The sources are here but I have not ...
3
votes
1answer
93 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
241 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
161 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
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
128 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
477 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
383 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
496 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
458 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
120 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
255 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
792 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
377 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
630 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

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
73 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: ...
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
224 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
198 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
2answers
5k views

Recover Untitled Document 1 from gedit

I have an unsaved document opened in gedit on Xubuntu 13.10. A bug caused gedit's main window to disappear and only the title bar is still visible, reading "Untitled Document 1". Is there a way to ...
3
votes
1answer
393 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
1answer
474 views

gedit scroll area stops short of the screen - am I missing something?

I'm using gedit 2.30.3 . Even when the window is maximized, if I put the cursor all the way to the right to the scrollbar area and click to move up or down a screenfull of text, it won't do it! It's ...
3
votes
2answers
295 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
402 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?