Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

4
votes
1answer
74 views

Use custom command to open files

gedit application is set as default application for text files. Supposing I have a script with execution rights in /usr/bin, how can I set that script to be run when I open a text file using Nautilus ...
1
vote
0answers
38 views

Weird screen tearing behaviour with scrolling after updating Nvidia drivers

So I updated my self to the latest stable Nvidia driver. It is 340.32 version. I am using Ubuntu 14.04 with it. Everything is fine but if I try to scroll in some programs like for instance Gedit or ...
0
votes
1answer
18 views

How to replace tabs for spaces in gedit?

If you create a file using gedit, which is configured to insert 4 spaces each time you press tab. Then for some reason you edit the file and some tabs get inserted (i.e. While editing on Windows). How ...
1
vote
3answers
422 views

How to clean gedit's and other editor's find&replace history?

I have started working on a new project using gedit on ubuntu 12.04. The problem i am facing now is that, all previously searched terms are still there when i click on the drop down arrow in search ...
0
votes
0answers
6 views

Shift + any key combination closes search dialog in gedit on 14.04

When I hit Ctrl+F and type any uppercase letter (using the Shift key) in the search dialog, the dialog closes and the letters appears in the document instead. I don't remember changing any shortcut ...
0
votes
0answers
9 views

How to remove fontconfig warnings when running gedit from terminal? [duplicate]

When I was working on a C program with Gedit in Ubuntu 12.04, font configuration warnings were shown in the terminal. What should I do to remove these warnings? shayna@shayna-Vostro-3446:~$ gedit ...
0
votes
0answers
19 views

Gedit opens new windows with two tabs

When gedit is running and I open a new empty window, the window is created with 2 tabs containing untitled documents. This occurs whether I select "Open a New Window" from the dock icon or run gedit ...
10
votes
3answers
2k views

How do I stop gedit from opening anything?

I use gVim all the time and open all sorts of plain text files, source codes and virtually anything that is readable with gVim. Ubuntu however decides that I should use gedit! I got searching and I ...
0
votes
0answers
11 views

Gedit crashes due to highlight mode

I recently started to have a problem with gedit in Ubuntu. If I try to open a file where the metadata selects a highlight mode, it crashes. I can open files in plain text, but if I try to select a ...
0
votes
0answers
7 views

Switch text direction in GEdit

I want GEdit to show all paragraphs in right-to-left view. I know that it renders paragraphs starting with rtl characters correctly. But I need paragraphs starting with ltr characters also shown as ...
1
vote
1answer
41 views

gedit : plugin “imitation” doesn't work after upgrade to ubuntu 14.04

Unfortunately, I can't use the gedit plugins called imitation and "regex search and replace" after upgrading from 12.04 to 14.04. Anyone could help me, please? I already ran: sudo apt-get install ...
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 ...
1
vote
0answers
10 views

Any Favorites/ Bookmark file plugin for Gedit 3.12 +?

I want to bookmarks files in Gedit so that I can open them easily later. There are some old plugins which used to work for older versions. But is there any working plugin for Gedit 3.12+. I am using ...
0
votes
1answer
30 views

Cannot update/get any packages. gedit not installed

my problem is that my sources.list is out of date for some reason. I already found the fix in another port, but it doesn't work. It says to use gedit to edit sources.list and replace everything with ...
0
votes
1answer
1k views

How to install the gedit markdown-preview plugin on 14.04?

I've just installed the markdown preview plugin for gedit and I get the following error on the console when I try to activate it in the plugins tab: Traceback (most recent call last): File ...
2
votes
0answers
29 views

Search capability does not work since upgrade to 14.04

When I do a search (Ctrl+F) in LibreOffice Writer only one letter is accepted, like in some sort of overwrite mode. The same happens, for example, in gedit. However a Ctrl+F search from the browser ...
-1
votes
0answers
28 views

Gedit embedded terminal not working

I get this error when I run gedit: $ gedit Traceback (most recent call last): File "/usr/lib/x86_64-linux-gnu/gedit/plugins/terminal.py", line 309, in do_activate self._panel = ...
-2
votes
1answer
56 views

Running python module in gedit embedded terminal [closed]

I'm new to python and i'm trying to run my first module but i can't do that through gedit embedded terminal the code i wrote is def num(b): print("Give A Number") b = b +5 print(b) I ...
0
votes
1answer
39 views

Gedit Text size plugin keyboard shortcuts not working

From this answer the way to zoom in/out of text in Gedit is by installing gedit-plugins, enabling the text size plugin and using Ctrl + Mouse scroll to zoom in/out. This doesn't work in Gedit 3.4.1 ...
0
votes
1answer
63 views

Alias to open multiple text files in different directories from terminal

After hours of searching and trying different gedit plugins I did not manage to add a session saver to gedit to open some files in Ubuntu 14.04 (see here). So, I am trying to create a permanent ...
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 ...
1
vote
2answers
4k views

could not save the file /usr/… permission denied (13.04)

I am running Ubuntu 13.04 and am trying to create an .sh file for conky in /usr/bin using gedit. When trying to save I get the error dialogue: Could not save the file /usr/bin/conky-start.sh You do ...
3
votes
3answers
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 ...
0
votes
0answers
29 views

find out the encoding method that gedit uses to open a text file?

gedit successfully guessed the correct encoding charset of a text file. I would like to find out what the charset is, but couldn't find a way in its menu. How can I do that? Thanks.
1
vote
0answers
34 views

