Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

1
vote
1answer
1k 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
238 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
240 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
64 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
431 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
727 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
936 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
802 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
722 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
409 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
978 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
286 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
367 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
697 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
957 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
579 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
181 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
139 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
265 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
377 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
323 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 ...
2
votes
3answers
11k views

Cannot open Gedit display on Ubuntu Server 12.04

I just installed Ubuntu Server 12.04 32 bit. I need to perform the following command in a terminal window: sudo gedit /etc/samba/smb.conf First the gedit command did not work; therefore, I did: ...
0
votes
2answers
832 views

Running gedit in background

So I've got this working in a 10.04 ubuntu OS in bash where I can run: $ gedit app/file.rb bash opens that file with gedit but it is tied up. How can I make my earlier command equivalent to $ ...
6
votes
3answers
736 views

What package do I need to install to develop plugins for gedit?

I'm using Ubuntu 12.04 with python 2.7.3 and PyGObject and I'd like to develop plugins for Gedit in python. I found a simple looking tutorial for this sort of thing here. According to the tutorial, I ...
4
votes
2answers
137 views

I have 2 different GEdits?

When I load GEdit, it is different from sudo GEdit. Normal GEdit gives me Gtk warnings in the console, and ithas a different look. When I install plugins on either version, it doesn't reflect on the ...
2
votes
1answer
411 views

gksudo 2 commands with one PW entry?

Before upgrading to 12.04 (from 10.04) I used this little launcher script: #!/bin/bash gksudo nautilus /var/www/DFDII & sleep 5; gksudo gedit /var/www/DFDII/iindex.php This script opened ...
5
votes
1answer
10k views

gedit “cannot open display” , on remote computer , using ssh - Ubuntu 12.04 [duplicate]

Possible Duplicate: How do I run a graphical application on a remote server when logged in through ssh? I am getting the following error message when using ssh to log into a remote ...
4
votes
1answer
867 views

How can I set xdotool and gedit to open a document and save it twice?

I need assistance in creating a script that does the following: Open Gedit Open a document with Gedit Save the document twice Close Gedit I was wondering how can I make it happen with Gedit and ...
4
votes
4answers
3k views

How To run Gedit and Subl commands in the background?

If I use Gedit or Subl (sublime text) commands in the terminal to open a file, I can't do anything else in the terminal until I close the text editor. How can I fix this?