Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

8
votes
2answers
2k views

How can I print the line numbers of gedit?

I want to print the line numbers along with c source-code in the text editor "Gedit". I am tired to look all day at the display. Thank you for any time or effort.
0
votes
2answers
394 views

Sluggish refresh when scroll on texteditor

it's about two days that I realized that I've got a strange problem on texteditor (gedit, but also Geany and others). When I scroll the text (with mouse but also with page down/up) it didn't refresh ...
5
votes
1answer
71 views

How can I change the default name that kate and gedit give to new documents?

When you create a new file in kate or gedit they name them like "Untitled1" or "Unsaved Document 1". How can you change this to some other string$n pattern of your choice?
5
votes
0answers
4k views

How do I run executable scripts in Nautilus rather than open them in Gedit text editor? [duplicate]

When I double-click on a script in Nautilus in order to run it, the script opens in my text editor with no option to do so. Using Nautilus, how do I run executable text files and/or scripts?
0
votes
1answer
952 views

How to install Emmet with gedit text editor in Ubuntu 12.04?

I am using Ubuntu 12.04. I came to know about emmet plugin. Which is really awesome for writing markups. As I am a developer I am using gedit with zencoding plugin to write markup easily. Now as I ...
2
votes
1answer
545 views

Why does pylint Gedit plugin give me an error when I try to enable it?

I downloaded and installed the pylint gedit plugin. I then copied the pylint.gedit_plugin file and the pylint directory to /usr/lib/gedit/plugins I couldn't see it in the gedit plugins menu so I ...
4
votes
4answers
652 views

Text editor that can wrap text in predefined HTML tags like Notepad++

I'm new to Ubuntu and am trying to figure out some things. In Notepad++ it is possible to use WebEdit plugin and define keyboard shortcuts for different HTML tags. E. g. "Ctrl + p" can wrap the text ...
1
vote
2answers
2k views

Cannot compile java code [Unicode Byte Order Mark 65279]

I wrote a simple Java program with the gedit text editor. public class Example{ public static void main (String args []) { System.out.println("hi yaar"); } } When I tried to ...
1
vote
1answer
2k views

How do I change the colors of a Gedit theme?

I don't know what I'm doing wrong. I'm using a custom theme called Twilight for Gedit and I'm trying to change some of the colors of the theme. I went to: /home/user/.local/share/gedit/twilight.xml ...
5
votes
2answers
240 views

howto prevent gedit always opening a new unnamed file when launched

Is there a way to prevent gedit from always opening a new "untitled" file when launched (at least when an other file name is passed either with Alt+F2 and gksudo)? It is borring to always have to ...
6
votes
2answers
3k views

Geany / Gedit: hex editor plugin

Are there any plugins for Geany / Gedit to support reading binary/hex files?
2
votes
1answer
241 views

Gedit not found on launchbar when I minimize, Ubuntu 12.10.

I updated from 12.04 to 12.10, and when I minimize gedit, it doesn't show up in the launch bar. The only way I'm able to get it back is to open one of the files that has already been opened in gedit. ...
0
votes
2answers
65 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 ...
0
votes
1answer
438 views

Ubuntu 12.10 Eclipse IDE opens py file with gedit(default) cant run file from gedit? cant switch default to eclipse?

I am trying to run a simple 'hello world" py file in Eclipse and the file opens with gedit or gvim and i cant seem to get it to run. So I installed Eclipse and I cant seem to get the py file I select ...
4
votes
4answers
742 views

Lost a saved gedit file

I saved a text file in gedit last night before shutting off my computer, and I remember what I named the file. When I turned on my computer this morning to load the file, I could not find it. I've ...
2
votes
2answers
131 views

Search in a big file for specific string

I have a 6 GB text file. It has an access record for a whole month to my website. That file is my only hope to know how a someone got access to my website and hacked it. But, as the file is too big, ...
3
votes
1answer
953 views

Can I change the color of tabs in gedit?

under Xfce 4 (Xubuntu 4.8) the tabs of gedit appear black with dark grey writing (at least on my PC it does). Obviously this makes it pretty hard reading the file names that are open. Changing the ...
1
vote
4answers
6k views