gedit automatic session saving

I am using gedit on Ubuntu machine. Suppose if I open gedit and open some files say - file1.txt & file2.txt , then after if I close the gedit and reopen once again then it is creating a new ...
3
votes
1answer
101 views

How to stop gedit (and other programs) from outputting GTK warnings and the like in my terminal?

I am running awesome on trusty after having upgraded from raring. My desktop environment intentionally does not have all the Gnome / Freedesktop daemons running—I don't want them. When I execute ...
8
votes
3answers
9k views

Can I change gedit's background color without changing to another theme?

I like ambiance but i find it a little too hard on the eyes to have to edit files on a pure white background, like gedit's. Is there any way to modify my theme to make gedit's background color ...
1
vote
1answer
50 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
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 ...
1
vote
0answers
70 views

Issue with gedit printing

I executed gedit and printed some texts with it in Ubuntu 12.04 LTS. But I think that It's not doing it correctly. Perhaps I don't know how to use gedit. Please help me with the way how to ...
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 ...
2
votes
1answer
35 views

Change where gedit saves temp files

Looking for a way to put gedit's temporary tilde files in a different directory than the one I'm working in. Is there a way to do this?
2
votes
1answer
56 views

Can I turn off gedit antialiasing?

As the text seems blurry I'd like to disable antialiasing in gedit. I don't see anything related in the program's Preferences. The problem appeared after upgrade from 12.04 to 14.04:
0
votes
2answers
54 views

gedit problem when open by terminal

when I open terminal and run the command sudo gedit first.cpp it shows this error in terminal: (gedit:24589): IBUS-WARNING **: The owner of /home/bonny/.config/ibus/bus is not root! (gedit:24589): ...
1
vote
1answer
120 views

Problem to copy a file from HDFS to local system [copyToLocal: Permission denied]

I have installed and executed an mapreduce program successfully in my system(Ubuntu 14.04). I can see the output file as, hadoopuser@arul-PC:/usr/local/hadoop$ bin/hadoop dfs -ls ...
0
votes
1answer
117 views

How change gedit preferences in xfce / xubuntu?

Where can I find Gedit preferences in Xubuntu? They are like some rare, elusive bird. Numerous help forums like this give varying reports of where it might have been spotted. But you go where they ...
8
votes
4answers
4k views

Where are gedit's preferences?

This is incredibly weird. I don't see "preferences" in any of my gedit menus. I'm running Version 3.8.3. All I want to do is show line numbers, but I can't do that without preferences. Where the heck ...
0
votes
0answers
32 views

How to recover a lost text file?

Yesterday I was working on a text file in a drive that was mounted from a ntfs Windows 8 partition. After running Windows 8 and coming back to Linux, I saw the file is gone, only to have a backup file ...
1
vote
1answer
14 views

“Manage external tools” not popping up dialog

I enabled the "External Tools" plugin for gedit. I clicked on Tools > Manage External Tools, but it didn't pop up a dialog. It did nothing. What did I do wrong? How can I re-install this plugin?
0
votes
1answer
115 views

What was the default font of gEdit on Ubuntu 10.04 (lucid)?

I just upgraded from Ubuntu 10.04 to Lubuntu 14.04 and I installed the latest version of all the programs that I had on my previous computer. I installed the latest gEdit 3.10.4 version and a lot has ...
0
votes
0answers
42 views

permissions denied even though I'm a system admin (and the only user of the system,) when trying to access and edit .desktop files? (14.04)

When I try to save the .desktop file (for Google chrome in this instance,) I revive a message that in short states I do not have the require permissions to do this. Is there any fix for the problem at ...
0
votes
0answers
24 views

File script not saved as expected

When I try to edit a script (with Sublime Text 3) the file is saved normally. But when I open the same file with gedit, the file is empty. Also when I run the script (.sh) nothing happens unless I ...
0
votes
0answers
74 views

How to make gedit a java ide

Im looking for a lightweight ide. I've heard that gedit can also be used for this purpose. Can anyone tell me how to make it a java ide, I haven't come across anything helpful yet. In Tools > Manage ...
3
votes
2answers
10k views

Gtk-WARNING : Calling Inhibit failed

I was trying to use gedit, when I came across the following problem: myPC@TM77:~$ sudo gedit /etc/pm/config.d/config (gedit:12512): IBUS-WARNING **: The owner of /home/myPC/.config/ibus/bus is not ...
1
vote
2answers
38 views

How do I update `ubuntu-themes`?

I'm super annoyed by a bug that has supposedly been fixed in "ubuntu-themes" but I am on 13.10 and I don't even see an "ubuntu-themes" package. Sooo... what package should I be looking for?
0
votes
0answers
243 views

What is this gtk-warning “Calling inhibit failed” working with Gedit?

While working with gedit run from terminal, I got this warning message: (gedit:21824): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ...
1
vote
0answers
64 views

Gedit crashes on opening having upgraded from 12.04 to 14.04

I upgraded from 12.04 to 14.04 So far its still pretty broken - using gnome flashback things see 'off' and I cannot quite put my finger on the problems. Lots and lots of system crashes and error ...
12
votes
6answers
829 views

How to write superscript characters in gedit?

In gedit, how can I write x^2 without using ^? Where 2 will be the superscript of x.
1
vote
1answer
54 views

Adding languages to gedit spellchecker

It's all in the title. By language I mean human language that are not included in the default version (say dutch, german, spanish, ect...). I'm using gedit 3.4.x.
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 ...