gedit is a lightweight text editor for the Gnome desktop environment

learn more… | top users | synonyms

9
votes
5answers
5k views

Gedit won't save a file on a VirtualBox share: Text file busy

I have a text file that I can change using other applications (for example openoffice). But when I try to change and save it using gedit, I am getting error from gedit: Could not save the file ...
8
votes
1answer
798 views

How can I write a new syntax highlighter for gedit?

Some times I wish the particular language I happen to be writing in had syntax highlighting. How can I add that?
5
votes
3answers
536 views

Gedit or an other non-commandline editor with the ability to spell-check two languages at the same time

I'm searching for an editor with the ability to spell-check two languages at the same time (German and English). Gedit can't do it out of the box. But I want to use Gedit. It should be possible by ...
5
votes
3answers
786 views

Gedit cannot save in shared folder (Virtualbox)

I'm getting the "Cannot save _ Unexpected error: Error renaming temporary file: Text file busy" in Gedit 2 when I try to save in a shared folder with Virtualbox (Debian). I've searched and apparently ...
4
votes
1answer
644 views

gedit: tabs or spaces dependent on syntax

I almost always use the Insert spaces instead of tabs feature in gedit. The one exception is when writing a Makefile which requires tabs. I don't suppose there is a way to make this option dependent ...
4
votes
1answer
2k views

Error with gedit can't save any file

meraj@meraj-SATELLITE-C850-A785:~$ sudo gedit /etc/php5/apache2/php.ini (gedit:16243): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ...
4
votes
3answers
1k views

Gedit opening an “Unsaved document” on opening files with mouse

When I open files by double-clicking a file with mouse I always get one additional "Unsaved Document X".. which is very annoying, because I have to close tham all, and click "Close without save" every ...
4
votes
2answers
849 views

Gnome - windows always open top left

I find this a highly annoying "feature" on a wide screen monitor that my mostly used apps - terminal and gedit always open directly under the top-left corner of my screen and I have to drag them to my ...
3
votes
3answers
1k views

Problem installing markdown preview plugin for gedit on Linux Mint

I'm trying to install a markdown preview plugin for gedit, but when I try to active it, the entry greys out. Running gedit via the terminal, I get the following error message: Traceback (most recent ...
3
votes
1answer
1k views

How do I scan for invalid characters on gedit?

I am having a dilemma whether to edit a javascript file or not. When I open it with gedit, it shows the following warning: The file you opened has some invalid characters. If you continue ...
3
votes
1answer
5k views

How do I create a new file and edit it as root?

I've tried: gksudo gedit /etc/xinetd.d/tftp (this is the path I need). I got an error message: couldn't find the file /etc/xinetd.d/tftp please check that you typed the location correctly and try ...
3
votes
1answer
327 views

Is it possible to insert image in gedit in Linux?

I'm using RHEL. Totally new to Linux. I want to insert an image in gedit, but I'm not able to do so. Also I'm unable to install LibreOffice because they are asking for a subscription. Any alternate to ...
3
votes
0answers
119 views

Vertical lines connecting blocks in Gedit

I'd like to know if there is some way I can get gedit to display vertical lines connecting logical blocks of a programming code (namely Fortran 95 in my case).     See in the image ...
2
votes
2answers
1k views

How does one find and replace text in all open files with gedit?

How does one find and replace text in all open files with gedit?
2
votes
3answers
2k views

How to identify and remove invisible whitespace characters on gedit?

I want to remove unnecessary whitespace on my css file. I am using grep with the command as follows: $ grep -rn "[[:space:]]$" Surprisingly, it is returning a hit on every line in the file. I ...
2
votes
2answers
2k views

Arithmetic operations in regex

I am using gedit regex plugin (Python style regex). I would like to do some arithmetic operation on a backreference to a group. For example: PART 1 DATA MODELS Chapter 2 Entity-Relationship Model ...
2
votes
1answer
27 views

gedit installation size is too large

have installed Debian Linux, but gedit is not installed along with it. When I attempt to install gedit using apt-get, it prompts to download many packages up to 370 MB, which is strange. I only want ...
2
votes
1answer
31 views

