Questions tagged [gedit]
gedit is a lightweight editing tool for the GNOME desktop found in many distributions of Linux, BSD and other Unix systems.
105
questions
0
votes
1
answer
24
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 ...
0
votes
0
answers
16
views
Gnome Gedit does not use separate color to highlight operators
I'd like to highlight operators (like + - : ; = < > !) using separate color. According to "https://github.com/GNOME/gtksourceview/blob/master/data/language-specs/def.lang" they fall ...
0
votes
0
answers
18
views
GEDIT malfunctioning
All of the previous python codes I entered into GEDIT have been producing output on the VMware Kali Linux terminal, but the new codes I entered into GEDIT since yesterday haven't been producing output....
2
votes
1
answer
102
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.
0
votes
0
answers
207
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 ...
0
votes
0
answers
45
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 ...
-1
votes
3
answers
9k
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....
1
vote
1
answer
196
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
2
answers
349
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
0
answers
241
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
0
answers
71
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
1
answer
832
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
1
answer
254
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
1
answer
299
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
1
answer
574
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
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 ...
1
vote
1
answer
319
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.
3
votes
2
answers
4k
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
1
answer
106
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
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)...
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, ...
1
vote
1
answer
891
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
0
answers
725
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
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" ...
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 ...
1
vote
0
answers
74
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 ...
3
votes
1
answer
538
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
1
answer
264
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
2
answers
746
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
1
answer
757
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?
3
votes
1
answer
32k
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
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. ...
0
votes
0
answers
432
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
1
answer
155
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
1
answer
366
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
1
answer
133
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
0
answers
563
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
0
answers
81
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
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....
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:...
0
votes
1
answer
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
1
answer
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
2
answers
579
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
0
answers
987
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
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 ...
0
votes
2
answers
245
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
0
answers
640
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?
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 ...
1
vote
3
answers
853
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
1
answer
559
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+...