Questions tagged [gedit]

Official text editor of the GNOME desktop environment

Filter by
Sorted by
Tagged with
1 vote
1 answer
17 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 ...
user avatar
  • 111
0 votes
1 answer
35 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: ...
user avatar
  • 3,168
0 votes
0 answers
12 views

gedit stopped creating backups

Today gedit just stopped automatically creating a backup when I save a modified file. I'm running Ubuntu 20.04 fully updated,and I verified that "Preferences|Editor|Create a backup copy of files ...
user avatar
0 votes
1 answer
13 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 "...
user avatar
0 votes
2 answers
32 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 ...
user avatar
0 votes
0 answers
74 views

How to start a GUI software (gedit) on a ubuntu container in docker via bash

I installed gedit in ubuntu docker container but it gives the following error: (gedit:12505): Gtk-WARNING **: 18:15:41.949: cannot open display: root@47b196e3b37f:/mygit# export DISPLAY=:0 root@...
user avatar
  • 1
0 votes
0 answers
12 views

Change text cursor of gedit theme in .xml file

I am trying to change the text cursor of a gedit theme I downloaded from the internet. I thought changing the foreground color here<style background="#F8F8F0" foreground="#000000&...
user avatar
0 votes
0 answers
71 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 ...
user avatar
0 votes
0 answers
66 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 ...
user avatar
1 vote
1 answer
27 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 **: ...
user avatar
5 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
36 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, ...
user avatar
  • 121
-1 votes
1 answer
42 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 ...
user avatar
1 vote
0 answers
46 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! ...
user avatar
  • 417
0 votes
1 answer
37 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?
user avatar
1 vote
3 answers
99 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 ...
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 &...
user avatar
  • 921
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 ...
user avatar
1 vote
1 answer
162 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 ...
user avatar
  • 23
1 vote
1 answer
76 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 ...
user avatar
  • 10.8k
2 votes
1 answer
162 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 ...
user avatar
1 vote
0 answers
19 views

text editer gedit control+F find functionality

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 ...
user avatar
  • 11
3 votes
2 answers
52 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 ...
user avatar
  • 31
2 votes
1 answer
139 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 ...
user avatar
  • 391
1 vote
1 answer
121 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 ...
user avatar
0 votes
1 answer
110 views

gedit does not display "grid pattern"

Possibly after the update from 21.04 to 21.10, the standard GNOME editor gedit started not displaying the background grid pattern. I tried to unset and set the Display grid pattern setting from gedit'...
user avatar
  • 6,368
0 votes
0 answers
21 views

How to make a gedit plugin in python that makes you write always on the same height (Ubuntu 20.04)

I was thinking about a plugin for gedit that will keep me on one height all the time, for example when I hit enter, whole document scrolls down by 1 line. And I am here to ask if there is already ...
user avatar
  • 1
2 votes
4 answers
822 views

Is it possible to launch nautilus or gedit with elevated privileges?

Sometimes I need to edit files in /etc. I know I can do this with the console (sudo mv some/file /etc/some/file, sudo nano /etc/some/file) etc, but I find this way a bit clunky. Call me spoiled, but I'...
user avatar
  • 213
0 votes
0 answers
43 views

How adjust print margins in gedit

The margins in gedit are preposterously large. They are so big they cause nearly 40% of the printed page to be blank. There seems to be no way to adjust the margins. There is no option for it in the ...
user avatar
  • 440
0 votes
0 answers
30 views

GEDIT does not remember last cursor position inside text file after update to ubuntu 21.10

I recently updated from ubuntu 21.04 to ubuntu 21.10. I have been using GEDIT as it helps saving the last cursor position after closing the file. After upgrade, every time I open a text file, the ...
user avatar
  • 338
0 votes
0 answers
13 views

Where to file a bug against ubuntu's appearance panel in system settings? [duplicate]

where can I file a bug for ubuntu's appearance panel in gnome-control-center? I have recently discover, that this panel crashes, unless I have... the GEdit installed from .deb package, as it seems to ...
user avatar
2 votes
1 answer
70 views

Gedit tabs preference

As these two questions show: Use no tabs in Gedit gedit - open files in new tabs there is a need to control gedit tabs behavior when opening a file. For example, always force to open in new window ...
user avatar
0 votes
0 answers
24 views

how to make gedit keep focus on `find`?

The default behavior when searching via ctrl+f is to change focus to the editor after first match, instead of automatically dropping me out of the search box. Instead I want the search box to keep ...
user avatar
  • 153
0 votes
1 answer
122 views

I can't indent my file indentation

I write C file on Emacs and I'm using 4 tab width for my files. In Emacs, I see that my file is indented with 4 tab-width. But when I try to read my file with cat command, I see that my file is ...
user avatar
1 vote
2 answers
105 views

