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
933
questions
-2
votes
0
answers
118
views
+50
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
30
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
67
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
...
1
vote
0
answers
87
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
445
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
42
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
116
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
111
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
45
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
58
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
96
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
111
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
291
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
494
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
24
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
31
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
39
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
443
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
224
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
404
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
201
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
388
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
100
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
365
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
175
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
41
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
651
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
158
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
527
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
62
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
16k
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
990
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
127
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
69
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
51
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
313
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
198
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
351
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
164
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
765
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
410
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:
...
0
votes
1
answer
147
views
Latex Compilation from Gedit External Tools Using $HOME folder based Texlive
I relocated /usr/local/texlive(2020) to $HOME folder and renamed "/usr/share/texlive" to disable its effects.
The latex file gets compiled successfully from command prompt but not from "...
0
votes
2
answers
90
views
Not using > makes all the difference in opening gedit through terminal w/o errors or locking the terminal
I have been experimenting with using terminal to open gedit with any type of file it is capable of using and not having the terminal blocked until the file is closed OR have any error messages in the ...
0
votes
0
answers
378
views
Is it possible to assign font styles and colors to Gedit and Gnome Terminal through the system's GTK theme?
I have Gnome Tweaks installed on Ubuntu, and I was curious if it is possible to assign font colors and styles to Gedit and Terminal through the system theme to create a more unified look.
As I ...
0
votes
1
answer
956
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 ...