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.

105 questions
44
votes
6 answers

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 /media/sf_Ubuntu/BuildNotes.txt. Unexpected error:…
user654019
  • 2,277
  • 4
  • 21
  • 20
16
votes
3 answers

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 eye position each and every-time. I have tried…
BobTodd
  • 263
  • 1
  • 2
  • 5
14
votes
2 answers

How to force gedit to open a new window independently of existing gedit windows whenever a text file is double-clicked on a Gnome desktop of Debian 8?

How can gedit be forced to open a new window independently of existing gedit windows whenever a text file (.txt) is double-clicked on a Gnome desktop of Debian 8, Jessie? Suppose that a.txt is already open in a gedit window, and that b.txt is…
i7pj3qnuz
  • 391
  • 1
  • 3
  • 8
11
votes
2 answers

How to launch gedit from terminal and detach it (just like "subl" command works)?

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 would I do that with gedit? I tried exec /usr/bin/gedit…
Sandjaie Ravi
  • 945
  • 1
  • 8
  • 12
10
votes
4 answers

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 it's a Gedit problem. None of the solutions…
Raekye
  • 559
  • 3
  • 8
  • 16
8
votes
1 answer

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?
badp
  • 2,977
  • 2
  • 24
  • 32
8
votes
2 answers

How to get a "duplicate line" hotkey in gedit?

I want to have a shortcut key for duplicating the currently selected line in gedit. Many other editors use Ctrl+D or Ctrl+Shift+D for that, but gedit is different. Here the default behaviour: Ctrl+D: removes a line Ctrl+Shift+D: opens GTK…
rugk
  • 2,806
  • 6
  • 28
  • 58
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…
Question Overflow
  • 4,568
  • 19
  • 57
  • 84
6
votes
3 answers

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 merging the English and German dictionaries and…
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,125
  • 1
  • 12
  • 22
6
votes
4 answers

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 desktop? I use the window manager Blackbox. Edit:…
August Karlstrom
  • 1,736
  • 2
  • 27
  • 39
6
votes
1 answer

Is it possible to insert image in gedit in Linux?

I'm using RHEL. 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 gedit or can we insert image in gedit.
Sabapathy
  • 257
  • 1
  • 4
  • 7
5
votes
4 answers

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 me. I know that jumping straight out of the command…
boulder_ruby
  • 251
  • 2
  • 6
4
votes
2 answers

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?
CW Holeman II
  • 3,654
  • 5
  • 31
  • 49
4
votes
1 answer

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 on the syntax being used? I.e. automatically…
jsj
  • 1,400
  • 1
  • 16
  • 28
1
2 3 4 5 6 7