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
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 ...
-1
votes
1
answer
21
views
Why can't i scroll to the bottom of a document in Gedit?
I'm not sure how to reproduce the problem, as it doesn't always happen. But, often times I'm scrolling down, either mouse scroll or dragging the scroll bar, and it won't go to the bottom of the ...
23
votes
4
answers
146k
views
"Set document metadata failed" when I run sudo gedit
I have upgraded 14.04 to 16.04 . Now I am trying to open the gedit from terminal by passing the command:
sudo gedit /some/where/file.txt
but it is throwing an error stating that:
(gedit:2090): ...
13
votes
2
answers
2k
views
How do I remove/ignore words from gedit's spell checker dictionary?
How do I remove/ignore words from gedit's spell checker dictionary?
0
votes
1
answer
139
views
Need location of gedit in Ubuntu 23.04 to add to Filezilla 3.63.0 filetype associations
I am trying to locate the gedit app in my newly installed Ubuntu 23.04.
In filezilla I am adding Filetype associations under File editing for various text file types such as txt, png, html and wish to ...
-1
votes
0
answers
31
views
i am not able to use gedit
I was have installed gedit but still getting this error
Unable to init server: Could not connect: Connection refused
(gedit:2809): Gtk-WARNING **: 01:57:30.232: cannot open display: :0
3
votes
2
answers
1k
views
Ubuntu 22.04 change scrollbar width
In Ubuntu 22.04 I have tried to edit the Yaru-blue theme gtk.css file to make the scrollbar wider.
I entered
sudo gnome-terminal
to open a second terminal as root. In that root terminal I entered
cd /...
0
votes
0
answers
49
views
gedit text editor is getting crashed after copying the same text multiple times at same time (copy paste)
gedit text editor is getting crashed after copying the same text multiple times at same time (copy paste), it shows scrambled text if I open the file after saving it and also it shows black screen ...
1
vote
1
answer
8k
views
Edit the /etc/sudoers file to provide permission to Jenkins
I need to edit the /etc/sudoers file using the command:
sudo gedit /etc/sudoers
and add the below:
jenkins ALL=(ALL) NOPASSWD: ALL
Post adding and trying to save I am getting the error:
(...
0
votes
0
answers
36
views
Aptitude file contents
I ran sudo gedit /etc/apt/apt.conf.d/00aptitude o access the aptitude file. I wasn't sure what it was at first and might have changed its contents unknowingly.
The first line was the only one there. I'...
0
votes
0
answers
78
views
Is it possible to use gedit on a remote file with root permissions?
As titled, I'd like to open (and edit) remote text files with root permissions using the local text editor (gedit)
I know about nautilus-admin, but it doesn't seem to work, unfortunately
0
votes
2
answers
616
views
Ubuntu 18.10, Gedit 3.30.1 disappeared from apps menu
Upon upgrading from Ubuntu 18.04 to Ubuntu 18.10 something happened to Gedit:
Its icon disappeared from my favorites (the only one doing so)
It doesn't appear anymore on the apps grid
Though it's ...
37
votes
5
answers
31k
views
How to stop gedit (and other programs) from outputting GTK warnings and the like in my terminal?
I am running the awesome window manager on trusty after having upgraded from raring. My desktop environment intentionally does not have all the Gnome / Freedesktop daemons running — I don't want them.
...
0
votes
0
answers
43
views
How can I force gedit 44.2 to open file in the UTF-8 encoding?
I'm on Ubuntu 23.10 using gedit 44.2. I opened a file named METADATA, and it displayed like this:
However, if I open it with another file editor, I see these contents:
Metadata-Version: 2.1
Name: ...
0
votes
0
answers
143
views
Process was killed by singal 11 (SIGSESV)
Sorry, I'm new to Ubuntu so the question may be a little bit rude.
My question is that when I connect to Ubuntu it will show some problem.
it says that process was killed by signal 11 (SIGSEGV)
enter ...
1
vote
2
answers
10k
views
unresponsive gedit
I was running gedit from the command window for editing an xml file.
After editing the file, I closed the gedit text editor window.
But the gedit process was till running in the command window.
So I ...
3
votes
2
answers
1k
views
Why did launching gedit suddenly get slow?
setup:
ubuntu 20.04.3, updated daily
background:
For years, I have launched gedit from the terminal. Frequently. Without issue.
problem:
As of a few weeks ago, on a laptop and two desktops of varying ...
0
votes
0
answers
186
views
Ubuntu 20.04 shutdown abnormally, gedit meets ../libgobject-2.0.so.0, undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0
Ubuntu 20.04 was shut down abnormally due to the battery dying out. After restarting the system, I wanted to use gedit in the terminal but met
gedit: symbol lookup error: /lib/x86_64-linux-gnu/...
1
vote
2
answers
983
views
Error when trying to open gedit
I got a error when opening gedit. It is weird. I don't know how to fix it.
I tried:
sudo apt update && sudo apt install --reinstall gedit
But, still getting the same error:
Is there are any ...
2
votes
1
answer
727
views
Ubuntu 22.04 Save as dialog box not showing
I recently installed Ubuntu 22.04 LTS on my old macbok pro (mid 2010). The issue is I cant save changes made to any file, whether its a text document or pdf downloaded from the internet. On editing a ...
3
votes
0
answers
14
views
How can the cursor location bar graphic in, eg Gedit, be made wider than one pixel?
This question was asked before but not answered correctly, as the answer unhelpfully said to use overwrite mode to get a bigger cursor. Is there not a way to adjust the cursor in insert mode to ...
6
votes
2
answers
290
views
Gedit text editor bottom panel's purpose
I'm using Gedit and decided to explore its full functionality. There's a bottom panel available in Gedit that is normally hidden. When I pull it into view, it's empty. I'm wondering what it's for and ...
0
votes
0
answers
25
views
Ubuntu Studio updated and now my mouse buttons don't work
I was trying Linux for the first time in 2021 (dual boot on two hard drives), found Ubuntu Studio, which seemed perfect for my music and graphics work. I never had the computer online until just ...
1
vote
0
answers
28
views
gedit bookmarks not saved
Problem:
Press Ctrl + Alt + B to mark a bookmark (bookmark gets highlighted in green, and with an icon in the left margin)
Close the file, or gedit
Re-open the file, or gedit
RESULT: the bookmark is ...
5
votes
7
answers
11k
views
How do I encrypt/decrypt files within gedit?
In the previous version of Ubuntu (eg: maverick, natty), I used to do a:
sudo apt-get install gedit-plugins seahorse
to have the ability to encrypt/decrypt file within Gedit after enabling the plugin ...
7
votes
2
answers
13k
views
How to change the gedit “Highlight current line”color?
I'm using Ubuntu 14.10-gnome3.14. Here is the question. when I check the "highlight current line" check-box on the gedit, it highlight the current line, but the color is pure white I can barely see ...
0
votes
1
answer
141
views
Unknown gedit fstab failure
Recently I entered;
sudo gedit /etc/fstab
In responce I got,
(gedit:66385): dconf-WARNING **: 22:49:56.775: failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such ...
3
votes
2
answers
11k
views
How to remove dconf-WARNING when running gedit over SSH?
I have a remote machine running on Ubuntu 18.04 with gedit installed. Every time I want to edit a text file with gedit, I got this annoying warning message:
> gedit myfile.txt
(gedit:27544): ...
8
votes
1
answer
5k
views
Increase or View all Stored History in Gedit
I would like to be able to see the last ~200 files opened in Gedit. I was able to increase the number it shows to 40 using this command:
gconftool-2 --type int --set /apps/gedit-2/preferences/ui/...
11
votes
6
answers
10k
views
Remember what files are opened in a session of gedit
Is it possible to remember what files are opened in a session of gedit, by gedit itself or its plug-ins, just similar to what the session manager of Firefox does?
So that next time restarting gedit, ...
0
votes
0
answers
29
views
Related to Errors in Terminal in Ubuntu 23.04 in my VirtualBox
** (gedit 2896): WARNING **; 20:08:20.343: Set document metadata failed: Setting attribute metadata :: gedit-spell-language not supported
** (gedit 2896): WARNING **; 20:08:20.344: Set document ...
0
votes
1
answer
186
views
No permission to edit config files
I have a problem with editing config files. E.g. in the opt/ folder. I understand that I need to do this as root. But even with
sudo gedit path/filename
it doesn’t work (see screenshot).
With sudoedit ...
3
votes
1
answer
187
views
How to see the length of selected text in gedit?
How can I see the length of selected text in gedit like this example image?
I'm using Ubuntu 22.04.
50
votes
3
answers
239k
views
Getting the default text editor used in system
I have used select-editor and I note that I am using /usr/bin/nano. Is this the default text editor I am using?
When I open text files, It opens with gedit
What command in terminal must be specified ...
48
votes
3
answers
11k
views
Selected line's contents aren't readable in GEdit while using dark theme on Ubuntu 20.04
I am unable to see what I type in the Gedit editor using dark theme.
This is due to the default setting of highlighting the current line.
1
vote
1
answer
70
views
What regex flavor does gedit support?
On Ubuntu 20.04, my version of gedit 3.36.2 came with a regex checkbox for Find and Replace out of the box without installing any plugins. Which regex flavor is used?
0
votes
1
answer
204
views
Help configure `mimeapps.list` to open gedit instead of gnome-text-editor?
On Ubuntu 23.04, I have installed Gedit alongside the default Text Editor (gnome-text-editor).
I want to keep gnome-text-editor, but I would like most text files to open in gedit.
I have added the ...
1
vote
2
answers
104
views
How do I use the keyboard to "Open a recently used file" in Gedit?
I want to open a recently used file in Gedit using the keyboard. How do I do that?
The best workaround I've found is to press Ctrl+Shift+Tab a few times to scroll through the buttons, but that's a ...
0
votes
0
answers
32
views
How to change size of replace dialog box of pluma text editor
I am using Ubuntu 20.04 Mate LTS (and I know there is a newer version).
The size of the replace dialog of the Pluma (v. 1.24.0) editor seems to be fixed. I'd like to enlarge it so that I can see ...
1
vote
3
answers
5k
views
how to run python in gedit?
I wrote python code in gedit.
As we know there is an internal python console in gedit, how can I run my python code there instead of running it in terminal.
59
votes
11
answers
70k
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 ...
8
votes
2
answers
2k
views
Is there a keyboard shortcut to duplicate a line in gedit?
Is there a way to duplicate current line in gedit using a keyboard shortcut?
OS: Ubuntu 20.04.1 LTS
gedit version: 3.36.2
1
vote
0
answers
34
views
Ubuntu/opt directory permission denied issue [duplicate]
Ubuntu Newbie here!
I am currently trying to install OpenFoam 10 in my machine, and need to edit the bashrc file located in Ubuntu/opt/openfoam/etc. Anytime I try to manually open the file and edit it ...
1
vote
1
answer
419
views
I am facing a problem with gedit. When i want to save a file then some warnings are displayed
This is not a problem but it is bothering very much.So how to off this warnings like
Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
Set document metadata ...
4
votes
2
answers
20k
views
Gedit not working even though it's installed in Ubuntu 14.10
When I type gedit in my terminal, I get:
daniel@daniel-pc:~$ gedit
The program 'gedit' is currently not installed. You can install it by typing:
sudo apt-get install gedit
So I do that:
daniel@...
0
votes
1
answer
134
views
Unable to open a text file created by exiftool: There was a problem opening the file; the file you opened has some invalid characters
I am facing this error when opening a text file in gedit on Ubuntu 22.04:
The file was created as a redirection of the exiftool (12.57) command line for extracting metadata from a bunch of 100'000 ...
0
votes
1
answer
837
views
Metadata failed setting attribute
When I run command gedit for any purpose for example gedit Mac.sh it shows a warning or message that set documents metadata failed setting attribute metadata.
Please provide me a solution on this in ...
3
votes
4
answers
4k
views
How to clean gedit's and other editor's find&replace history?
I have started working on a new project using gedit on ubuntu 12.04. The problem i am facing now is that, all previously searched terms are still there when i click on the drop down arrow in search ...
20
votes
10
answers
49k
views
True column-mode (block-selection and editing) text editor solution?
In windows, I used to use a text editor called crimson editor which featured the best column-mode editing support I have yet to use.
When enabled via a simple Alt-C shortcut, selections could be made ...
33
votes
6
answers
21k
views
Custom keyboard shortcuts in gedit
Since I spend a lot of time on my laptop, I've gotten used to using keyboard shortcuts for everything. I want to be able to switch from tab to tab of opened documents in gedit by pressing Ctrl+Tab ...