Regarding identical copies of gedit files

When ever I save a gedit file in a directory, two copies of it get saved with identical content. Ex: If the gedit file is named as file_name and saved in Home directory then when u ls the Home ...
2
votes
2answers
1k views

How to edit /etc/inittab?

I want to edit /etc/inittab in order to get a login prompt on the serial console once the system boots. By default, inittab file complains to be ro. I tried both gksudo gedit /etc/inittab and sudo vi ...
2
votes
1answer
609 views

gedit reverting settings to default

I'd like to revert to the fresh gedit on my system. Any idea how to get back to default state? So that all my preferences would be lost as well as having activated only the plugins active by default? ...
2
votes
2answers
176 views

In Gedit, how might I jump from the command line (bottom frame) to the file explorer frame to the text editor frame using keyboard shortcuts

I know how to jump from tab to tab in the text editor frame, but jumping from the text editor (center-right top frame) to the command line (center-right bottom frame) using only the keyboard eludes ...
2
votes
3answers
2k views

open whole folder in gedit

Moving from OS X & Textmate to Ubuntu & gedit, the one feature of Textmate I am missing is it's command line tool. With mate I was able to open a folder as a Textmate project using mate . ...
2
votes
2answers
1k views

gedit preferences grayed out

I'm using gedit 2.28.4, on Centos 6.4. When I click on Edit > Preferences, I can't modify anything, as everything is grayed out. Also, I could not re-size the preferences window to locate the ...
2
votes
2answers
1k views

How to change the colour of embedded terminal in linux mint 12 to be able to use `ls` and `byobu`?

I'm using Linux Mint 12 and am having problems with the embedded terminal in gedit. Using the default themes I'm unable to use 'ls' and 'byobu' as in part of their output foreground and background ...
2
votes
0answers
158 views

Highlight linux shell commands

I have a log of new commands I use and my own tips/descriptions with them inside a text file. I noticed there is DOS Batch code highlighting which highlights DOS commands. Is there one for Linux ...
2
votes
1answer
219 views

How can I change the gedit tab colouring?

I'm using Debian Jessie, and xfce desktop environment. I find the look of tabs for other applications, such as chrome, and the file manager (thunar), and terminal (xfce4-terminal), display the active ...
2
votes
0answers
294 views

How to reset linux centOS 6.0 keyboard shortcuts with custom changes to default one?

On Single Desktop Environment.... I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes). Example: created like CTRL + N ...
2
votes
0answers
774 views

Changing background color of gedit's whitespace highlighting

I've used NEdit since about 2003. NEdit's whitespace highlighting is subtle and I prefer it to the dot other editors put in whitespace. NEdit's background normally is light grey and whitespace is ...
1
vote
1answer
88 views

What is it that clobbers my letters together in Gedit?

Sometimes, after I’ve been editing a text file in Gedit, the letters clobber together like this: Why is this? How can I stop it from happening?
1
vote
1answer
77 views

Search plugin for wrapping words with text in Gedit v3

I've been searching out for a plugin that could possibly wraps words with specified text. For example I double click this word to highlight it : word and using a particular shortcut, it becomes as ...
1
vote
1answer
754 views

How to match group 1 in a regex followed by a 0 rather than matching group 10

In regex plugin of gedit, I use a regex to match/search and another for substitution. In the matching regex, I only have one group. In the substitution regex, I use \1 to refer to the group, and I ...
1
vote
1answer
22 views

How do I make Python plugins work in Pluma?

I'm trying to add the Python plugin trailsave to the text editor Pluma* (which is a Gedit fork) but the plugin doesn't show up in the "Active plugins" list in the Pluma preferences. Also, I have ...
1
vote
0answers
60 views

Can gedit highlight element of svg stucture?

Gedit can show matching parenthesis. Can it do the same with tags of an SVG file ? For example when I mark <text> I need to find closing </text> tag.
1
vote
0answers
24 views

How can I syntax highlight Ruby range bounds in gtksourceview3.0?

