Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

3
votes
1answer
35 views

gedit snippets lost

Here's the problem: Everytime I close gedit all of my own (LaTeX)snippets are lost when I launch it for the next time. Default snippets are still available and working. What I tried so far: Restart ...
3
votes
1answer
279 views

gedit 'broken' after update on Ubuntu 13.10

I have upgraded from Ubuntu 12.10 to 13.10. In the meanwhile I have removed the Enthought Python distribution manually because I want to start back on the 'official' packages. So I removed the python ...
3
votes
1answer
164 views

Printing 2 sides per page does not work anymore since update to 13.10

I used to often print documents with 2 pages per side to save paper. Since I have updated to Ubuntu 13.10, this no longer works properly. The problem seems to be with the rotation. Because if I ...
3
votes
1answer
590 views

How to change the default highlighting of gedit for a specific extension

Everytime I open a .m file, gedit associates Octave highlighting to it. I would like to change the default behavior to Matlab. How can I, in general, change the default highlighting that gedit gives ...
3
votes
1answer
297 views

How to get QML syntax highlighting in gedit?

QML files opened with gedit don't have syntax highlighting. Is there a package providing a gtksourceview lang.spec file for QML? If not, has anyone written a lang.spec than can be installed locally?
3
votes
1answer
257 views

Help wanted with customising the markdown panel in gedit

I have gedit 3.6.2 (Lubuntu 13.04) and I've installed a plugin from gedit-markdown: support for Markdown language in gedit that allows me to preview markdown text in a bottom or side panel within ...
3
votes
0answers
123 views

Gedit, Evince has print disabled

Print menu command is disabled in evince and gedit. Print functionality works fine in other applications like Chrome, GIMP, Firefox. Ubuntu printer setup correctly recognizes my printer and scanner ...
2
votes
3answers
2k views

Using grep to search texts with single quote?

I am using gedit text editor with embedded terminal in ubuntu 12.04. I'm trying to search for some text using grep. I want to search for this line of code 'type' => 'select' I tried: grep -r ...
2
votes
2answers
1k views

Gedit external tools plugin failed to load

I had gedit configured with some plugins but after upgrading to 13.10, every time I go the gedit Plugins and try to load the external tools I get a message saying: Failed to Load. Not sure how to fix ...
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 ...
2
votes
6answers
5k views

How do I encrypt/decrypt file within gedit?

In the previous version of Ubuntu (eg: maverick, natty), I used to do a: sudo apt-get install gedit-plugins seahorse to have the ability to encrypt/decrypt file within Gedit after enabling the ...
2
votes
3answers
324 views

Disabling gedit backup files (filename~ tilde)

How can I get the following command to change for the root user as well? gsettings set org.gnome.gedit.preferences.editor create-backup-copy false This command should disable gedit backup files. ...
2
votes
1answer
3k views

Can't change text size in gedit

Within gedit I can go to the menu Edit > Preferences > Font & Colours, and change the font size here, but this seems to change the font size for the application itself, when I print something it ...
2
votes
1answer
1k views

Errors shown in terminal when editing files with gedit

When editing any file f.e. like this: r@ngf:~$ sudo gedit /etc/default/grub [sudo] password for r: (gedit:1638): Gtk-WARNING **: Attempting to store changes into ...
2
votes
2answers
685 views

Add more functions in Gedit

I'm trying out Ubuntu for the first time so I'm a very new but I've done a bit of searching and I want to get something pretty similar to Notepad++ Gedit so far seems to be the pretty similar except ...
2
votes
2answers
2k views

Auto indentation in Gedit

I'm using Gedit to program C and CPP, and I've enabled auto indentation in Edit->Pref. However, it still doesn't work. Is there anything I can do?
2
votes
1answer
67 views

Create a custom syntax highlight in gedit

Following my question from long ago, I am still trying to tweak my fortune handling capabilities. The display in terminal is awesome, just one thing remains - syntax highlighting in Gedit as I add, ...
2
votes
1answer
338 views

Change newline character in gedit [duplicate]

So basically there is 3 types of newline characters according to operating system: Windows, MAC and Linux. Gedit is using Linux by default, but I'd like it to use Windows, so I can open the same text ...
2
votes
2answers
3k views

How to set default encoding for non UTF encoded documents system wide?

The title says pretty much most of it - I have some windows txt files, and most of them are Bulgarian with encoding windows-1251. When I open them (sublime, gedit, desktop generated icons) the files ...
2
votes
1answer
324 views

Memory problem with gedit

I found that as a gedit session runs longer, the more memory it takes, regardless of how small the sizes of the text files opened in the session are. So is it normal or a memory leak problem? For ...
2
votes
3answers
257 views

Programming language api sidebar in gedit

Im not sure this is an SO question or not, but is there a plugin for gedit to enable me to have the api for a particular language open in a sidebar? Im currently working in Java, and it would be ...
2
votes
1answer
10k views

How can I edit my httpd.conf file?

I have XAMPP installed, and need to edit my httpd.conf file to add a virtual host block. If I right-click on the file in Nautilus and open with gedit, I can see all the content, but it's read-only. ...
2
votes
2answers
112 views

