gedit is a lightweight text editor for the Gnome desktop environment

learn more… | top users | synonyms

4
votes
1answer
84 views

How does the “subl” command work?

To open a file to edit in gedit I run gedit sample.py &. But with Sublime Text it is simply subl sample.py. This opens the file to edit and it doesn't run in the background (in my shell). How ...
2
votes
1answer
65 views

Editing multiple files simultaneously with vim/gedit

I'm trying to save some work by editing multiple files with the same name located in different directories: $ mkdir -p directory_{0..10}/results How may I create files with the same name in all ...
2
votes
1answer
40 views

Adding new language to Gedit

I need to add a new language in Gedit. The problem is, it is included in Gedit menu of languages now, but its syntax is not highlighted and Gedit is not able to indentify the language just from the ...
1
vote
0answers
29 views

lp prints blank pages for pure text file

Printing a text file through lp result in blank page while printing same file through gedit works fine. lp is able to print pdf and jpg image files, but not text file. On further looking in to ...
1
vote
1answer
63 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 ...
2
votes
1answer
34 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 ...
0
votes
0answers
63 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 ...
-1
votes
2answers
59 views

How to use pass filename without extension to gedit external tool for make?

I am wanting to build and run a program called dbgen using the external tools. I know that this variable holds the filename, ‍‍‍‍‍‍‍‍‍dbgen.c‍‍ : $GEDIT_CURRENT_DOCUMENT_NAME How do I remove the .c ...
1
vote
1answer
96 views

Cannot resize Gedit window

Gedit 3.14 in Debian 8 has no 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 outside of the Gnome ...
0
votes
0answers
79 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 ...
1
vote
0answers
102 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
28 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.
1
vote
0answers
70 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.
0
votes
2answers
559 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
0answers
106 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
96 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 ...
0
votes
1answer
153 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.
3
votes
0answers
147 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 ...
1
vote
0answers
25 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 ...
0
votes
0answers
205 views

A quick and dirty way of finding invalid characters in a text file by gedit

In vonbrand's comment to How do I scan for invalid characters on gedit? A quick and dirty way would be to edit the file (probably adding and deleting something will be enough to make gedit ...
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 ...
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 ...
2
votes
1answer
32 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
74 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 ...
2
votes
0answers
179 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
251 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
2answers
2k 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 ...
4
votes
0answers
318 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 ...
3
votes
1answer
372 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
3k 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
36 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
128 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 ...
0
votes
1answer
202 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
1answer
661 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? ...
0
votes
1answer
157 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. ...
2
votes
2answers
2k 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
598 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 ...
3
votes
1answer
2k 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
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 ...
4
votes
1answer
714 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 ...
5
votes
3answers
819 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 ...
0
votes
0answers
590 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.
10
votes
5answers
6k 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 ...
5
votes
3answers
553 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
183 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 ...
1
vote
1answer
990 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
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 . ...
1
vote
0answers
346 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> ...
2
votes
0answers
823 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 ...
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 ...