How to open the default GUI text editor in Ubuntu or Lubuntu via a script?

I have a script that uses gedit to open text file in Ubuntu. That script does not work under Lubuntu. What command is required to execute the default text editor? I want to make the script usable ...
0
votes
1answer
225 views

Can Gedit plugins work in Sublime Text 2?

Is there a way to get the gedit-dash plugin working in sublime text2? Here is a screenshot of gedit-dash
2
votes
2answers
4k views

“EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported”

I am on ubuntu 12.10. Every time that I try to open gedit on root this appears: (gedit:3254): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols ...
3
votes
2answers
832 views

Where can I find gedit's backup files and how to open them?

So, I just finished off the first part of an important task for school and today when I was going to continue, the document with my notes were gone. The only fragment I've got left of my file is the ...
3
votes
1answer
741 views

how to hide filepath and page number in gedit for printing

I have to submit report on my project and i need to print source code but gedit includes file path, filename and page number at the top of the page how to remove it ?
1
vote
0answers
52 views

Why does my gedit “open” pulldown not show any recent documents? [duplicate]

gedit used to show recent documents in an "open" pulldown, but that list has been empty recently. It has been this way for a while now (by while, I mean weeks) and I can't pinpoint any one change that ...
2
votes
2answers
413 views

Why won't Gedit display Hebrew letters in documents, while LibreOffice works fine?

I am using Gedit and LibreOffice Writer. When I want to write in Hebrew I don't have any problem. When I download a LibreOfiice file in Hebrew I do not have any problem, either. When I download a file ...
2
votes
1answer
1k views

How do I install gmate in ubuntu 12.04

I am trying to install gmate in ubuntu 12.04, I followed instructions from here sudo apt-add-repository ppa:ubuntu-on-rails/ppa sudo apt-get update sudo apt-get install gedit-gmate The ...
3
votes
2answers
3k views

Font rendering in gedit is smooth, but not smooth in NetBeans

See the attached image. The window in the background is gedit with the fonts rendered smooth. The window on top is NetBeans with not-so-smooth font rendering (not anti-aliased, I think). Both ...
0
votes
0answers
137 views

Saving has been disabled by system administrator [duplicate]

I have coded my own HTML website recently, and today I wanted to add a Google calendar object to it. Today I got an error when trying to save the Google calendar code. I am the admin on my Ubuntu PC, ...
6
votes
1answer
989 views

How do I adjust the margin for the line numbers in gEdit?

Recently I was able to increase the left margin between code and line numbers in Gedit (Gnome-text-editor) in Ubuntu 12.10. I don't recall how I achieved this, neither do I recall how Gedit reverted ...
3
votes
1answer
224 views

C++ programming - Is there a way to make gedit recognize new classes?

I'm C++ programming in ubuntu 12.04 using gedit and it recognizes c++ default commands. I was wondering if I can make it able to recognize the new classes I define and change their color in the code ...
14
votes
3answers
5k views

Custom keyboard shortcuts in gedit

Since I spend a lot of time on my laptop, I've gotten used to using keyboard shortcuts for everything. I want to be able to switch from tab to tab of opened documents in gedit by pressing Ctrl+Tab ...
1
vote
2answers
2k views

sudo apt-get update error ubuntu 12.04

Hi I'm new in Linux and I need your help :) Every time when i type sudo apt-get update it shows: alphaog@alphaog-HP-Pavilion-DV7:~$ sudo apt-get update E: Type 'ain' is not known on line 3 in source ...
1
vote
0answers
288 views

encoding and decoding in gedit

Sometimes in gedit, when I save a text file with special characters (such as Greek characters, math notations, Chinese characters) I copy from some webpage and am about the exit gedit, it will warn me ...
1
vote
1answer
381 views

Crontab opens as blank page, cannot save

I am really not familiar with linux, and only started using it recently, so be patient with me. I am trying to control a camera on regular intervals through a script that is called upon in the ...
1
vote
2answers
705 views

How do I open weblinks with Firefox, not Gedit?