assign geany or gedit highlight to text

Is there any way to assign geany highlight to text. For example when I pass a programming code to geany. Functions color is red. The thing which I am looking for is assingning these color to text. For ...
2
votes
2answers
1k views

How can I run sudo gedit as gksu gedit

I'm looking into ways of automatically loading Gedit as gksu gedit when I enter sudo gedit by mistake? I have found that I have made a number of files unreachable by using gedit and I have only just ...
2
votes
1answer
661 views

Gedit 3.6.1, how to increase the number of recent files from its default of 5?

Ubuntu 12.10, gedit 3.6.1 This won't work: gconftool-2 --type int --set /apps/gedit- /preferences/ui/recents/max_recents 30 Modifying this file as root won't work either: cat ...
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, ...
2
votes
1answer
214 views

Why is gedit so laggy when editing through FTP?

I use gedit to edit files on my Media Temple server, but it's so laggy. Other editors I've used don't have this problem. Saving takes a long time, and gedit usually freezes up for a bit during this. ...
2
votes
2answers
141 views

Why the feature to insert date/time not work in gedit? [closed]

When I tried to insert the date/time of gedit, no data was inserted into the document. Only blank spaces appeared in the current cursor position. I tried again from the terminal, it was the same and ...
2
votes
7answers
4k views

Any editor that does autocompletion in Ubuntu?

Is there any editor/IDE(or a plugin for an existing editor like Vim or GEdit) that does auto-completion of many languages (not just C++)? Aptana does only HTML/CSS/JS and Code::Blocks does only C++ (I ...
2
votes
1answer
659 views

Gedit isn't picking up new plugins

Hi I have tried to install this plugin for gedit by copying the files auto_completion.gedit-plugin auto_completion.py to /usr/share/gedit-2/plugins/autocomplete however when i restart gedit and go to ...
2
votes
2answers
166 views

Gedit F9 side pane shortcut is not working

I am using gedit for some editing and when I use F9 in order to make side pane visible or invisible my display is just getting dim and nothing happens.
2
votes
1answer
6k views

Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org

When I try to gedit some files, then I received these from the terminal window. There is already one post about this: Gtk-WARNING : Calling Inhibit failed But it is not solved. How can I solve it ?
2
votes
2answers
158 views

What does it mean to run gedit in standalone mode?

I was reading man gedit, when I stumbled upon this: -s, --standalone Run gedit in standalone mode. The official gedit documentation on this subject did not make me much wiser. So... ...
2
votes
1answer
3k views

How to activate the Gedit terminal plugin on Ubuntu 13.10?

I have the following packages installed: gedit gedit-common gedit-plugins In Ubuntu 12.04 with these packages installed all that was needed was to activate the terminal plugin and the press ...
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: ...
2
votes
2answers
2k views

Gedit Embedded Terminal Uses Incorrect Palette

I've followed the advice to turn off "use-theme-colors" and also set a custom background color in my embedded gedit terminal. But somehow, the palette setting is ignored and colors show as only black ...
2
votes
2answers
3k views

Gedit embeded terminal showing both background and foreground in white color

I am using Ubuntu 12.04.I am using Gedit with one of the plugin called Embeded Terminal which is used to place the terminal attached at the bottom part of the Gedit.Now my problem is in that embeded ...
2
votes
1answer
285 views

Ruby Script Runner for Ubuntu Gedit

I have this Java script runner installed in my gedit external tools: #!/bin/sh cd $GEDIT_CURRENT_DOCUMENT_DIR if javac $GEDIT_CURRENT_DOCUMENT_NAME; then java ${GEDIT_CURRENT_DOCUMENT_NAME%\.java} ...
2
votes
1answer
542 views

gedit plugin development in C

I'm Interesting to write gedit-plugins in C I've checked that http://live.gnome.org/Gedit/NewMDIPluginHowTo but i find it not good to start How can I get another informations about writing gedit ...
2
votes
1answer
971 views

How To Run Program As A Different User [closed]

I'm trying to launch programs as a different user than what I'm logged in as. For testing I've been using gedit. When I type sudo -u app_restricted gedit, I get an error, app_restricted being the ...
2
votes
1answer
539 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 ...
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 ...
2
votes
2answers
410 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
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', ...
2
votes
1answer
412 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 ...
2
votes
1answer
178 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 ...
2
votes
2answers
271 views

Gedit clears contents of clipboard on exit - how to keep it?

Use case: I'm writing an email, and need a snippet from a text file. Open the file in Gedit (or Kate, for that matter) and copy the desired snippet. Close text editor, return to email. Paste snippet ...
2
votes
1answer
197 views

Gedit inserts blank lines sporadically when using scroll wheel

I do extensive editing of text files using gedit. If I use the scroll wheel to move back and forth in the file, sometimes a blank line is inserted in the file. This is not obvious when it occurs. I ...
2
votes
1answer
318 views

gedit-dash not working anymore

I followed this tutorial on getting Gedit dash installed but for some reason it doesn't work anymore. I wrote a silent script that does everything automatically: cd /tmp sudo apt-get -y install ...