gedit

Scrolling and typing lag with a 1-2 second delay

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 this problem before installation. Right after the start-up of Linux Ubuntu OS …

Total answers: 1

Start of the line with regex in Ubuntu 22.04's gedit text editor

Start of the line with regex in Ubuntu 22.04's gedit text editor I try to use regex such as ^ to find the start of the line in the gedit editor in Ubuntu 22.04 but it doesn’t work. Also for $ as the end of the line. Other regular expressions such as n,d,s work well …

Total answers: 1

How to see the length of selected text in gedit?

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. Asked By: pers || Source You can do this (crudely) using the External Tools plugin. First enable the plugin: Then create the following external tool with …

Total answers: 1

What regex flavor does gedit support?

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? Asked By: qwr || Source Ok looking through the source code I found gtk_source_search_settings_set_regex_enabled which links to GLib’s regex …

Total answers: 1

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!

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-core by adding Prompt=normal. This step can’t …

Total answers: 2

gedit error – "Unable to init server: Could not connect: Connection refused"

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 problem is please Asked By: SKK || Source gedit is trying to …

Total answers: 1

What is the recommended way to use gedit to view system files?

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 manager. What is the Gnome doctrine for dealing with situations …

Total answers: 4

Tab indenting looks weird in gedit in Ubuntu 20.04

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 indentation. A simple example of this problem happening is this: I …

Total answers: 1

Running GUI apps under WSL

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 running Synaptic on Wayland with root permission. Please restart your session without Wayland, or run Synaptic without root …

Total answers: 1

How to disable gedit side panel?

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 and i find it totally useless and eating up what little free space …

Total answers: 1

gedit background becomes black when I open a very large file

gedit background becomes black when I open a very large file Whenever I open a very large text file (I’m talking 100k lines or more), gedit’s background color changes from white to black, which makes the black text almost impossible to read. Here’s a screenshot of a file with more than 400k lines as an …

Total answers: 2

Is there a keyboard shortcut to duplicate a line in gedit?

Is there a keyboard shortcut to duplicate a line in gedit? Is there a way to duplicate current line in gedit using a keyboard shortcut? OS: Ubuntu 20.04.1 LTS gedit version: 3.36.2 Asked By: BlueSkies || Source As far as what I searched, there is no official keyboard shortcut for duplicating a current line in …

Total answers: 2

unresponsive gedit

unresponsive gedit I was running gedit from the command window for editing an xml file. After editing the file, I closed the gedit text editor window. But the gedit process was till running in the command window. So I forced stopped it using ctrl+z. After that I want to use gedit to open another file. …

Total answers: 2

(gedit:1430): Gtk-WARNING **: cannot open display:

(gedit:1430): Gtk-WARNING **: cannot open display: I am trying to use gedit to view .conf files in Ubuntu server 16.04.2. I can’t seem to do it as you can see: $ sudo gedit /etc/network/interfaces [sudo] password for blue: Failed to connect to Mir: Failed to connect to server socket: No such file or directory Unable …

Total answers: 4

What is the standard text editor in GNOME?

What is the standard text editor in GNOME? What is the standard text editor for GNOME in Ubuntu? (I tried searching for it on Google, but did not find the answer.) Asked By: Yassin Hussein || Source Simple answer: gedit. To launch from terminal to create a new file just type gedit, or to edit …

Total answers: 3

How to get a "duplicate line" hotkey in gedit?

How to get a "duplicate line" hotkey in gedit? I want to have a shortcut key for duplicating the currently selected line in gedit. Many other editors use Ctrl+D or Ctrl+Shift+D for that, but gedit is different. Here the default behaviour: Ctrl+D: removes a line Ctrl+Shift+D: opens GTK inspector I am fine with both current …

Total answers: 2

Problem with gedit

Problem with gedit I am using ubuntu 16.04 LTS. gedit does not start when I type in the terminal: gedit I do get the following error: (gedit:9955): GLib-GIO-ERROR **: Settings schema ‘org.gnome.gedit.preferences.ui’ does not contain a key named ‘notebook-show-tabs-mode’ Trace/breakpoint trap (core dumped) I googled this but nothing fixed the problem (I tried to remove …

Total answers: 1

Aliasing gedit to suppress terminal output

Aliasing gedit to suppress terminal output I am SSH’d into an embedded board (Jetson TK1 running Ubuntu 14.04). I use the -X option so I can use gedit to edit text files. When executed from a terminal, gedit spews a bunch of garbage on the terminal. This is easy to get around by typing gedit …

Total answers: 3

gedit: search and replace with regular expressions

gedit: search and replace with regular expressions I want to replace this with gedit: 1299465 | 2003415 | 2015-09-06 05:35:34.59662+02 1299449 | 2009400 | 2015-09-06 05:35:32.301683+02 1299450 | 2008465 | 2015-09-06 05:35:32.451393+02 1299457 | 2015211 | 2015-09-06 05:35:33.451049+02 to that: 2003415 2009400 2008465 2015211 How can I do this with gedit? Background: I want to …

Total answers: 2