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
937 questions
0
votes
3
answers
97
views
Ubuntu 24.10, sudo: gedit: command not found
I am attempting to follow instructions for editing /etc/fstab at https://help.ubuntu.com/community/Partitioning/Home/Moving.
I get the following error message:
steven@steven-Vostro-7620:~$ sudo cp /...
0
votes
0
answers
22
views
gedit opening on linux box instead of in X server over SSH [duplicate]
I am connecting to an Ubuntu 22.04 machine using PuTTy and Xming from a windows 11 laptop. When I try to open gedit, the window does open, but it opens on the linux box and not over the SSH. All other ...
1
vote
1
answer
33
views
Start open dialog in gedit in directory of currently open file
Recently I upgraded to Ubuntu 24.04.1. I use gedit as all-purpose text and programming editor. In previous versions, when pressing the Open button, the file picker would start in the directory of the ...
0
votes
0
answers
44
views
sudo gedit showing an odd highlighting in Ubuntu 24.04
I just noticed a highlighting issue when a file is opened with sudo gedit, but it seems ok with gedit.
With sudo gedit:
With gedit:
Why is it happening? How can I fix it?
-7
votes
1
answer
241
views
How do I share my custom snippets with others in JupyterLab version 4.0 on Ubuntu 24.04 LTS?
Do you find yourself typing in the same code blocks over and over again? Are you tired of clicking through tabs online for starter code or browsing old notebook files to find the right import ...
0
votes
0
answers
44
views
Getting GTK error while closing gedit opened from Terminal
I recently dual booted my Lenovo e15 gen 2 laptop. I am using ubuntu 24.04 lts version.
First I tried gedit command ie
gedit test.text
Unknown command gedit so I tried sudo apt install gedit
While ...
1
vote
1
answer
138
views
Facing issue with the "sudo gedit" command on Ubuntu 22.04
I am always getting this crash window when I am using the sudo gedit command:
I wanted to edit the waffle.yaml file for a ROS2 project.
I am facing the same issue for any other file which I am ...
0
votes
0
answers
17
views
How can I access my root directory to save file in ```/etc/environment/``` [duplicate]
while setting up java-jkd-22,
I write the code sudo gedit /etc/environment/ in terminal,
after authentication,
I am getting this message
Authorization required, but no authorization protocol specified
...
3
votes
2
answers
243
views
gedit ignoring gtksourceview syntax language after updating to 24.04
After updating to 24.04 I no longer had the fish shell syntax highlighting on gedit.
The syntax file is both in /usr/share/gtksourceview-5/language-specs/fish.lang and in /usr/share/gtksourceview-4/...
2
votes
1
answer
727
views
Scrolling and typing lag with a 1-2 second delay
I have never had any serious problems with great Linux Ubuntu Operating System.
It's just that recently, after a fresh install of Linux Ubuntu 22.04, I stumbled upon this lag problem. I didn't have ...
1
vote
0
answers
51
views
Open gedit in VNC session but pop up on Local Computer
In VNC session, I'm trying to run/open gedit in terminal but gedit is not pop up, the gedit is showing in real local desktop. Does anyone know how to make the gedit showing in my VNC session instead ...
0
votes
1
answer
171
views
How to make gedit open files in a new window instead of a new tab?
When I open a file in gedit and there is another gedit window opened, then the file is opened in a new tab in the already existing gedit instance instead of in a new gedit window. This can be very ...
0
votes
1
answer
153
views
Why can't i scroll to the bottom of a document in Gedit?
It seems this issue happens any time I open a text file from the file manager or desktop, if gedit opens into a maximized state. When I'm scrolling down, either mouse scroll or dragging the scroll bar,...
0
votes
0
answers
48
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
64
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 ...
0
votes
0
answers
103
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
0
answers
161
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
371
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 ...
0
votes
0
answers
617
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/...
4
votes
0
answers
30
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 ...
0
votes
0
answers
39
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
44
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 ...
6
votes
2
answers
520
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
1
answer
252
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 ...
0
votes
0
answers
34
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
459
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 ...
0
votes
1
answer
236
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 ...
3
votes
1
answer
534
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.
1
vote
1
answer
123
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
492
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
231
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
44
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
0
answers
37
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
748
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 ...
0
votes
1
answer
171
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 ...
4
votes
2
answers
2k
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
2
answers
578
views
Cannot edit update-manager-core even after having sudo permissions. Need it essentially in order to upgrade from Ubuntu 22.04.1 to 22.10!
/etc/update-manager/release-upgrades
I have to upgrade Ubuntu 22.04.1 to 22.10. I'm following steps to do that from this website. Step-4 of the procedure to be followed asks to edit update-manager-...
0
votes
0
answers
67
views
Gtk-WARNING when running Gedit in WSL [duplicate]
I am getting this error whenever I try to open Gedit on WSL on Ubuntu terminal:
(gedit:3271): Gtk-WARNING **: 00:10:01.110: cannot open display:
Please suggest a fix to it.
Thank you.
0
votes
1
answer
17k
views
gedit error - "Unable to init server: Could not connect: Connection refused"
when I type gedit ~/.bashrc
I get this error:
Unable to init server: Could not connect: Connection refused
(gedit:204): Gtk-WARNING **: 22:03:28.442: cannot open display
can anyone tell me what the ...
5
votes
4
answers
3k
views
What is the recommended way to use a GUI editor to view system files?
Gnome enforces barriers to viewing files requiring root privileges. Trying to open /var/log/boot.log file with gedit fails, with no visible option to perform this action as root from the GUI file ...
3
votes
1
answer
1k
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 ...
1
vote
1
answer
132
views
gedit will not open a new tab for when opening a second document and onwards
I am puzzled by the behaviour of gedit. I have three different machines and while in two of them I have the desired results (after opening a document with gedit the next ones are opened in tabs), in ...
1
vote
0
answers
78
views
Text Editor's menu not fully visible
On Ubuntu 20.04.4 LTS with GNOME 3.36.8 I just noticed that the default (Gnome) text editor gedit 3.36.2 cannot display it's menu when the menu is higher than the window.
Screenshot
(It seems adding ...
0
votes
0
answers
56
views
gedit can notdisplay for no reason
Always been like that, even sudo added.
My tutor force me to use gedit, can anyone help me?
Besides, the display is empty, I don't know why, maybe is path wrong.
I don't know how to set a path for ...
1
vote
0
answers
335
views
Editing hosts file to block sites isn't working for 4chan, how do I fix it?
I have blocked quite a few sites by editing the hosts file but have just discovered that this method doesn't seem to be working for 4chan.
The method I'm using is sudo -i gedit /etc/hosts and then of ...
0
votes
1
answer
217
views
Tab indenting looks weird in gedit in Ubuntu 20.04
I have been working in a collaborative project with version control via GitHub. As much as we try to set standards for indentation, one problem still persists.
We use tabs (real tabs, not spaces) for ...
0
votes
1
answer
366
views
Can I give gedit (v 41.0) "preferred" themes to select when it responds to a change in Ubuntu's (v 22.04 LTS) dark/light mode?
Context:
When I select "Dark" or "Light" in Ubuntu's Settings > Appearance > Style, gedit detects this change and switches its internal them to Yaru Dark or Yaru Light ...
0
votes
1
answer
172
views
How to highlight every other line at gedit? (or better way to view log files)
I wonder if there's a quicker and more clear way to check log files at gedit. At least if it's possible to highlight lines alternatively.
1
vote
1
answer
846
views
How to zoom in and out of text in Pluma?
I am using newest version of Ubuntu mate (22.04 - Jammy jelly-fish), where the text editor is 'Pluma'.
Earlier, when I was in mint, I used to press 'Ctrl + scroll' for zooming in and out for changing ...
1
vote
1
answer
429
views
How to keep a custom Gedit Colour Scheme having chosen a general Light/Dark Style in the Appearance Settings tab of 22.04 (Gnome)
Having installed a clean 22.04 on disk, and applying a Dark Style Appearance...
I imported a custom Gedit XML style-scheme file (backed up from ~/.local/share/gedit/styles) into Gedit (41.0) via:
...