Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

8
votes
2answers
4k views

How do I change the default application for unknown file types?

Ever since installing Bless Hex Editor, all unknown files and text files automatically open with Bless instead of gedit. How do I change it back? I don't want to have to manually associate files with ...
12
votes
2answers
10k views

Why is 'gedit' going back to default tab sizes all the time?

Everytime I open a file in gedit, I have to change again the tab with from 8 to 4, as I prefer it. Is there any configuration file where I can make 4 the default tab width?
6
votes
2answers
480 views

Per file-type preferences in gedit

I'm trying to use gedit for two different tasks: developing Python software and writing Latex documents. Both are based on pure text files, but they are very different: e.g. Python code needs to be ...
0
votes
1answer
2k views

How to change the window color (default: white)? [closed]

How to change the window color (default: white) in Oneiric? (In Natty, I could do it in Appearance.) (If 1 doesn't work) How to change the background color in Gedit? (In Natty, by right clicking I ...
2
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 ...
40
votes
4answers
33k views

How do I install a plugin for gEdit v3?

I just installed the ubuntu 11.10, and I want to install a plugin for gEdit. I unpacked the plugin to the following folder: ~/.gnome2/gedit/plugins but in the gedit doesn't show up the plugin.
0
votes
1answer
5k views

how to open/change config file of tvmobili in terminal

I must make some changes in my config file for my media server; tvmobili but I don't know where to find it, what commands must I use?
2
votes
1answer
1k views

How do I replace gedit 3.06 with gedit 2.30.4?

I have some problem. I have installed gnome 3, and now I have gedit 3.0.6 version. I need to replace it by gedit 2.30.4 version. Any suggestions?
14
votes
2answers
3k views

gedit modelines – What are they? How do they work?

There is a gedit plugin called Modelines and the plugin is described as Emacs, Kate and Vim-style modelines support for gedit. What are modelines? And how do they work in gedit?
1
vote
1answer
334 views

How can I configure gedit to execute different languages with F5?

I have installed the Better Python Console-Plugin for gedit and I am happy with it when I view python code. But I would like to be able to execute some different languages source codes when I have ...
6
votes
2answers
688 views

How to avoid opening duplicate files in new windows in gedit?

Having already opened several text files with each in one tab in a window, now open another text file, gedit sometimes creates another window instead of a session under the current window. I ...
10
votes
2answers
14k views

How do I add a syntax highlighter format to Gedit?

How can I add in the regular expressions for an additional syntax language?
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 ...
7
votes
3answers
2k views

remember what files are opened in a session of gedit?

I was wondering if it is possible to remember what files are opened in a session of gedit, by gedit itself or its plug-ins, just similar to what session manager of Firefox does? So that next time ...
2
votes
1answer
451 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 ...
8
votes
2answers
6k views

How can I get gedit ready for programming in Ruby and Ruby on Rails?

I'd like to know which gedit plugins I could install to make programming for Ruby and Ruby on Rails easier?
5
votes
3answers
2k views

Text inside files has squares with numbers in it

Some text files I come across, have little squares with numbers in them (in place of certain characters). I am unable to copy and paste these in Ubuntu, but may search and replace in gedit each ...
1
vote
1answer
2k views

How to avoid warning message while using gedit?

How to avoid the following warning message from gedit(2.30.4) on Ubuntu 11.04. (gedit:25519): CRITICAL **: gedit_spell_checker_language_to_key: assertion `lang != NULL' failed
6
votes
2answers
2k views

English grammar checkers for gedit or LibreOffice Writer?

Please let me know if there are any efficient English grammar checkers available for gedit or LibreOffice on Ubuntu 11.04.
0
votes
1answer
899 views

Gedits gedit-latex-plugin not working correctly

I installed Ubuntu 11.04 yesterday and am now working on setting things up correctly. I am having a problem with gedit-latex-plugin for gedit. I can install it and enable it, and I get the extra menus ...
17
votes
3answers
9k views

Can I set a default syntax highlighting in Gedit?

Until you save a document in gedit, syntax highlighting is turned off. There are obviously good reasons for this -- people might get confused if certain words were randomly showing up in different ...
2
votes
1answer
1k views

Is there a way to open a text file in an already open instance of gedit?

I have a simple usability problem that I would love to fix. I work quite a bit with gedit as my LaTeX editor (with the excellent LaTeX plugin). I constantly need to work with several files. So, a very ...
2
votes
1answer
275 views

How to replace python-gtkhtml2? [closed]

I would like to install under Lucid the restructured text plugin for gedit, but it fails as it can't import gtkhtml2. Previously it was provided by the python-gtkhtml2 package, but it's not compatible ...
5
votes
2answers
2k views

Compile gedit 3 to use on Gnome 2

I'm on Gnome 2.32.1 (Ubuntu 11.04), and I would like to use gedit 3 on my current desktop environment. To achieve this, I think I could compile gedit 3 and its dependent libraries with a custom ...
1
vote
6answers
1k views

Trying to build GEDIT

I'm very new to Ubuntu, just installed 10.04 when my girlfriend's Macbook Pro (32 bit v1,1) couldn't keep up with OSX any more. I thought it'd be a perfect opportunity to learn how to Linux. I've got ...
2
votes
7answers
7k 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 ...
6
votes
2answers
926 views

How do I remove/ignore words from gedit's spell checker dictionary?

How do I remove/ignore words from gedit's spell checker dictionary?
8
votes
1answer
1k views

Gedit's LaTeX plugin opens a dialog called “Choose Master Document” each time a .tex file is opened

I use gedit-latex-plugin to edit my LaTeX documents. However, each time I open a .tex or .sty file, an annoying dialog labeled "Choose Master Document" pops up, and unless I select the same file ...
10
votes
4answers
17k views

Can I change gedit's background color without changing to another theme?

I like ambiance but i find it a little too hard on the eyes to have to edit files on a pure white background, like gedit's. Is there any way to modify my theme to make gedit's background color ...
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
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).
4
votes
2answers
4k views

Gedit has an unlisted Ctrl-D shortcut which deletes a line. How can I override it?

In Gedit, I installed the line_tools plugin. It uses Ctrl+D to duplicate the the current line. When I pressed Ctrl+D, it did the opposite! It deleted the line instead! It turns out that Gedit has ...
17
votes
8answers
1k views

How can I make 'man' more gui friendly?

When I type man bash it shows the info in the terminal itself. How do I tell "man" to open up the info in gedit instead? Is this possible?
1
vote
1answer
115 views

gedit messes up file names in headline

I open several text files in gedit. But when switching to view different text files, the file name shown in the headline of gedit is messed up. So I was wondering if it is a bug and how to solve this ...
5
votes
0answers
8k views

How to change background color of gedit embedded terminal [duplicate]

How can I change the background color of gedit embedded terminal? I have tried changing my normal terminal (ctrl+alt+t) background and restarting gedit - but no luck. Thanks
0
votes
1answer
87 views

Possible to memorize what are open before an application exits?

I have these situations often, especially with the following applications: In Nautilus: sometimes, I have opened several tabs each of which opened a different directory. But Nautilus sometimes ...
2
votes
1answer
1k 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 ...
1
vote
1answer
684 views

Cache of a file editing by gedit on a mounted FTP?

I was working on a file live by editing changes to a file on FTP by mounting the FTP on Ubuntu and using gedit to make changes. After work, I shut down my machine and now I realize that the file on ...
2
votes
2answers
177 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.
0
votes
3answers
758 views

Root access issues - how do others manage this?

I use my Ubuntu 10.04 LTS instance (via Virtual Box on Windows 7) with a non-root user. I am trying out developing Rails applications and I notice that I need to run some rails commands with sudo. The ...
9
votes
2answers
17k views

Questions about using Regex Search & Replace in gedit

I am trying to use Regex Search & Replace plugin of gedit. I want to search a digit that repeats 2 or 3 times, so I thought the regex was [0-9]\{2,3\} But it doesn't match the target it ...
13
votes
2answers
11k views

Recommend regular expression plugin for gedit?

I would like to do some search and/or replace using regular expression in gedit. If I am correct, by default it is impossible to do this. So I was wondering if someone can recommend some nice plugin ...
2
votes
3answers
311 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 ...
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 ...
6
votes
2answers
1k views

How can you print a text file via gedit from the command line?

I'd like to use gedit or some similar program just as a page formatter and pipe some text through it and onto the printer. | lpr just doesn't cut it in the presentation department. The printed output ...
2
votes
1answer
313 views

Ruby Script Runner for Ubuntu Gedit

I have this Java script runner installed in my gedit external tools: #!/bin/sh cd $GEDIT_CURRENT_DOCUMENT_DIR if javac $GEDIT_CURRENT_DOCUMENT_NAME; then java ${GEDIT_CURRENT_DOCUMENT_NAME%\.java} ...
2
votes
2answers
411 views

How can I place Gedit's tab close buttons on the left?

I would like to make Gedit fit more to the Ubuntu default themes Ambiance and Radiance. Therefore I would like to place the tab close buttons on the left instead of the right of each tab. I asked a ...
4
votes
2answers
280 views

Bash keybindings that match those of gedit?

I want to have the same keybindings in gedit and in bash. Namely all the selections, also cut, copy and paste. I know there are some important ones that are already taken (Ctrl+C, Ctrl+W, etc), ...
3
votes
1answer
403 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?
4
votes
2answers
4k views

Gtk warning when opening Gedit in terminal

Previously, I need to clear documents history, so I Googled and found this: http://www.watchingthenet.com/ubuntu-tip-clear-disable-recent-documents.html I did the step, and then when I opened gedit ...