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

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 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 ...
Jerome 's user avatar
1 vote
0 answers
20 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 ...
Rene Tapia's user avatar
4 votes
2 answers
142 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 ...
Dave Wellsted's user avatar
0 votes
1 answer
92 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 ...
BobTBuilder's user avatar
0 votes
0 answers
20 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 ...
V.G.K. ADITYA's user avatar
0 votes
1 answer
31 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 ...
Daniel's user avatar
  • 1
0 votes
1 answer
45 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 ...
Michael Moriarty's user avatar
3 votes
1 answer
46 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.
pers's user avatar
  • 33
1 vote
1 answer
52 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?
qwr's user avatar
  • 2,692
0 votes
1 answer
65 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 ...
Enterprise's user avatar
1 vote
2 answers
55 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 ...
wjandrea's user avatar
  • 14.1k
0 votes
0 answers
25 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 ...
Shakesbeer's user avatar
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 ...
MigWeld-o's user avatar
1 vote
1 answer
124 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 ...
ROHAN PAL's user avatar
0 votes
1 answer
95 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 ...
s.k's user avatar
  • 1,200
2 votes
1 answer
517 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 /...
Barry's user avatar
  • 151
0 votes
2 answers
128 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-...
Gamer Undefeated's user avatar
0 votes
0 answers
52 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.
Ramit Bose 21BCE1316's user avatar
0 votes
1 answer
8k 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 ...
SKK's user avatar
  • 3
0 votes
0 answers
276 views

failed to commit changes to dconf: Failed to close file descriptor for child process (Operation not permitted)

I want to run gedit in a docker container, but I realized that even though I can open the GUI, I can't change the color scheme. This is the command I run: xhost local:root && docker run -i --...
Adrian's user avatar
  • 143
3 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 ...
Paul Jurczak's user avatar
2 votes
0 answers
489 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 ...
user1443613's user avatar
1 vote
1 answer
81 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 ...
Lluis's user avatar
  • 11
1 vote
0 answers
46 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 ...
Hiran Chaudhuri's user avatar
0 votes
0 answers
37 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 ...
Problem_boy's user avatar
1 vote
0 answers
185 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 ...
firgnaw's user avatar
  • 11
0 votes
1 answer
109 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 ...
Gabriel Moraes's user avatar
0 votes
1 answer
178 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 ...
Andy Stuhl's user avatar
0 votes
1 answer
122 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.
Miguel Gisbert's user avatar
1 vote
1 answer
437 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 ...
fahd's user avatar
  • 111
0 votes
1 answer
318 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: ...
Broadsworde's user avatar
  • 3,942
0 votes
1 answer
89 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 "...
pasmon 79's user avatar
0 votes
2 answers
75 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 ...
slyfox1186's user avatar
0 votes
0 answers
321 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 ...
guttermonk's user avatar
0 votes
1 answer
707 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 ...
Sovovav's user avatar
1 vote
1 answer
106 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 **: ...
user1738234's user avatar
8 votes
1 answer
10k 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 ...
Zaid-turki's user avatar
1 vote
1 answer
62 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, ...
Xenos's user avatar
  • 121
-1 votes
1 answer
46 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 ...
KAi tiE's user avatar
1 vote
0 answers
96 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! ...
Thanos's user avatar
  • 437
0 votes
1 answer
206 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?
ken bright's user avatar
1 vote
3 answers
201 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 ...
Lloyd's user avatar
  • 11
1 vote
0 answers
17 views

How can one establish a keyboard shortcut for inserting the current date in Gedit? [duplicate]

I am looking for a way to establish a keyboard-shortcut for inserting the current date when using the text-editor, Gedit. I know it can be done by selecting "Insert Date and Time" in the &...
Duncan's user avatar
  • 991
2 votes
0 answers
66 views

Anyway to get the picklist back in gedit?

Upgraded to Ubuntu 20.04, and the missing picklist in gedit is increasingly frustrating. By "picklist" I mean the dropdown menu where you could go to any of your open documents. This ...
davidkonrad's user avatar
1 vote
1 answer
680 views

How do I force gedit to open a specific file each time I boot my computer?

This post here served as a guide at my attempt to force the gedit Text Editor to open a specific file each time I startup my computer. Here are the steps I took: Create a sample directory and sample ...
jophuh's user avatar
  • 43
1 vote
1 answer
457 views

In Gedit, which syntax highlighting option is for Python 3.x?

Gedit has two options for syntax highlighting for Python: Python Python2 Is the "Python" option for: Older versions of Python less than version 2 (ex. 1.6, 1.5, ...) ...or... Newer ...
Enterprise's user avatar
3 votes
1 answer
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 ...
user2901351's user avatar
0 votes
0 answers
66 views

How can I prevent gedit from pre-filling highlighted text in Ctrl+F/find?

is it possible to disable the auto populate the find box with currently selected text functionality when you press Control+F to find something. it really annoys me overwriting what i have in the find ...
Jay Dee's user avatar
  • 87
3 votes
2 answers
200 views

No option to print line numbers in gedit

I want to print line numbers from gedit, I know how to view them, of course. A previous answer to a question some years ago claimed that the option existed. But on my machine that option seems to have ...
Stuart's user avatar
  • 31
4 votes
1 answer
557 views

How to prevent Gedit from opening a launched file in an instance on another workspace

Using Ubuntu 21.04 with pure Gnome Shell 3.38. Consider this example scenario: I have 2 workspaces open, workspace-1 and workspace-2. In workspace-2, the Gedit app is open. In workspace-1, the Gedit ...
G.W.'s user avatar
  • 583

1
2 3 4 5
19