I save links as files, rather the using bookmarks. I just drag the URL field from Firefox onto my desktop/folder. Recently these stopped opening in Firefox, and started "opening" in Gedit. Even in ...
1
vote
3answers
2k views

configure gedit to always open in new window

I would like to configure gedit so that everytime I double click on a text file it will open on a new window instead of a new tab. How can this be done? Something like, gedit --new-window "file ...
1
vote
0answers
131 views

Make environment variable accessible to application [closed]

In order to get LaTeX to work, I have set the environment variable TEXINPUTS, which includes a path to certain inputted files. It works fine if I'm calling latex (or rubber, or pdflatex) from the ...
1
vote
0answers
14 views

What information I need to add to get the bug noticed? [duplicate]

Possible Duplicate: How do I report a bug? I filled the bug to Launchpad about Gedit. https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1067915 What information I need to add, maybe ...
0
votes
1answer
968 views

Gedit not Launching

For some reason, gedit does not launch. Here is the output it gives: chris@Chris-Ubuntu-Laptop:~$ gedit chris@Chris-Ubuntu-Laptop:~$ Descriptive, Let us try the help. chris@Chris-Ubuntu-Laptop:~$ ...
1
vote
1answer
2k views

Unable to launch gedit with sudo

While trying to follow these instructions, I encountered the following error while attempting what seems like a simple sudo edit operation: $ sudo gedit /var/lib/dpkg/status ** (gedit:14898): ...
1
vote
1answer
581 views

Gedit embedded terminal is empty

I enabled the Embedded terminal plug-in for gedit, but it only appears as in the picture. I can't type anything! Is there a way to fix this? Or am I missing something?
5
votes
1answer
182 views

Gedit's save empty file dialog I never opened

Every time you open a text file in the file manager (Dolphin) it automatically open a blank document at the same time. The problem with that is that when i close the file it then asks to save the ...
2
votes
3answers
1k views

Convert a (txt|srt) document from Western(ISO-8859-15) to UTF-8

I am having problems with subtitles in my language. They are encoded as Western(ISO-8859-15) and therefore some characters are not displayed correctly. I am tired of replacing manually using gedit ...
1
vote
1answer
208 views

Incorrect spell check results

Firefox and Gedit (at least) are checking spelling wrongly. Which package should I file a bug against? For some time I've had issues with spell checking in Firefox. I hadn't bothered with them since ...
1
vote
1answer
140 views

Scroll has become remapped to right click in Gedit

I can't use the scroll wheel in Gedit. The scroll up or down events now have the same effect as right clicking. I'm not sure what happened. I never messed with any settings. This happened while ...
6
votes
3answers
266 views

How to convert WinWord files to open in gedit?

I finally installed Ubuntu in my desktop, but now, when I open Winword files with the text editor, it opens but all the formatting is off. How can I open the file properly?
1
vote
1answer
378 views

gedit snippets plugin not working for encodings other than UTF-8

I just ran into a problem with the snippets plugin of gedit 3.4.1 running on Ubuntu 12.04. The problem is that the snippets plugin stops working (i. e., doesn't react to keyboard shortcuts and ...
3
votes
5answers
2k views

How to paste text from Vim editor to browser?

I need to copy text from vim to web browser since I'm not able to use gedit as I'm opening an sql file. How do I get this done?
2
votes
1answer
326 views

Gedit Ruby 1.9.x syntax highlighting

I have a problem with Gedit and it's way of highlighting new Ruby syntax. In Ruby 1.9.x, we can write Hash this way: { class: 'class_name', id: 'uniq_id' } instead of { :class => 'class_name', ...
7
votes
2answers
15k views

Need Software to compare two text files [duplicate]

Possible Duplicate: File and directory comparison tool? Is there any software available on Ubuntu12.04 to compare two gedit text files for the differences between them. I have two CSS text ...
0
votes
1answer
122 views

Gedit drag and drop code

I am using Gedit(3.4.1) and use it to edit my website with it. and usually when i change/remove/edit my website, i have to change all of my html pages to make it look the same, layout wise and, right ...