Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

-1
votes
0answers
17 views

Unable to fix the famous wifi issues after suspend due to gedit error

I'd like to apply the fix described here, but unfortunately I get this error in the terminal: (gedit:13552): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error....
1
vote
1answer
24 views

How can I print PHP syntax highlighting on a colour printer?

This must have been answered before, but I simply cannot find the answer either here or elsewhere. I edit a PHP file in gedit, which is all nicely coloured for syntax. But when I want to print it, ...
0
votes
1answer
34 views

Set document metada failed UBUNTU 16.04

Is any one could help me to stop this behavior of gedit in Ubuntu 16.04 LTS. I have upgraded 14.04 to 16.04 . Now I am trying to open the gedit from terminal by passing the command: sudo gedit /...
0
votes
0answers
14 views

gedit> error: XDG_RUNTIME_DIR not set in the environment

yogesh@GNYK:~/note$ sudo gedit cmds No protocol specified ** (gedit:24425): WARNING **: Could not open X display No protocol specified error: XDG_RUNTIME_DIR not set in the environment. (gedit:...
3
votes
2answers
54 views

can gedit create a Unicode file?

Using bless I can see my gedit output is ASCII. Can gedit process some kind of Unicode?
24
votes
6answers
8k views

When creating a new text file, should I add a .txt extension to its name?

When I create a new document aimed at containing only plain text, I am not obliged by Ubuntu to add a .txt extension to its name. It works indeed very well: gedit opens it without problem, ...
12
votes
2answers
15k views

How do I add a syntax highlighter format to Gedit?

How can I add in the regular expressions for an additional syntax language?
4
votes
1answer
227 views

I get no output when I compile Java code from the Terminal

When I try to run my Hello World program it doesn't show any output: $ ls hello.class hello.java $ javac hello.java $
0
votes
1answer
31 views

Gedit error for non sudo - undefined symbol: cairo_surface_set_device_scale (undefined symbol: cairo_surface_set_device_scale)

for some reason I am unable to run gedit as a normal user. I get the following error: heberto@heberto-XPS-13:~$ gedit gedit: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgdk-3.so.0: undefined ...
0
votes
0answers
16 views

Gedit embeded terminal color

I try the following the prescriptions of this answer : How to change Gedit embeded terminal plugin colors? I used them successfuly with ubuntu 14.04 and gedit 3.10.1, without clearing the palette. ...
5
votes
2answers
3k views

gedit plugin to highlight all instances of selection

Using gedit 3, I've tried multiple plugins to highlight all instances of the current selection (a la Notepad++): https://code.google.com/p/smart-highlighting-gedit/ https://github.com/mmuell23/...
0
votes
1answer
35 views

Recover files from gedit

I suspended my laptop while writing some files in gedit. When I opened my laptop, it suddenly went off and lost the files I had open in the text editor. How can I recover those files? I have tried ...
1
vote
0answers
51 views

How can I solve the (gedit:7404) error in Ubuntu 16.04?

When I use sudo gedit .bashrc, why do I receive the error below from Ubuntu 16.04? ** (gedit:7404): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not ...
1
vote
1answer
53 views

Gedit PHP syntax highlighting

Does anyone know how to fix this issue? I have PHP inline to HTML. There's an opening quotation and the inline PHP also has a quote, but Gedit thinks it's the closing quote for the HTML. Add this to ...
-1
votes
1answer
30 views

Cannot print to Kodak ESP Office 2150

I am a Linux newbie so help me please. My printer is not printing for some reason. LibreOffice 5 can see the device but if I click "Print" , then Cannot print error appears! I have surfed the web ...
27
votes
7answers
20k 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 ...
4
votes
1answer
37 views

How can I insert a Bash variable using the Gedit Snippets plugin?

I use Gedit and enabled the Gedit Snippets plugin. I added a custom snippet for the sh language that shall contain a Bash variable like $LINENO. It looks like this simplified example: my_command || ( ...
1
vote
0answers
16 views

Why a file automatically created with '~' whenever I change the gedit file? [duplicate]

Whenever I made changes in my text files, automatically another file with the same name plus a '~' gets created. Why does this happen? How can I prevent these files from getting auto-created? These ...
13
votes
2answers
11k views

Some Ubuntu 13.04 applications cannot access files on MTP-mounted systems. Why?

Ubuntu 13.04 comes with MTP support to access files on newer Android devices. My Nexus 10 works OK: after plugging in, I can access the N10 files with Nautilus, and I can copy from and to the device. ...
0
votes
0answers
28 views

Laggy scrolling in Gedit and Mousepad on Lubuntu 15.04

I have this problem in Lubuntu 15.04: Scrolling in text editors like Gedit and Mousepad is quite laggy. It's annoying, because it's not responsive enough for comfortable work. Editors like Geany or ...
1
vote
0answers
58 views

Literally Nothing is Working to Change the Colour of My Gedit Embedded Terminal

I know several people have asked here about how to change the colour of the embedded Gedit terminal, and I've thoroughly read those posts myself. I've tried everything, but mine is still white. I am ...
0
votes
0answers
12 views

How to copy text from RHEL gedit inside vncviewer back to local Ubuntu desktop gedit?

My Question Copying text from inside the gedit app inside the vncviewer is not making its way out to the X CLIPBOARD from the vncviewer. What is the fix for this? Below are my configuration details, ...
4
votes
4answers
24k views

Can't open Gedit as root

When I run sudo gedit /path/to/some/random/file I get the following error ** (gedit:6262): WARNING **: Command line `dbus-launch --autolaunch=7f8731869e1c690b8205727e0000000a --binary-syntax --...
0
votes
1answer
151 views

Fix for flickering mouse in gedit on 15.04 when unsaved changes exist?

Using ubuntu 15.04. This only occurs in gedit. And it only occurs when there are unsaved changed in gedit. When there are unsaved changes, the mouse starts flickering. Here is a video of what it ...
0
votes
0answers
19 views

Gedit crashes opening serialized Java file

When I try to open a file containing a serialized java object, gedit crashes every time, and I cannot figure out why. It has no issues with other files besides these. I wasn't able to get a stacktrace ...
13
votes
3answers
860 views

How do I downgrade Gedit to a previous (3.10.4) Version in Ubuntu 16.04 LTS

As the title already says: I have some plug-ins which don't run with gedit 3.18.3 which is shipped with Ubuntu 16.04 LTS. How can I downgrade to the version 3.10.4 which was used in Ubuntu 14.04 LTS ...
0
votes
1answer
29 views

How to set the default tab pagination to 2 spaces in gedit?

I am using gedit in ubuntu 14.04 for developping web applications, and I use tabs a lot in my code instead of spaces. Everytime I open gedit it sets the tab pagination to 8 spaces. How do I set ...
4
votes
0answers
59 views

How to permanently show the full path of file opened on Gedit?

Sometimes I have files with same name in different folders and I get confused witch of them I'm using on Gedit, because I can't see its path. How to have the full path visible always when working on ...
2
votes
0answers
68 views

Gedit TitleBar right click menu?

After running gedit command in terminal i see the original title bar right click menu , but when i run sudo gedit command it's only show Close on menu , although when i do the same with nautilus it ...
1
vote
0answers
66 views

gedit not opening any file when launched from terminal, not only system files

My gedit application is working as normal when I launch it from launch menu and I can do all the kind of things. However when I go to terminal and issue the following command: gedit text1 Then I ...
1
vote
2answers
56 views

Aliasing gedit to suppress terminal output

I am SSH'd into an embedded board (Jetson TK1 running Ubuntu 14.04). I use the -X option so I can use gedit to edit text files. When executed from a terminal, gedit spews a bunch of garbage on the ...
2
votes
1answer
34 views

gedit extensions for programming

I like to use gedit for my C++ and Python programs. While the default language settings are rather impressive, I was wondering if there are any quality extensions I can install that enhance the ...
0
votes
0answers
25 views

Key remap in Gedit/Ubuntu

I'm programming with Scandinavian keyboard where the braces are a problem ([ is AltGr-8 etc.) I'd like to remap the letter å (the key right from p) to print [] and bring the focus between the braces....
0
votes
1answer
50 views

Can't use Python console on Gedit

The error message is: Plugin loader python3 was not found Python3 is installed... Using Ubuntu 16.04 LTS
3
votes
2answers
76 views

status of gedit r plugin (rgedit) in 16.04?

People are going to great lengths to get the gedit R plugin back by downgrading gedit. I tried, but couldn't make those instructions work. Mostly now I'm sad. RStudio is shiny and everything, but ...
0
votes
0answers
37 views

This font could not be displayed - (gedit)

i'm having problem with my text editor (gedit) on ubuntu 16.04. How to fix it? thanks.
3
votes
0answers
365 views

No menu bar in gedit 3.18.3 on Ubuntu 16.04

Gedit usually shows the menu bar when the mouse is hovered over the top of Unity (desktop) no matter where or how gedit is displayed. This is ok. When started from terminal using sudo gedit there ...
0
votes
0answers
24 views

Gedit in ubuntu 14.04 does not change theme as normal user

I am trying to change the theme of gedit from Edit -> Preferences -> Fonts & Colors. But the theme does not get applied. Its the same for built-in themes and any new theme I add. Screenshot : not ...
0
votes
1answer
21 views

Recover gedit file after save and restart

Is it possible to recover the old data of a file after it was erased by another file and restart ?
3
votes
0answers
69 views

making rgedit work in downgraded gedit (3.10.4) with ubuntu 16.04

I successfully downgraded to gedit 3.10.4 so that I could continue to use the rgedit plugin. While gedit appears to open and the rgedit menu appears, the rgedit buttons are not added to the toolbar ...
2
votes
4answers
9k views

How to add custom color scheme to gedit-3.14.0

I change the xml file in the /usr/share/gtksourceview-3.0/styles/ but it didn't work, and when I want to add my own scheme through the Preference --> Font&Color and it replied that "The ...
0
votes
2answers
103 views

Brightness Control

I recenetly installed ubuntu16.04 on my sony vaio VPCEH35en. The brightness control is not working. I have a Nvidia GEforce 410M . I tried to modify the xorg.conf file but ended up with this: ...
0
votes
0answers
104 views

Gedit does not save preferences (Ubuntu 16.04)

I'm trying to use gedit to learn Python, but whenever I save a document, when I reopen it my preferences (i.e Tab width and Display line numbers) are not saved. I would also like to change the default ...
-1
votes
1answer
106 views

How can I open multiple html files with gedit from a script?

I have a list of HTML files I use for writing. I would like to script to open them for editing. HTML files are associated with Firefox as the Default Application on my system. New to Linux and ...
8
votes
4answers
4k views

Gedit warning: GtkScrolledWindow is mapped but visible child GtkScrollbar is not mapped

When I use gedit, there is warning shown: (gedit:3166): Gtk-WARNING **: GtkScrolledWindow 0x236cd10 is mapped but visible child GtkScrollbar 0x2307ab0 is not mapped How can I fix it ?
0
votes
1answer
60 views

Is it possible to send selected code(whole documents) to the gedit terminal for execution?

I want to use external tools to automate the internal execution of presently-being-authored scripts by keyboard shortcut. The only thing I can find on this is here. But I think it must be out of date ...
-1
votes
1answer
47 views

Trying to set up a file server [closed]

So I'm exceptionally new to uBuntu/Linux in general. I've done the install of Linux Mint 15 onto one VM for PoC and then I figured how hard can it be to set up a File Server for this? I've gotten ...
0
votes
0answers
114 views

Persistent High-Fan Speed xubuntu 14.04

To start off, I am new to linux and don't understand much about it :D Please excuse-me. So I am having the same trouble as many (?) other users with fan speed. I have an old Sony laptop Vaio PCG-...
2
votes
1answer
2k views

Gedit can't save files

Gedit can't save files. My Gedit has greyed out the 'Save' button, and only offers to 'Close without saving'. Other programs saves the same files without any problems and i seem to have enough rights. ...
7
votes
3answers
3k 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 ...