I do most of my coding in gedit, which highlights integers and other syntax. When I use an integer range in Ruby, represented as 0..3 for example, the integers are not properly highlighted and are ...
1
vote
0answers
35 views

Using FC 19 - How can I interact with very long menus?

I am using FC 19 with the default Gnome setup. Assuming this is Gnome shell, some version 3. Some common apps have very long menus. An easy example is Gedit and the languages menu. This is so large ...
1
vote
0answers
115 views

Automatic replacement of strings in gedit

I want to replace some strings defined by me in gedit, after a word has been completed and/or the document has been saved. For example \ðrac should be replaced with \frac How do I do this in gedit or ...
1
vote
1answer
575 views

Polish chars in gedit (Fedora 18)

I locked my Fedora18 computer (set to Polish). Later I couldn't log in (password was accepted, but I didn't see my desktop). I used pkill -KILL -u tymon command in root mode (Ctrl+Alt+f2). After ...
1
vote
1answer
965 views

Installing a gedit plugin on Fedora

I have been trying to install a gedit plugin called RunC to compile C programs using the text editor. Although the instructions tell me to use ubuntu 9 or 10 for this, I'm currently running Fedora ...
1
vote
0answers
342 views

Gedit: syntax highlighting of echoing self-closing XHTML tags in JavaScript in PHP

Reproduction: In Gedit, open a new file and manually select the syntax highlighting language (at the bottom right) to PHP. Write some javascript in <script> tags Within the <script> ...
0
votes
1answer
33 views

Mixture of encodings

For a text which is a mixture of different encodings, is there no way to find all encodings? And convert them to a single encoding such as utf8? I copied from different sources possibly with ...
0
votes
1answer
421 views

Why won't Gedit save my file the first time I try?

I'm using Gedit on Fedora, and when I try to save, it states that it's unable to, but if I try again, it succeeds. So, it saves only on the second attempt, every time.
0
votes
2answers
364 views

moving a file to a folder with root privileges in CentOS 7

I am reading a tutorial that wants me to place a script file called script.sh into a folder called /etc/profile.d/. However, when I try to save the script.sh file in that directory, the gedit tool ...
0
votes
1answer
133 views

Auto code completion in GEdit and VIM, for C++

Being a Visual Studio fan, I am just wondering if I can have same feature in GEdit and VIM. PS : I’m new to VIM and currently using CentOS and Ubuntu.
0
votes
0answers
42 views

Gedit start problem in kali linux

I try to open gedit after install third party plugins but it won't open. When i try it by terminal it shows root@localhost:~# gedit Segmentation fault I think gedit is running background but it ...
0
votes
0answers
37 views

Cannot resize Gedit window

Gedit 3.14 in Debian 8 has no window manager window manager decoration and the window cannot be resized. Do I need to install any additional package to make it work or has Gedit become unusable ...
0
votes
0answers
68 views

How can keyboard smooth scrolling be turned off in gedit (GNOME 3.14/Fedora 21)?

In gedit on GNOME 3.14 (Fedora 21), using the mousewheel to scroll results in ordinary scrolling, whereas using the arrow keys or PageUp/PageDown results in smooth scrolling. How can smooth scrolling ...
0
votes
0answers
90 views

Gedit not saving settings - Fedora 21

I have Fedora 21 and gedit won't save config settings (like tab width, auto-indent, etc.). I tried deleting the configuration files directory per this question: gedit reverting settings to default, ...
0
votes
0answers
24 views

gedit-markdown not working - ubuntu studio edition

I have installed gedit-markdown using the .sh installation file from github and when I try to activate it I get a red no-go symbol against the gedit-markdown plugin entry in preferences.
0
votes
0answers
85 views

Zooming in gedit in CentOS, on Putty Xming

I'm using gedit 2.28.4 on CentOS 6.6, with Xming and Putty. The text is really small and I haven't found a way to zoom in or increase text size. ...
0
votes
1answer
85 views

“Snippets” plugin doesn't work on gedit

Note: I already know the answer, I'm only sharing my experience. Some gedit plugins doesn't work on Lubuntu, the most notable is the Snippets one. I get the following error when I click on ...