Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
13
votes
3
answers
9515
views
How to launch gedit from terminal and detach it (just like "subl" command works)?
To open a file to edit in gedit I run `gedit sample.py &`. But with Sublime Text it is simply `subl sample.py`. This opens the file to edit and it doesn't run in the background (in my shell). How would I do that with gedit? I tried `exec /usr/bin/gedit "$@"` (copied from `/usr/bin/subl`) but it work...
To open a file to edit in gedit I run
gedit sample.py &
. But with Sublime Text it is simply subl sample.py
. This opens the file to edit and it doesn't run in the background (in my shell).
How would I do that with gedit?
I tried exec /usr/bin/gedit "$@"
(copied from /usr/bin/subl
) but it works like gedit &
.
Or alias ged="gedit $file &"
should do. What can I substitute $file
in the alias?
Sandjaie Ravi
(1055 rep)
Jul 11, 2015, 10:05 AM
• Last activity: Jul 12, 2025, 03:57 AM
0
votes
0
answers
25
views
How to load saved preferences in gedit?
I am using gedit on a work Linux install where I don't have root. I can't see how to save my preferences or load them. Is there a way to make a config file that gedit can load?
I am using gedit on a work Linux install where I don't have root. I can't see how to save my preferences or load them. Is there a way to make a config file that gedit can load?
Simd
(371 rep)
Mar 22, 2025, 09:17 AM
0
votes
0
answers
21
views
Prevent gedit from accessing network mounts on startup
Following [this answer](https://askubuntu.com/a/1491175), I found that gedit takes veeery long to start because it tries to access all of the network shares that are only available when connected to my employer's network via VPN or being on site. I am not sure, what part of the strace output would b...
Following [this answer](https://askubuntu.com/a/1491175) , I found that gedit takes veeery long to start because it tries to access all of the network shares that are only available when connected to my employer's network via VPN or being on site.
I am not sure, what part of the strace output would be useful to diagnose the problem, but here are some related lines quite before the issue occurs:
[...]
read(15, "# This file is written by xdg-us"..., 633) = 633
close(15) = 0
statx(AT_FDCWD, "/home/stanley/Cloudstore", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=656, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Dropbox", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0700, stx_size=682, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Dropbox", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0700, stx_size=682, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Dropbox", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0700, stx_size=682, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Documents", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=778, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Documents", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=778, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Documents", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=778, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Music", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=0, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Music", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=0, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Music", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=0, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Pictures", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=32, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Pictures", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=32, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Pictures", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=32, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Videos", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=84, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Videos", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=84, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Videos", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=84, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Downloads", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=352, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Downloads", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=352, ...}) = 0
statx(AT_FDCWD, "/home/stanley/Downloads", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=352, ...}) = 0
statx(AT_FDCWD, "/mnt/iflglw/install", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_ALL, 0x7ffd6a1c2560) = -1 ENODEV (No such device)
[...]
The shares are configured via systemd automount.
Why does gedit even try to access any of these folders, even when I just want to open a blank editor or an existing local file somewhere else?
But more importantly: How can I prevent gedit from trying to access all the unreachable network mounts?
Stanley F.
(123 rep)
Mar 20, 2025, 09:54 AM
1
votes
1
answers
56
views
Gedit, is there a way to do a search & insert?
Simple question. In a very large file I open with **gedit**, I need to do a search of the regex [\n][A-Z], and for every find, I wish to insert a symbol, say $, at the beginning of the pattern [\n][A-Z]. (in other words, to replace just [\n] (newline) by $, and keep whatever character is [A-Z]) Is t...
Simple question.
In a very large file I open with **gedit**, I need to do a search of the regex [\n][A-Z], and for every find, I wish to insert a symbol, say $, at the beginning of the pattern [\n][A-Z].
(in other words, to replace just [\n] (newline) by $, and keep whatever character is [A-Z])
Is there a way? maybe a plugin?
mario
(157 rep)
Jan 25, 2025, 10:21 PM
• Last activity: Jan 27, 2025, 01:51 AM
0
votes
2
answers
89
views
gtksourceview: syntax highlight for language groff in gedit
Sciancisco and I developed a syntax highlighter for the **Groff** markup language to be used with Gedit, Pluma, Xed etc. I installed it in `/usr/share/gtksourceview-4/language-specs/groff.lang` and it always worked fine, but now I'm using Debian Trixie and it doesn't work anymore. Any clue? ```xml *...
Sciancisco and I developed a syntax highlighter for the **Groff** markup language to be used with Gedit, Pluma, Xed etc. I installed it in
/usr/share/gtksourceview-4/language-specs/groff.lang
and it always worked fine, but now I'm using Debian Trixie and it doesn't work anymore. Any clue?
* name: the "G" of "Groff" was capitalized.
*
* mimetypes and globs: completely changed based upon "All known MIME
types" and their filename patterns, available at
https://www.digipres.org/formats/mime-types/
*
* comment-new and comment-old: the "." (dot) was included as part of the
comment. Added "\.".
-->
application/x-troff;application/x-troff-man;text/troff
*.1;*.2;*.3;*.4;*.5;*.6;*.7;*.8;*.groff;*.man;*.roff
\.\\#
$
\.\\"
$
\\[[]
[]]
\\.[[]
[]]
\\[(]..
\\.[(]..
\\..
\\.
^\.EQ(\s|$)
^\.EN
^\.PS(\s|$)
^\.PE
^\.TS(\s|$)
^\.TE
^\.cstart(\s|$)
^\.cend
^\.R1(\s|$)
^\.R2
^\.[[]
^\.[]]
^\.[A-Z0-9_]+
^\.[a-z]+
Daniel
(432 rep)
Aug 14, 2024, 06:08 PM
• Last activity: Aug 15, 2024, 04:00 PM
0
votes
1
answers
119
views
gedit customisation via gsettings
I am trying to programmatically customise various settings in the `gedit` application, and currently I've got the following command to change the colour scheme. ``` gsettings set org.gnome.gedit.preferences.editor scheme 'cobalt' ``` The issue I have is, if you see below, there are some colour schem...
I am trying to programmatically customise various settings in the
Now with that in mind, I've tried the following command, but with no success:
gedit
application, and currently I've got the following command to change the colour scheme.
gsettings set org.gnome.gedit.preferences.editor scheme 'cobalt'
The issue I have is, if you see below, there are some colour schemes which are two words.

gsettings set org.gnome.gedit.preferences.editor scheme 'solarized dark'
Unfortunately, I do not get any errors or feedback to say the above command has not worked. Would anyone know what I have done wrong here?
hymcode
(133 rep)
Jul 29, 2024, 08:29 AM
• Last activity: Jul 29, 2024, 11:05 AM
1
votes
1
answers
146
views
Gedit Bracket match is out of range
Gedit matches brackets like { with } and tells us where the matching opening/closing bracket is. If it is more than 10000 characters, it says "Bracket match is out of range" instead. How would one go about extending that range? I've got the newest version of Ubuntu and Gedit came with it. Here https...
Gedit matches brackets like { with } and tells us where the matching opening/closing bracket is. If it is more than 10000 characters, it says "Bracket match is out of range" instead. How would one go about extending that range?
I've got the newest version of Ubuntu and Gedit came with it.
Here https://github.com/jaseemabid/gedit I found gedit-master/gedit/gedit-window.c which says in ln.2236-2270
static void
bracket_matched_cb (GtkSourceBuffer *buffer,
GtkTextIter *iter,
GtkSourceBracketMatchType result,
GeditWindow *window)
{
if (buffer != GTK_SOURCE_BUFFER (gedit_window_get_active_document (window)))
return;
switch (result)
{
case GTK_SOURCE_BRACKET_MATCH_NONE:
gtk_statusbar_pop (GTK_STATUSBAR (window->priv->statusbar),
window->priv->bracket_match_message_cid);
break;
case GTK_SOURCE_BRACKET_MATCH_OUT_OF_RANGE:
gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
window->priv->bracket_match_message_cid,
_("Bracket match is out of range"));
break;
case GTK_SOURCE_BRACKET_MATCH_NOT_FOUND:
gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
window->priv->bracket_match_message_cid,
_("Bracket match not found"));
break;
case GTK_SOURCE_BRACKET_MATCH_FOUND:
gedit_statusbar_flash_message (GEDIT_STATUSBAR (window->priv->statusbar),
window->priv->bracket_match_message_cid,
_("Bracket match found on line: %d"),
gtk_text_iter_get_line (iter) + 1);
break;
default:
g_assert_not_reached ();
}
}
So in case the result is GTK_SOURCE_BRACKET_MATCH_OUT_OF_RANGE we get this message. I couldn't figure out where the bracket_matched_cb method is called, this is as far as I got.
Some Student
(13 rep)
Jul 12, 2024, 02:21 PM
• Last activity: Jul 17, 2024, 06:38 PM
50
votes
6
answers
52540
views
Gedit won't save a file on a VirtualBox share: Text file busy
I have a text file that I can change using other applications (for example `openoffice`). But when I try to change and save it using `gedit`, I am getting error from `gedit`: Could not save the file /media/sf_Ubuntu/BuildNotes.txt. Unexpected error: Error renaming temporary file: Text file busy the...
I have a text file that I can change using other applications (for example
openoffice
). But when I try to change and save it using gedit
, I am getting error from gedit
:
Could not save the file /media/sf_Ubuntu/BuildNotes.txt.
Unexpected error: Error renaming temporary file: Text file busy
the permission of BuildNotes.txt is as follow:
-rwxrwx--- 1 root vboxsf 839 2012-10-26 12:08 BuildNotes.txt
and user id is:
m@m-Linux:/media/sf_Ubuntu$ id
uid=1000(m) gid=1000(m) groups=4(adm),20(dialout),24(cdrom),46(plugdev),105(lpadmin),119(admin),122(sambashare),1000(m),1001(vboxsf)
What is the problem and how I can fix it?
user654019
(2367 rep)
Oct 26, 2012, 11:15 AM
• Last activity: Jul 4, 2024, 04:41 AM
1
votes
0
answers
185
views
Custom syntax highlighting misbehaving in gedit
For gedit, I'm creating a custom syntax highlighter for a markup-like language that I created to accomplish some natural language manipulation stuff, so I thought I'd get started with the simple keywords, seeing as I don't need to come up with regexes for them. I've defined the following in the XML:...
For gedit, I'm creating a custom syntax highlighter for a markup-like language that I created to accomplish some natural language manipulation stuff, so I thought I'd get started with the simple keywords, seeing as I don't need to come up with regexes for them.
I've defined the following in the XML:
Should I be using a regex for these or did I just botch the XML? Also, why do the
text/x-c;text/x-csrc;image/x-xpixmap
*.foo
ref
alt
pos
num
#
$
@
[
]
:
=
:?
&
The syntax does highlight, but only on some odd conditions. Specifically, any keyword in the operators
context must be both preceded by and followed by a non-keyword character, lest it will fail to highlight.

members
keywords highlight without issue?
Alex Clough
(111 rep)
Aug 2, 2016, 01:16 AM
• Last activity: Feb 15, 2024, 04:54 PM
3
votes
3
answers
11687
views
How to edit /etc/inittab?
I want to edit `/etc/inittab` in order to get a login prompt on the serial console once the system boots. By default, inittab file complains to be `ro`. I tried both `gksudo gedit /etc/inittab` and `sudo vi /etc/inittab` and seemed to be properly configured. However, when I opened file after that wi...
I want to edit
/etc/inittab
in order to get a login prompt on the serial console once the system boots. By default, inittab file complains to be ro
.
I tried both gksudo gedit /etc/inittab
and sudo vi /etc/inittab
and seemed to be properly configured. However, when I opened file after that with gedit, I saw no difference.
Any ideas?
dempap
(745 rep)
Apr 6, 2014, 07:20 PM
• Last activity: Jan 4, 2024, 09:24 AM
3
votes
1
answers
1264
views
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
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
trilisser
(133 rep)
Nov 29, 2023, 06:21 AM
• Last activity: Dec 6, 2023, 10:57 AM
16
votes
2
answers
12168
views
How to force gedit to open a new window independently of existing gedit windows whenever a text file is double-clicked on a Gnome desktop of Debian 8?
How can `gedit` be forced to open a new window independently of existing gedit windows whenever a text file (.txt) is double-clicked on a Gnome desktop of Debian 8, Jessie? Suppose that a.txt is already open in a gedit window, and that b.txt is double-clicked on a Gnome desktop of Debian 8 Jessie. T...
How can
gedit
be forced to open a new window independently of existing gedit windows whenever a text file (.txt) is double-clicked on a Gnome desktop of Debian 8, Jessie?
Suppose that a.txt is already open in a gedit window, and that b.txt is double-clicked on a Gnome desktop of Debian 8 Jessie. Then, unfortunately, by the factory default, b.txt will be opened in a tab in the same window as a.txt.
However, I want b.txt
to be opened in a new window of gedit so that there will be two windows - the existing window for a.txt and a new window for b.txt.
If Gnome invoked gedit with the "-s" option as in
gedit -s b.txt
then b.txt
would be opened in a new window, while a.txt stays in its existing window.
However, by default, Gnome seems to invoke gedit without the "-s" option.
The configuration file
/usr/share/applications/org.gnome.gedit.desktop
contains the execution directive
Exec=gedit %U
So, I changed it to
Exec=gedit -s %U
by the following commands, and restarted the computer.
cd /usr/share/applications
su # similar to sudo
mv org.gnome.gedit.desktop org.gnome.gedit.desktop.bak
perl -pe 's/Exec=gedit %U/Exec=gedit -s %U/' org.gnome.gedit.desktop.bak > org.gnome.gedit.desktop
diff org.gnome.gedit.desktop org.gnome.gedit.desktop.bak
However, this method has failed. The b.txt still opens in a tab in the same window as a.txt. I am stuck. I need your help.
The default mode of gedit is "single window, multiple tabs". I want the "multiple windows" mode.
By the way, the following useless method turns gedit into the "single window, no tab" mode, which is not what I want.
gsettings set org.gnome.gedit.preferences.ui show-tabs-mode 'never'
With this "gsettings" method, gedit automatically closes a.txt and reuses the existing window of a.txt to open b.txt in it whenever b.txt is double-clicked on a desktop. Thus, it is the "single window, no tab" mode (as opposed to "multiple windows").
(By the way, the default value for "show-tabs-mode" is 'auto'.)
i7pj3qnuz
(431 rep)
May 3, 2017, 06:21 PM
• Last activity: Feb 23, 2023, 02:15 PM
0
votes
2
answers
1472
views
Is there a way to automatically remove trailing whitespace when saving with gedit?
Is there a plugin of some sorts that gets rid of trailing spaces and tabs in every line when saving a file edited with gedit?
Is there a plugin of some sorts that gets rid of trailing spaces and tabs in every line when saving a file edited with gedit?
user418703
(83 rep)
Jun 19, 2020, 07:37 AM
• Last activity: Nov 27, 2022, 05:41 PM
0
votes
0
answers
1978
views
Gedit doesn't work in Kali 2020
Kali 2020 doesn't come with gedit pre-installed. After installing with sudo apt-get install gedit and trying to run, I get an error message: ``` ┌──(kali㉿kali)-[/root] └─$ gedit test.txt Unable to init server: Could not connect: Connection refused (gedit:3673): Gtk-WARNING **: 11:16:31.911: cannot o...
Kali 2020 doesn't come with gedit pre-installed.
After installing with
sudo apt-get install gedit
and trying to run, I get an error message:
┌──(kali㉿kali)-[/root]
└─$ gedit test.txt
Unable to init server: Could not connect: Connection refused
(gedit:3673): Gtk-WARNING **: 11:16:31.911: cannot open display:
How can I fix this?
**EDIT:**
I'm actually running a Kali virtual machine with VMWARE.
Mate Mrše
(101 rep)
Dec 7, 2020, 04:25 PM
• Last activity: Oct 27, 2022, 03:54 PM
4
votes
1
answers
1482
views
How to reset linux centOS 6.0 keyboard shortcuts with custom changes to default one?
On Single Desktop Environment.... I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes). Example: created like CTRL + N = new terminal and later changed it to CTRL + T so here, CTRL + N is overridden with some conflicts....
On Single Desktop Environment....
I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes).
Example: created like CTRL + N = new terminal and later changed it to CTRL + T
so here, CTRL + N is overridden with some conflicts. Where gedit CTRL + N for opening a new document is affected (not working at all).
I found some related questions on this, but none resolved my purpose.
Actually, if there are no ways to reset entire keyboard shortcut keys in CentOS, please suggest a way to rectify CTRL + N to work fine for
gedit
again?
Nike
(41 rep)
Jan 20, 2014, 01:31 PM
• Last activity: Aug 7, 2022, 02:04 AM
-3
votes
1
answers
1294
views
error gedit sources.list
after saved `sources.list` with gedit, i get this error, but can update/upgrade: ```lang-none ** (gedit:2431): WARNING **: 17:40:30.625: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ```
after saved
sources.list
with gedit, i get this error, but can update/upgrade:
-none
** (gedit:2431): WARNING **: 17:40:30.625: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
Caesar Bhandari
(1 rep)
Jul 22, 2022, 01:48 PM
• Last activity: Jul 27, 2022, 07:30 AM
1
votes
1
answers
278
views
Nerd font icon is pulled right, and gedit cursor changes to reflect some difference with the icon?
I am using a patched nerd font, [SauceCodePro](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/SourceCodePro). I have used the [cheat sheet](https://www.nerdfonts.com/cheat-sheet) to copy some icons and paste them into an editor. For example, I copied the icon for `nf-mdi-yelp`, an...
I am using a patched nerd font, [SauceCodePro](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/SourceCodePro) .
I have used the [cheat sheet](https://www.nerdfonts.com/cheat-sheet) to copy some icons and paste them into an editor.
For example, I copied the icon for
Notice in the statusbar it says my cursor position is line 2, column 1, but column 1 is all the way to the right.
Interestingly, if I add the yin-yang icon on the same line as the yelp icon, it is "pulled" left.
Also interestingly, if I move my cursor to before the yin-yang icon, the gedit cursor changes, displaying a double line, one on either side of the icon, with arrows pointing inward.
My google-fu is too poor to find anything online to tell me what this cursor in gedit is about.
**Questions:**
- Why is the yin-yang pulled to the right?
- Is it possible to force it left?
- What is the weird double cursor which gedit displays in this case?
nf-mdi-yelp
, and when pasted into gedit, it appears as a single character in the first column (as expected).
However, when doing the same for nf-mdi-yin_yang
, when I paste it it appears in the last column (ie: as if the text is written right-to-left)



Steve Lorimer
(543 rep)
Dec 21, 2021, 11:59 AM
• Last activity: Dec 21, 2021, 05:10 PM
0
votes
1
answers
55
views
gedit External Tools & Csound
I am a newbie at Linux and so far so good my workflow of studying music with Csound is adding a new tool under the External Tools Gedit plugin doing this, #!/bin/sh csound '/home/ye53b/Desktop/TC4R37A7B/music/csound' which is a text file containing the Csound syntax that later is interpreted as nois...
I am a newbie at Linux and so far so good my workflow of studying music with Csound is adding a new tool under the External Tools Gedit plugin doing this,
#!/bin/sh
csound '/home/ye53b/Desktop/TC4R37A7B/music/csound'
which is a text file containing the Csound syntax that later is interpreted as noise...
Is there any way to identify the path of the file I am in, instead of using a main text file every time (
/home/ye53b/Desktop/TC4R37A7B/music/csound
)?
ye53b
(1 rep)
Sep 12, 2021, 03:08 PM
• Last activity: Sep 14, 2021, 12:49 PM
0
votes
3
answers
7299
views
How to run sudo gedit without connection refusal?
I'm installing and configuring the ssh in CentOs 8 with a virtual box machine. I installed both libraries with following command: sudo yum install openssh-server openssh-clients Then I started the service with: sudo systemctl enable sshd sudo systemctl start sshd sudo systemctl status sshd And it's...
I'm installing and configuring the ssh in CentOs 8 with a virtual box machine.
I installed both libraries with following command:
sudo yum install openssh-server openssh-clients
Then I started the service with:
sudo systemctl enable sshd
sudo systemctl start sshd
sudo systemctl status sshd
And it's running normally.
When I try to edit the sshd_config file with the command:
sudo gedit /etc/ssh/sshd_config
I get the following error:
No protocol specified
Unable to init server: Could not connect: Connection refused
(gedit:5680): Gtk-WARNING **: 21:59:00.071: cannot open display: :0
Could someone help me, please?
Henrique Branco
(123 rep)
May 5, 2020, 01:18 AM
• Last activity: Jun 21, 2021, 11:30 AM
5
votes
4
answers
2247
views
In Gedit, how might I jump from the command line (bottom frame) to the file explorer frame to the text editor frame using keyboard shortcuts
I know how to jump from tab to tab in the text editor frame, but jumping from the text editor (center-right top frame) to the command line (center-right bottom frame) using only the keyboard eludes me. I know that jumping straight out of the command line frame probably won't be possible (or as easy...
I know how to jump from tab to tab in the text editor frame, but jumping from the text editor (center-right top frame) to the command line (center-right bottom frame) using only the keyboard eludes me.
I know that jumping straight out of the command line frame probably won't be possible (or as easy as jumping out of one of the other two frames), but knowing how to do the other jumps would save me (and stackexchange posterity) a fair amount of time.
boulder_ruby
(251 rep)
Jul 15, 2012, 11:58 PM
• Last activity: Jan 1, 2021, 04:32 AM
Showing page 1 of 20 total questions