Questions tagged [gedit]
gedit is a text editor for the GNOME desktop environment, not to be confused with GNOME Text Editor (gnome-text-editor) released with GNOME 42
927
questions
0
votes
1
answer
399
views
How to search or append a word in text file using gedit and terminal commands only
I have to calculate the time consumed in search and append operation in gedit text editor. I know that I can calculate time in any command operation by using prefix time in that command like time ls ...
1
vote
2
answers
457
views
Location of the created using gedit
I have installed Ubuntu app on Windows 10 and also installed gedit. After I create a file using gedit, I want to access it through the File Explorer. Where can I find it?
0
votes
0
answers
377
views
gedit and gpg: just want to protect my text file
i've been writing into a text file, using gedit.
today i decided it will be a good idea to password protect it.
i've searched quite a bit on google, and finally came up with this
solution, which ...
1
vote
2
answers
917
views
gedit open second file onwards in a new window. Ubuntu 19.10
In Ubuntu 18.04 when I open a second text file, it opens in a new window out of the box.
In Ubuntu 19.10 when I open a second text file, it opens in the existing window with new tab.
I have tried ...
1
vote
2
answers
4k
views
How to open a text file in current working directory with `gedit admin://`?
The following terminal command will open the text file ubuntu.css from any location of a file structure:
$ gedit admin:///usr/share/gnome-shell/theme/ubuntu.css
However, if I am already in directory ...
1
vote
1
answer
2k
views
Gedit bash highlight
When I edit bash script(first line is #!/bin/bash) in GEdit, there is no highlighting. But with View->Highlight Mode, there is no result when searching "bash" or "script", which to choose?
3
votes
1
answer
937
views
Changing keyboard shortcuts in gedit
There's no way to change the shortcuts from the GUI or with a plugin, which is odd because there are ways to tweak far less important features. Every similar question about this topic is from years ...
2
votes
2
answers
4k
views
Invalid Characters trying to open text file created in notepad with Gedit
Related question - except I'm moving from Windows to Ubuntu (don't need Windows notepad)
I am trying to open a text file using gedit/Ubuntu 16.04 that was created in Windows using the apparently ...
0
votes
0
answers
516
views
gedit: Clipboard content gets pasted into text being edited without user warning
gedit is pasting some content (possibly clip board) into text being edited without warning me. And this happens when I am editing source code (*.f90 files) making it very dangerous.
This used to ...
3
votes
1
answer
435
views
How to revert classic GNOME decorations for gedit, nautilus etc?
I upgraded from Ubuntu 16.04 LTS (with gnome-flashback-metacity) to 18.04 LTS.
I'm not very happy about the new design of window framework (see below).
Is it possible to revert it back to normal?
2
votes
1
answer
3k
views
markdown preview in gedit
I've found a plugin to preview markdown in gedit. But I am not sure if it is backdated. Is there any other better option for previewing markdown in gedit?
0
votes
0
answers
37
views
Problem in installation of gedit in Ubuntu18.04 LTS on Windows 10 [duplicate]
I downloaded Ubuntu from the Microsoft Store and I have installed it.
I tried downloading gedit using
$ sudo apt install gedit
I got this problem:
How do I resolve this problem?
EDIT: Attempts to ...
8
votes
2
answers
2k
views
gedit: is there a keyboard shortcut in gedit itself to insert date and time?
Note: I'm interested in knowing if there's a shortcut native to gedit itself. I'm not interested in solutions involving Autokey, etc.
In gedit 3.28.1 (Ubuntu 18.04) and 3.30.0 (Ubuntu 19.04), if I ...
2
votes
2
answers
256
views
gedit code to embed current date within the file
Does the gedit editor have a code to automatically embed the current date when I save a file?
I don't always remember to edit my "last updated" comment in the file.
1
vote
0
answers
50
views
Path completion for gEdit
Is there any gedit plugin for path completion?
or there is already implemented without any need to install completion?
2
votes
1
answer
294
views
How do I spellcheck Arabic in Gedit?
How can I spellcheck text files that contain Arabic text? The answer in
Adding languages to gedit spellchecker recommends installing a myspell dictionary, but no such dictionary seems to exist for ...
1
vote
1
answer
163
views
GEdit - Python Console plugin not retaining color settings
I was just fiddling around with GEdit and came across the Python Console in plugins section of it.
It would have been quite useful to do quick calculations while taking notes as I sometimes have to ...
10
votes
2
answers
2k
views
Can there ever be any problem when using gedit to edit system files with 'sudo -H gedit'?
I am relatively new to Ubuntu, I noticed that in answers on this site, when people suggest editing system files, the command they give is always sudo nano or sudo vi.
Because I dislike using terminal ...
5
votes
0
answers
89
views
Can I make Gedit not ask to save a blank file?
If you type something in Gedit then erase it and try to close Gedit, it will ask if you want to save the file, even though it's blank. Is there a way to avoid this? Notepad++ and Atom for example do ...
-1
votes
1
answer
1k
views
How to edit a file that has a space in its name? [duplicate]
I'm on Ubuntu 18.04. If I go into my home directory and right-click and select "new document" and then "empty document", a new file appears called "Untitled Document". Now I want to edit what's in ...
2
votes
1
answer
333
views
gedit – Location on disk of profiles' settings
I created two new profiles in Text Editor (gedit) with custom colors. I'd like to backup those settings.
There is nothing related to profiles, for example, in ~/.config/gedit/ or ~/.local/share/gedit/...
2
votes
1
answer
2k
views
Is there a way to change gedit encoding from UI?
I have a txt file that came to me from windows
Gedit can't read it properly (cyrillic became garbage)
So far I haven't found a way to make gedit read it by changing something from UI
Gedit itself has ...
0
votes
1
answer
945
views
How to actually overwrite when pasting from clipboard in overwrite mode
When I'm in Overwrite Mode in Sublime Text 3/gedit, normal keystrokes overwrite characters underneath the cursor.
I expected that pasting from the clipboard would similarly replace characters, but ...
2
votes
1
answer
4k
views
Can't edit files with Gedit while other text editors do
Basically what the title says. Apparently, gedit does not have any permission to write even on basic text files which have all the permissions needed. In fact, other IDES/text editors (such as Atom or ...
3
votes
2
answers
10k
views
Gtk-warning cannot open display Windows Ubuntu
As a classroom for learning Unix/Linux, I'm using Microsoft's Ubuntu App in Windows 10. I want to run:
gedit somefile.txt
But I get the following:
Failed to connect to Mir: Failed to connect to ...
3
votes
0
answers
4k
views
Ubuntu Gedit Text editor missing "undo last action" and "re do last action" arrows
I used to have Ubuntu Gedit text editor Version 3.10.4,
with a very nice toolbar, with
one icon with the shape of an arrow, dedicated to the
"un-do last change" and
one icon with the shape of an ...
10
votes
1
answer
12k
views
GEdit multi-line edit on Ubuntu 18.04
The multi-line edit mode in GEdit is not working on Ubuntu 18.04. It can be activated with the combination Ctrl+Shift+C, but presently it has no consequence. The basic sanity check shows the plug-in ...
1
vote
0
answers
132
views
Would uninstalling Gedit be detrimental? (18.10)
I, after installing the MATE and Cinnamon desktops to my system, got Pluma recently, which is working far faster and easier for me on this computer. My question is simple; would uninstalling Gedit be ...
0
votes
1
answer
205
views
Gedit taking 20 seconds to start up on i3
I have installed i3 on my Ubuntu machine. Whenever I try to launch gedit, from command line or dmenu, there is a delay of precisely 20 seconds before it starts. During this time, it consumes no CPU so ...
0
votes
2
answers
573
views
How to find /usr/bin/gedit? [duplicate]
I can open gedit using the terminal but I want to be able to open the folder that has gedit, how?
0
votes
1
answer
9k
views
Can't use gedit on Ubuntu App for Windows
My story is:
I download Ubuntu App for Windows to use the Fenics Library, as fenicsproject.org tells.
I installed Fenics Library.
Now i would to create a file to write my code, but when run:
gedit ...
4
votes
1
answer
2k
views
My text editor has the display problem, How to fix it?
My text editor has the display problem.
How to fix?
3
votes
1
answer
200
views
How can I go to the previous edited location on gedit?
I am trying to go to the previous edited location on gedit. I have installed the following plugin by moving files to the ~/.local/share/gedit/plugins but the plugin has the following sign on the menu:
...
1
vote
0
answers
40
views
Can gedit split view to compare code like Notepad? [duplicate]
I have written two file.m, I want to compare it, in Notepad, I can use a split view in the same window.
16
votes
1
answer
18k
views
How to select a column or block of text in gedit 3.28.1?
Is it possible to select a column or block of text in Gedit 3.28.1?
The following image is with Kate 17.12.3 but shows what I want:
0
votes
2
answers
14k
views
(gedit:76): Gtk-WARNING
When I type gedit filename.c:
Unable to init server: Could not connect: Connection refused
(gedit:76): Gtk-WARNING **: 17:57:16.278: cannot open display:
This is the error is displayed
and those ...
1
vote
0
answers
526
views
Ubuntu 18.04 how Gedit does Auto Indent / Auto Format my HTML document?
I have been looking for how to auto indent / auto format my HTML document using Gedit.
I have just installed Ubuntu 18.04 and Gedit with a BLACK color scheme. Love Ubuntu! Love black color scheme.
My ...
5
votes
1
answer
1k
views
No gedit Text Size Plugin in Ubuntu 18.04
In Ubuntu 16.04, I could open Gedit and go Preferences -> Plugins and then check the box for the Text-Size plugin, but that Plugin no longer appears in the list for the version that runs in Ubuntu 18....
0
votes
1
answer
3k
views
gedit is crashing again and again
I am using ubuntu mate 18.04 and I installed gedit in it alongside pluma (mate default text editor) so I can manage my text notes with gedit. I was also using this setup in ubuntu 16.04, ubuntu mate ...
2
votes
0
answers
192
views
gedit - open files in new tabs
Is there any method to force gedit to open files in new tabs in the same window instead of a new window for each file opened?
I am currently using gedit 3.28.1 on Ubuntu 18.04.
0
votes
1
answer
1k
views
How to view ".ppk" files with gedit
When I open .ppk or .pub files (in my ~/.ssh directory), I'm unable to view the data. All I see are boxes as shown below. How do I fix this?
0
votes
1
answer
346
views
gedit external tools cannot locate latexmk
I am using following in gedit external tools
#!/bin/sh
file=${GEDIT_CURRENT_DOCUMENT_NAME%}
filename="${file%.*}"
ext=${file##*.}
latexmk $filename; xdg-open $filename.pdf
Wheni run the command, i ...
1
vote
0
answers
335
views
18.04: Bracket match not found in .bashrc with Gedit or Mousepad?
OS: Ubuntu 18.04 or Kubuntu 18.04.
I have Gedit 3.28.1 on both systems. While looking at .bashrc or /etc/skel/.bashrc, I found an instance of "bracket match not found" as shown in the image below in ...
0
votes
1
answer
255
views
Attempt to Save As greys out window
I'm new to Ubuntu, so any help will be appreciated.
When editing a file in Gedit, I can't save it to a different file name. Keying Ctrl-Shift-S causes the window to be greyed out. Same thing if I ...
2
votes
1
answer
132
views
Prevent gedit from graying out when not in focus, in 18.04
I'm migrating from ubuntu 16.04 to 18.04 and I'm finding this extremely annoying: when gedit is not selected, its text grays out from full black to a paler shade.
Is there some way to stop this ...
0
votes
0
answers
229
views
Open gedit from command-line with custom Theme and forced Highlight Mode
I need open some txt files with different themes and syntax highlights using gedit command in Ubuntu 18.04. With this, a clean startup of gedit would remain with the standard theme.
Something like in ...
3
votes
1
answer
87
views
Default Action for Cancel-Dialog in Gedit nearly not visible
I am getting older and my eyes see worse.
If I close gedit, I can hardly see the default action which is "Save as..."
Is there a way to make default actions (in all applications) more visible?
1
vote
0
answers
773
views
Can't find dkms.conf file when installing wifi driver rtl8812au
I am an old newbie who has got tired of Windows and migrated to Linux - Ubuntu 18.04 LTS. I am trying to install a wifi driver for Netgear A6100. I have found a package for rlt88au but when installing ...
5
votes
1
answer
2k
views
How can I prevent line wrapping and instead allow horizontal scrolling in Gedit?
I am writing long lines of data to a text file using Python. But when I open the text file using gedit, I don't find that the lines that I wrote are displayed into one line each (i.e every line from ...
5
votes
1
answer
851
views
How do I increase padding in Gedit?
I would like to add some padding in the editing area in Gedit.
Here is an illustration of the desired result:
I have the intuition it should be easy to do with a trick similar to this one I already ...