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
-1
votes
1answer
30 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....
0
votes
1answer
12 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 ...
0
votes
0answers
14 views

Tab size=3 for lisp and tabsize=4 for c in gedit

Is is posible to set the tab size to certain value depending on the language? For example use 4 spaces for .c files and 3 spaces for .lisp files. Or also something like gedit --tabsize=3 demo.lisp (...
0
votes
0answers
33 views

Gedit fails detecting UTF-8 charset

I have a text file in UTF-8 encoding that I try to open in Gedit (version 3.28.1, from Ubuntu 18.04). For some reason, Gedit thinks that the file is in Shift-JIS instead of UTF-8, so a lot of ...
0
votes
2answers
54 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 ...
0
votes
0answers
100 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 ...
1
vote
0answers
33 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. ...
3
votes
1answer
386 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 ...
0
votes
1answer
142 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 ...
1
vote
1answer
114 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 ...
0
votes
1answer
442 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 ...
1
vote
1answer
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 ...
1
vote
1answer
277 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.
2
votes
2answers
3k 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 ...
0
votes
1answer
79 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?
0
votes
1answer
890 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)...
0
votes
0answers
38 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, ...
1
vote
1answer
831 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 ...
0
votes
0answers
641 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 ...
3
votes
3answers
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" ...
1
vote
1answer
866 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 ...
1
vote
0answers
61 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 ...
2
votes
1answer
330 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 ...
0
votes
1answer
218 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 ...
0
votes
2answers
568 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^...
1
vote
1answer
503 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?
2
votes
1answer
23k 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 ...
1
vote
1answer
838 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. ...
0
votes
0answers
360 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 == ...
0
votes
1answer
148 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....
0
votes
1answer
356 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 ...
1
vote
1answer
129 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 ...
0
votes
0answers
517 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 ...
1
vote
0answers
76 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 ...
1
vote
1answer
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....
0
votes
1answer
2k 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:...
0
votes
1answer
5k 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 ...
0
votes
1answer
2k 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, ...
0
votes
2answers
262 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 ...
1
vote
0answers
945 views

Add terminal plugin to gedit on Windows

How can I use the embedded terminal feature, available for gedit on Linux, on Windows?
4
votes
2answers
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 ...
0
votes
2answers
212 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 ...
1
vote
0answers
593 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?
1
vote
1answer
2k 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 ...
0
votes
3answers
723 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/...
2
votes
1answer
425 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+...
0
votes
1answer
794 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 ...
2
votes
1answer
354 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 ...
2
votes
2answers
781 views

gedit flashes and exit automatically when opening a file

Environment:Ubuntu 11.10 gedit 3.2.3 When I open a specific .php file with gedit, it will appear in a flash and disappear immediately. I searched the web and found one way to get around this - use ...
0
votes
2answers
3k views

Change language colors/syntax highlighting in gedit

When a javascript file is open in gedit, I want comments to be green instead of the default blue. How do I change the colors?