how can I change the default position of Text Editor (Gedit)?

Using Ubuntu 21.04, GNOME 3.38.5 I am new to Linux. I have grown accustomed to windows opening in their last-used location. I prefer my text editor (which I use a lot) on the right-hand side of my ...
user avatar
0 votes
1 answer
657 views

"Text Editor" is not responding

ubuntu 20.04 LTS shell version - GNOME Shell 3.36.9 gedit version - gedit - Version 3.36.2 When I click 'wait' nothing happened: What I did: I run gedit from termial and its not come back to my ...
user avatar
  • 31
0 votes
0 answers
17 views

Ubuntu malformed line problem [duplicate]

When I type sudo apt update, I get this error: Malformed line 2 in source list /etc/apt/sources.list.d/xenial.list (type) E: The list of sources could not be read. I used /etc/apt/sources.list.d/...
user avatar
  • 1
1 vote
0 answers
17 views

Is there a Gedit plugin that displays an overview map? [duplicate]

Is there a Gedit plugin that shows an overview map of the current file at the right side to help scroll through the text? I am using Gedit 3.38.1 in Ubuntu 21.04. Here is an example of the overview ...
user avatar
  • 10.8k
4 votes
0 answers
510 views

Changes via “gsettings set” for GNOME animations have to be restored after every boot (and require toggling between values) on Ubuntu 20.04

I’m turning GNOME animations off via the following command in the terminal: gsettings set "org.gnome.desktop.interface" "enable-animations" "false" This works the very ...
user avatar
  • 326
3 votes
0 answers
53 views

How to change keyboard shortcut in gedit on Ubuntu 20.04 (including how to find the command names/key codes etc.)

How do I change the gedit keyboard shortcuts on Ubuntu 20.04. I have read the question and answers on Custom keyboard shortcuts in gedit but it seems all of it is outdated and no longer offers a ...
user avatar
  • 377
1 vote
1 answer
164 views

No toolbar in gedit

I am under Ubuntu 20.04.02, using Gnome 3.36.8. My gedit (version 3.36.2) does not have a toolbar. As per this (from 2016): 1) that is part of "the new look" of gedit (see also this), 2) ...
user avatar
1 vote
0 answers
68 views

Gedit Plugins: Loader "python" could not be found

I cloned some gedit plugins from github, created a gedit/plugins directory in the .local/share directory as directed by the author. When I tried to enable them, they were found, but I got an error ...
user avatar
  • 141
0 votes
1 answer
1k views

How to add .env file

I run Ubuntu terminal via windows (installed it via windows insider program) I joined this company as intern and they have a website that they are working on. I was given certain steps to follow, so I ...
user avatar
0 votes
0 answers
124 views

Highlight TODO and other keywords in the Text Editor (gedit) isn't working

I'm using the Text Editor (gedit) for couple months. I have downloaded the inkpot theme because it seems good. https://gist.github.com/carmelom/14e74271d4c03f3028f0e050be0e7f0a The problem is, it's ...
user avatar
  • 103
1 vote
1 answer
153 views

How to disable gedit side panel?

How do i disable this stupid side panel of gedit, that somehow appeared? There is nothing in the settings or plugins. Tried rm -r -f ~/.config/gedit as well, with no success. I don't have big screen ...
user avatar
0 votes
0 answers
715 views

Copy and Paste options are not working in Gedit text-editor in a Linux terminal

I'm new to Ubunto and Linux. I'm using Ubunto 20.04 Virtual Machine, and I'm trying to install asterisk using the terminal. There are some codes that I need to write in text files using gedit, but ...
user avatar
1 vote
0 answers
3k views

gedit Unable to init server: Could not connect: Connection refused in ubuntu WSL

I have installed WSL with ubuntu 18.04 . I want to use gedit which I have already installed . The problem is that whenever I run a command with gedit I get Unable to init server: Could not connect: ...
user avatar
1 vote
2 answers
598 views

How do I get rid of invalid characters in a plain-text file when using Gedit?

Problem Gedit says that one of my files using UTF-8 encoding has invalid characters, and may get corrupted if I continue to use it. Details The file in questions is my Someday/Maybe List. I usually ...
user avatar
8 votes
1 answer
116 views

How to fix this trivial thing I hate but cannot describe briefly?

I'm using Xubuntu 20.04 currently, but this has been bugging me for years. So I make some changes in a new doc and go to save it: The selected text, Untitled Document 1, is making it very clear by ...
user avatar
0 votes
3 answers
244 views

Newbie - What are the pros & cons of using vim instead of gedit

I am a bit confused as of advantages or disadvantages of using 'vim, versus gedit. I just find 'gedit' very practical. Thks
user avatar
  • 1

1
2 3 4 5
19