Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

3
votes
2answers
239 views

How can I sync my root gedit with my user gedit's preferences?

When I open a file with root gedit I'd like to have the same setup as my normal gedit. So theme, preferences, and addons. Can I set up some sym links in the right spot to achieve this?
3
votes
3answers
3k views

How to create a new file?

I've tried gksudo gedit /etc/xinetd.d/tftp (This is the file I have to create) I got an error message couldn't find the file /etc/xinetd.d/tftp please check that you typed the location ...
3
votes
1answer
368 views

Why am I getting this error while using gedit?

(gedit:4778): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed What does this error mean?
3
votes
1answer
498 views

Is there ruby syntax validation plugin for gedit?

I am using the https://github.com/gmate/gmate setup, but it lacks a ruby syntax validation plugin. Where can I find one? Tnx!
3
votes
1answer
52 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
382 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
0answers
185 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
814 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
334 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
279 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
137 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 ...
3
votes
2answers
273 views

Mouse cursor dissapears when long-pressing Alt in Gedit

When I press Alt in Gedit, and hold it for two seconds or so, the mouse cursor disappears, and then as I continue moving the mouse, the cursor starts flickering. The flickering happens only inside the ...
2
votes
3answers
3k 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
502 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
702 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
1answer
616 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
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
92 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
2answers
798 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
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
333 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
263 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
164 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
2answers
143 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
219 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
147 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
715 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
64 views

Is there a gedit plugin that will detect errors in php code?

I dont know if this is even possible inside of gedit, i know there are third party editors that will do this but i like gedit and would like to know if anyone knows of such a plugin because i cant ...
2
votes
2answers
11k 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
215 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
4k 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
290 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
572 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
41 views

How can I change the Gedit keyboard cursor / caret to a block instead of a bar?

The single-pixel-width cursor / caret in Gedit (and other text editor boxes in Ubuntu) is pretty thin and hard to see: I like the block cursor used in the standard terminal, however: Is there a ...
2
votes
1answer
46 views

How to convert a text file with mixture of encodings to a single encoding?

I created a text file by copying its different parts from different sources (webpages, other text files, pdf files) into gedit and saving it to the file. I guess that is the reason that I have ...
2
votes
2answers
158 views

gedit 3.8.3 several plugins do not work

I have upgraded to Ubuntu 13.10 (and thus Gedit 3.8.3), and several plugins I was using in Gedit (like "session save" and Strl-Tab navigation throught tabs) are now unavailable. Can you help get them ...
2
votes
1answer
1k 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
573 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 ...