Questions tagged [gedit]

gedit is a lightweight text editor for the Gnome desktop environment

Gedit supports internationalized text (il8n) as well as has quite a few plugins. It also supports editing multiple text files in one window as well.

107 questions
7
votes
1 answer

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 editing this file you could corrupt this document. You can…
6
votes
1 answer

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 file suffix. I've created both .lang file and a XML…
Eenoku
  • 1,165
  • 1
  • 12
  • 22
2
votes
0 answers

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 rendered as white without a dot (and tabs in a darker…
2
votes
0 answers

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, but nothing really came of it. Is there another way…
Adam R
  • 21
  • 2
1
vote
0 answers

Why does gedit only run with sudo?

$ which gedit /usr/bin/gedit $ ls -l /usr/bin/gedit -rwxr-xr-x. 1 root root 18696 Nov 27 05:55 /usr/bin/gedit $ gedit $ # Nothing happens $ sudo gedit [sudo] password for user: $ # gedit window starts $ # I close the gedit window $ sudo chmod 0777…
StoneThrow
  • 1,717
1
vote
1 answer

Why text file always opens at the same point I closed it?

I have a .txt file whith quite a long text content. I noticed whenever I read the content up to a certain line and close the file, if I re-open the file later (right away, hours later, or days later), the file opens always displaying me the same…
1
vote
1 answer

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?
ixtmixilix
  • 13,230
0
votes
1 answer

gedit External Tools & Csound

I am a newbie at Linux and so far so good my workflow of studying music with Csound is adding a new tool under the External Tools Gedit plugin doing this, #!/bin/sh csound '/home/ye53b/Desktop/TC4R37A7B/music/csound' which is a text file containing…
ye53b
  • 1