Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

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
380 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 ...
2
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
934 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
216 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 ...
12
votes
3answers
4k 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
264 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
342 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
658 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
126 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
908 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
556 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
179 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
205 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
135 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
254 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
365 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
309 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', ...
8
votes
2answers
13k 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
117 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
10k 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
768 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
671 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
380 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
787 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?
3
votes
1answer
248 views

How do I edit the autosave interval of gedit?

Can you people tell me how to edit gedit, please? I want to change the autosave feature so that it saves every 1 second, I was able to investigate further that I needed gconf-editor so I installed it ...
6
votes
2answers
1k views

How do you use the Commander plugin in gedit?

This plugin is available from gedit-plugins package. Other than what its name and short description are, there are no other helpful info about the plugin usage. Does anyone know how to use this ...
4
votes
1answer
733 views

Increase or View all Stored History in Gedit

I would like to be able to see the last ~200 files opened in Gedit. I was able to increase the number it shows to 40 using this command: gconftool-2 --type int --set ...
11
votes
3answers
5k views

How do I run a graphical application on a remote server when logged in through ssh?

I am trying to run gedit from an SSH terminal on Windows, connected to an Amazon EC2 instance running Ubuntu 12.04 Server and I am getting this error: Cannot open display: How do I fix it?
0
votes
1answer
1k views

How to display Chinese character? [closed]

I have a csv file which contains English and Chinese words, in XP I could open it with Notepad++ and it displayed both without problem, but when I went to Ubuntu 12.04 using gedit, it showed Chinese ...
3
votes
2answers
270 views

Can Gedit also backup files like “Untitled Document 1”?

GEdit can make backups of files that have already been saved once. But can it make backups of files that I have just created, and not saved yet? Those files are typically shown as "Untitled Document ...
5
votes
2answers
8k views

Install Regex plugin for Gedit

I am using Ubuntu 12.04.I want to install Regex Search and Replace plugin for Gedit.So can some one please tell me where can I get it and install it.Any help and suggestions will be highly ...
4
votes
4answers
3k views

Why does sudo gedit NOT open files starting with Exclamation mark

When trying to open a file with sudo gedit /path/to/file with a file name starting with a ! in front eg !config.ini i can not open the file. However if i do sudo nautilus then open the file with gedit ...
2
votes
1answer
168 views

Prevent SyncTeX from opening new instance Evince?

I'm using the SyncTeX plugin in gedit and it seems that ctrl-clicking in gedit (forward-searching) opens up a new instance of Evince even if there was already an instance open. Is there a way to ...
0
votes
1answer
3k views

Why doesn't my gedit(ubuntu 12) have an edit button

Hello I'm pretty newbie with linux os, and I have decidet i want to word on gedit with some addons and etc for develop ruby on rails sites. the problem is my gedit has no edit button and i swere i ...
3
votes
2answers
2k views

Unable to run gedit as a different user

I login as user 'foo' and if I am able to run gedit and edit files in my Ubuntu 12.04 machine with a DISPLAY setting as :0 If I "su - bar" and then try to edit files, I get a no protocol specified ...
3
votes
1answer
2k views

“Unexpected error: Invalid byte sequence in conversion input” in gedit

I have a text file. I created the content of the text file by copying from some webpage into it. During the creation, I was completely under gedit. I then saved the file and exited gedit. But since ...
6
votes
2answers
728 views

Code folding plug-in for gedit 3.2.1?

I need the code folding property in gedit, and I found online a folding.gedit-plugin online, but it never works. My gedit is of version 3.2.1, and it is said that the plugin folding.gedit-plugin was ...
0
votes
1answer
260 views

Embedding a back and forward arrows, home button, and download manager in a quickly application

I have downloaded a set of icons to use for my web browser that I'm creating and would like to use. I know how to add the icons, but I only know the code for the refresh button. My question is what is ...