gedit is a lightweight text editor for the Gnome desktop environment

learn more… | top users | synonyms

3
votes
1answer
22 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 ...
2
votes
1answer
23 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 ...
0
votes
0answers
14 views

Gedit highlight shortcut

When I open Gedit in my Linux Mint 17 Cinnamon 64-bit, the syntax highlight is off by default. I can then activate it via the menu, or by saving my file with the correct file extension (e.g., every ...
5
votes
3answers
468 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 ...
1
vote
0answers
64 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 ...
6
votes
5answers
3k 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 ...
2
votes
1answer
51 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 ...
0
votes
1answer
151 views

Will purging GNOME remove gedit? [closed]

If I remove the GNOME desktop environment from my Debian 7 installation, will that also remove additional applications like gedit or will they remain installed and usable?
2
votes
2answers
219 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 ...
0
votes
1answer
90 views

Gedit Click Config plugin won't open

I'm using Gedit 3.4.2 with Click Config plugin 1.4.0. When I go to Edit->Click Config->Configure the window doesn't open, basically rendering this plugin useless. I've tried reinstalling the plugin. ...
0
votes
0answers
199 views

Printer “Filter failed” errors — 2 bizarre workarounds

These workarounds may help people deal with this fairly common problem -- and also maybe help an expert find a proper fix for it. I'm running Linux Mint 16 Mate edition, with an HP Deskjet 1000 (an ...
2
votes
0answers
142 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
1answer
156 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 ...
2
votes
3answers
651 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 ...
1
vote
0answers
31 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
67 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 ...
2
votes
1answer
328 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? ...
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 ...
1
vote
2answers
692 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 ...
1
vote
1answer
423 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 ...
2
votes
1answer
944 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 ...
1
vote
1answer
56 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
778 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 ...
2
votes
1answer
315 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 ...
2
votes
2answers
137 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 ...
0
votes
0answers
307 views

Running 'Leafpad' on terminal opens Gedit

I am running leafpad on the terminal but it opens gedit instead. Any Ideas why this happens? I am using Openbox btw.
5
votes
3answers
457 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 ...
2
votes
2answers
2k 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
3answers
1k 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 . ...
1
vote
0answers
291 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> ...
3
votes
3answers
942 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
4k 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 ...
2
votes
0answers
643 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 ...
0
votes
1answer
398 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.
1
vote
1answer
275 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 ...
2
votes
2answers
1k 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 ...
1
vote
1answer
82 views

what is it that clobbers my letters together in gedit?

sometimes after I've been editing a textfile in gedit the letters clobber together like this: what is it that does that and how can i stop it from happening?
2
votes
2answers
995 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?
4
votes
1answer
734 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 ...
8
votes
1answer
729 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?