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
-1
votes
1
answer
17
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 ...
-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
0
votes
0
answers
35
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
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 ...
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
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 ...
0
votes
0
answers
185
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/...
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 ...
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 ...
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
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 ...
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
184
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
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 ...
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.
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
203
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
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
418
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
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 ...
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
2
answers
245
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
53
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
12k
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 ...
4
votes
4
answers
2k
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 ...
2
votes
1
answer
726
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
113
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
58
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
45
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
260
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
150
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
258
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
145
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
614
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 ...
0
votes
1
answer
364
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
120
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
86
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
349
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
835
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 ...
1
vote
1
answer
130
views
Gedit problems while launching in Ubuntu 18.04
I have been using Gedit since the 14 years without any problem. But recently, it does not launch and when I ran it from the terminal I got this error message-
gedit
(gedit:2381): GLib-GIO-ERROR **: ...
8
votes
1
answer
14k
views
Running GUI apps under WSL
I can't run GUI apps under WSL. First, I tried running Synaptic, but it showed this message:
Unable to init server: Could not connect: Connection refused
Failed to initialize GTK.
Probably you're ...
1
vote
1
answer
75
views
Forbid edition in gedit when read only
I often open up documents with gedit, like gedit /etc/apt/sources.list and obviously, it would be read only as I'm not opening it as root.
But then, why is gedit still allowing me to edit the file, ...
-1
votes
1
answer
47
views
Supposed to see '~' when listing file in directory
I'm working on a assignment for school and I'm having an issue getting this portion to work properly.
The assignment is having me create a file in the CLI, open and edit the file in GEDIT without ...
2
votes
0
answers
115
views
Ubuntu 20.04: Gedit preferences manager does not allow interactions
I am trying to install plugins on Gedit v3.36.2 under a clean Ubuntu 20.04 installation.
I'm opening the preferences but I checking/unchecking the various options doesn't work: Gedit doesn't listen!
...
0
votes
1
answer
290
views
How do I open and edit a usr/lib/udev file in 20.04 without root?
How do I open and edit a usr/lib/udev file in Ubuntu 20.04 without root?
1
vote
3
answers
261
views
Back to the terminal after Installing Gedit and Terminal on Ubuntu server
I install Ubuntu Server 20.04.3 LTS on virtualbox in a windows 10 environment. I installed gedit (sudo apt install gedit). After gedit finished installing and after a reboot I ended up with a GUI ...