Questions tagged [gedit]

gedit is a lightweight editing tool for the GNOME desktop found in many distributions of Linux, BSD and other Unix systems.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

Background Color changes while printing file in Gedit

How do I change the background color of the pdf file while printing an opened file in Gedit. I try to print the opened file it uses the syntax highlighting but doesn't use the background color of the ...
somenath's user avatar
2 votes
1 answer
263 views

Gedit Code Tree (Code Structure)

I'm currently using Gedit for writing some code. Is it possible to show a code tree/structure in Gedit (like on the picture below)? The example on the picture is from CudaText editor.
ENIAC's user avatar
  • 123
0 votes
0 answers
264 views

X11 on MacOS won't start with ssh -X user@host (failure to open gedit)

I use a Macbook at home to ssh/sftp into the (Ubuntu) Linux server at work, and have gedit installed on both. I installed X11 (XQuartz) on my Mac with the intent of using gedit and other applications ...
Max's user avatar
  • 101
0 votes
0 answers
55 views

Gedit spellchecking on Windows is not working properly

I am using Gedit, on Windows, to write a Latex document. I noticed that the windows installation of Gedit does not come with preinstalled dictionaries for spellchecking (I don't know why), so I found ...
Noumeno's user avatar
  • 106
-1 votes
3 answers
15k views

Unable to install/ use Gedit in kali linux

I'am using Kali Linux by offensive security on VMware with Windows 10 64 bit as host operating system. I've been trying to use gedit but am not able to sudo apt-get install gedit Reading package lists....
user1268421's user avatar
1 vote
1 answer
434 views

How to make gedit the default app for HTML files in Ubuntu 20/Files explorer?

I would like to always open HTML files with gedit when I click on them in the built in Files app in Ubuntu 20. I know you can choose the application to open with when you right click but this is a bit ...
gornvix's user avatar
  • 145
0 votes
2 answers
593 views

Selecting/highlighting specific lines in a text - gedit

I'd like to select only specific lines in a gedit file; for example, if the text is composed by 4 lines, I may be able to select only the first one and the last one in order to copy only them. How ...
Gennaro Arguzzi's user avatar
0 votes
0 answers
378 views

gedit looks strange ("ugly") on Ubuntu/WSL

I used gedit in the past and know it like this: On my freshly installed Ubuntu 18 (WSL) it looks like this (when I just call /usr/bin/gedit on the command line with an xserver running): It drives me ...
divB's user avatar
  • 587
1 vote
0 answers
94 views

Gedit Plugins 'grayed out' when clicked to activate (Windows 10)

I have installed Gedit 2.30.1 (32 bit) on Windows 10. Problem: When I add any external plugin to gedit, I can see the plugin listed in the preferences option, but it gets grayed out when clicked. ...
aks's user avatar
  • 133
3 votes
1 answer
992 views

How to install spell check dictionaries in Gedit on Windows

We are a charity that helps disadvantaged people to get back on track. To this end we provide them with paid occupation. One of them is proof-reading/editing of ancient OCRed texts that we release ...
user1876484's user avatar
0 votes
1 answer
294 views

How do I run Gedit on macOS Mojave?

I have successfully installed gedit on my macOS Mojave via the MacPorts, but when I execute, it gives me the following and doesn't start: (gedit:96701): Gtk-WARNING **: 10:41:50.162: Locale not ...
Andrew's user avatar
  • 101
1 vote
1 answer
356 views

Linux. wmctrl returns incorrect size of gedit

I found strange thing using wmctrl utility to get window size by running wmctrl -lG. I found, that size of gedit window is icnorrect. I equaled sizes of Terminal and gedit window, however wmctrl ...
rudolfninja's user avatar
0 votes
1 answer
642 views

Cygwin X applications do not launch

I have a problem with Cygwin X, in that applications don't seem to run. If I try to run gedit, or emacs, the applications seem to just return 0 immediately: me@mycomputer ~ $ gedit & [1] 10244 ...
Siskin's user avatar
  • 3
1 vote
1 answer
2k views

Opening UTF-8 file with UTF-16 encoding in gedit results in readable Chinese

I know this isn't really a problem, but I was really curious why this is happening. How to reproduce this phenomenon Open gedit and type something in (I used Lorem Ipsum text from lipsum.com). Save ...
Henry Sanger's user avatar
1 vote
1 answer
343 views

using gedit 2.30.1 on windows 10 64-bit

I also have the windows ubuntu app. My question is, does the windows version of gedit save files with dos or linux line endings? I would like to edit my ubuntu (bash) files in the windows gedit.
Larry Moore's user avatar
3 votes
2 answers
5k views

Using regex in the "replace" part of a search/replace?

I have a large amount of tab-indented (outlined) text that is missing a leading bullet character: some point a sub-point I want to replace each tab by 2 spaces, and add a hyphen ...
Torben Gundtofte-Bruun's user avatar
0 votes
1 answer
141 views

Gedit continue indent

If I have the following (where the pipe is the cursor) (tab)123| and I press enter, I get: (tab)123 | But what I want to get is: (tab)123 (tab)| Is there a way to enable this behavior?
Charles Noon's user avatar
0 votes
1 answer
1k views

Command-line equivalent of "Open With gedit"?

I'm a Mac user trying to make the switch to Ubuntu Linux (with the Gnome DE). But as I've always relied heavily on the "open" and "edit" commands in Terminal on the Mac, I'm trying to find (or create)...
Joe Strout's user avatar
0 votes
0 answers
41 views

New CentOS 7 user - have I installed an application

I have installed CentOS 7 linux system and tried to install anaconda python 3.6.0. I am totally new to GNOME and fairly new to Linux. I try to install python 3.6. I have downloaded a bash script, ...
Celdor's user avatar
  • 701
1 vote
1 answer
900 views

Gedit 2.3 plugins on Windows 7

I'm trying to install the Advanced Find plugin for Gedit 2.3 on Windows 7, but so far I haven't been able to. Since the directory for plugins is /home/username/.local/share/gedit/plugins for Linux, I ...
Kard Nails's user avatar
0 votes
0 answers
773 views

Compile and Install Gedit from Source on Ubuntu

It is pretty obvious what I need to do, but below are the details just in case. I want to install and configure Gedit's latest version into my Ubuntu 14.04 Trusty tahr along with installing it's ...
Vicky Dev's user avatar
  • 452
3 votes
3 answers
6k views

menu of gedit on Ubuntu 16.04

Where is the menu of gedit? It doesn't show up. Also, as you can see on this image the buttons are gone: There are only two buttons here (you can see the "open" button on the image and the "save" ...
user avatar
1 vote
1 answer
1k views

Opening encrypted pdfs in Ubuntu firefox

I am trying to open an encrypted pdf file in the ubuntu version of firefox. I am offered gedit as a default option, which doesn't work - i just get a stream of incomprehensible characters. I usually ...
TomRem's user avatar
  • 11
1 vote
0 answers
76 views

Different color scheme for monitor and printer with gedit

When I use gedit (the Ubuntu default text editor), I like to use a dark color scheme like Oblivion. A problem I'm facing however is that when the documented is printed the result is not very ...
willeM_ Van Onsem's user avatar
3 votes
1 answer
670 views

How to preserve the Extended File Attributes in linux?

I'm working on a project where i rely mostly on the file's extended attribute that i set when i create the file. But i'm facing problem while modifying the file. Solid Example: When i edit the file ...
iamprem's user avatar
  • 131
0 votes
1 answer
275 views

Editor with dictionary word completion [closed]

Is there an linux editor which can autocomplete words from a dictionary? I don't ask for autocompletion of already written words in a document (like gedit does). Also I am not looking for (personally ...
stackunderflow's user avatar
0 votes
2 answers
816 views

Ctrl+c is not working with gedit

When I use gedit command to try edit the a file and then pressing ctrl+c is not terminating the gedit and giving the following log gedit test.sh ^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^...
optimus prime's user avatar
1 vote
1 answer
853 views

Search Files in Folder in Gedit

I would like to search files in folder similarly as you can do in Textmate in OSX by pressing CTRL+Shift f. How can you search files in folder in Gedit?
Léo Léopold Hertz 준영's user avatar
3 votes
1 answer
34k views

sudo gedit Gtk-WARNING **: cannot open display:

I have a VPS on which I am attempting to install pure-FTPd via a root SSH account on a remote machine. I have already installed gedit and have gotten to the stage where I need to edit a config using ...
Hurricane Development's user avatar
1 vote
1 answer
1k views

Does gedit have a maximum column length and how to counter that?

very simple question: I am writing my data in a text file in the format(say): name val1 val2 val3 file1 20 33 44 file2 30 22 22 file3 20 12 12 Now I have about 100 values i.e. ...
user2869276's user avatar
0 votes
0 answers
451 views

Starting gedit from terminal produce error messages

When I start gedit from a terminal I get this output on the terminal: tomas@debian:~$ gedit (gedit:12617): Gtk-CRITICAL **: gtk_list_store_set_column_types: assertion `priv->columns_dirty == ...
Tompa's user avatar
  • 233
0 votes
1 answer
161 views

gedit - Home key, in indented text

Seems like a simple thing, but: Is there any way to convince gedit that pressing Home key on keyboard should go to the beginning of the text on an indented line, rather than to the 0th column? e.g....
OJW's user avatar
  • 2,287
0 votes
1 answer
376 views

when i try to acces the gedit as root user it shows the error like this

when i try to acces the gedit as root user it shows the error like this: root@localhost Downloads# gedit No protocol specified Cannot open display: Run 'gedit --help' to see a full list of available ...
Vishnu Harish's user avatar
1 vote
1 answer
134 views

Gedit gktsourceview3.0 rules - multiple optional suffixes

I'm trying to write a syntax highlighter rule for arm assembly to use in gedit. In arm, every command has some optional suffixes which make it execute conditionally. So obviously I want the command ...
w4etwetewtwet's user avatar
0 votes
0 answers
586 views

Fallback fonts in gedit or geany for Windows

On Linux I often use gedit and Geany, and love the interface of both. On Windows (8) however, non seem to support font fallback; that is, when I open a text file containing Chinese and Japanese ...
Clément's user avatar
  • 950
1 vote
0 answers
83 views

Missed scrolls in Gedit and nautilus

After I type anything in GEdit, it ignores the next 6 ticks of my scrollwheel in a direction. If I scroll 6 times up, it will then let me scroll up, but not down. To scroll down I will have to scroll ...
Avery3R's user avatar
  • 764
1 vote
1 answer
2k views

How to fix Gedit not showing files

I have Ubuntu 12.10, my Gedit suddenly stopped showing files on the file browser. It only shows folders. I can open any file on Gedit, but the file browser doesn't show the files on the current folder....
user avatar
0 votes
1 answer
3k views

Unable to save file with gedit

After upgrading to Fedora 18, I am no longer able to edit the files in my html folder using gedit. The files have the following permission: -rw-r-----. me apache unconfined_u:object_r:...
Question Overflow's user avatar
0 votes
1 answer
6k views

unable to open a file in gedit from the terminal when I login as root

When I try to open a file named tester.php from gedit by logging in as root, I see this : [root@Feddy htdocs]# gedit tester.php (gedit:4310): EggSMClient-WARNING **: Failed to connect to the session ...
Suhail Gupta's user avatar
  • 2,213
0 votes
1 answer
3k views

Why can't I open a certain file in gedit

I edited one of gedit's language files (syntax highlighting) and – to test the changes – changed the language of an open file to another one and then back. I did this a couple of times, ...
Dennis's user avatar
  • 49.7k
0 votes
2 answers
726 views

Gnome: How to open a very very large log file?

I've got a log file about 157Gb (Gnome). It's a very large file and nor gedit nor vim can open it. Alternatively I want only to see the last 20 lines and I can't back it up because of space storage ...
hartling's user avatar
1 vote
0 answers
1k views

Add terminal plugin to gedit on Windows

How can I use the embedded terminal feature, available for gedit on Linux, on Windows?
Alex Nye's user avatar
  • 862
4 votes
2 answers
2k views

Which command line text editor has the closest keybindings to Notepadd++, Gedit, or Kate (or any modern CUA style editor)?

I'm looking for a text editor that has an amazing common user access (CUA) mode (or can be configured to have it) that resembles closely modern editors like Notepad++, Gedit, Kate, Sublime, etc. I've ...
trusktr's user avatar
  • 1,644
0 votes
1 answer
266 views

gedit color HTML file

I have a file that I don't want to put .html in its name. However, I still want gedit to color it like an HTML file. Is there a way that I can tell gedit to color it as an HTML file? Like putting some ...
Mika H.'s user avatar
  • 1,849
1 vote
0 answers
667 views

Convert vim syntax highlighting for use with gedit

Is there an easy way to convert vim syntax highlighting definitions for use with GtkSourceView/gedit?
rphv's user avatar
  • 121
2 votes
1 answer
3k views

Config file for gedit to disable line wrap?

Is there a non-interactive way to disable line wrapping in gedit? i.e., a config file? I am teaching a class and would like to change the settings for the whole class globally. (follow-up to how ...
keflavich's user avatar
  • 413
1 vote
3 answers
888 views

How to move files and folders with Gedit?

Is there a plugin or something to be able to drag and drop files in the file browser? I thought gedit was gonna become my default "IDE" after throwing away Netbeans. But just now I found I can't copy/...
ChocoDeveloper's user avatar
2 votes
1 answer
626 views

How to make HTML snippets available when working with PHP?

This question is not only about HTML and PHP, there are some files which are written in more than one language. Let's take example of HTML; here you can do CSS and JavaScript stuffs in it. In Notepad+...
Sanjay's user avatar
  • 23
0 votes
1 answer
857 views

CSS Taglist for gedit 3.4

How do we install/integrate CSS tag list in ubuntu 12.04, so that we can get the info of tags in the gedit text-editor? Where to get the tags xml files from ? and where to place them ? Does anyone ...
mtk's user avatar
  • 1,157
2 votes
1 answer
373 views

Gedit ftp plugin won't connect

I'm using gEdit and I want to connect to an FTP server with the FTP Browser plugin. I filled in the connection details but when i click on the connect button it won't respond. I'm sure the FTP ...
Thijs Kooi's user avatar