Configure Gedit to always open documents in new tab
up vote
4
down vote
favorite
Prior to updating to Ubuntu 17.04, opening new text documents always opened them in a new tab. But since updating, new text documents are always opening in a new window (even when a gedit window is already open). This is resulting in tons of windows being open which is terrible.
I have gsettings set at default (auto) for tab mode.
How do I make Gedit always open documents in a TAB?
gedit tabs
add a comment |
up vote
4
down vote
favorite
Prior to updating to Ubuntu 17.04, opening new text documents always opened them in a new tab. But since updating, new text documents are always opening in a new window (even when a gedit window is already open). This is resulting in tons of windows being open which is terrible.
I have gsettings set at default (auto) for tab mode.
How do I make Gedit always open documents in a TAB?
gedit tabs
I am not observing the same behaviour - how are you opening the documents?
– Charles Green
Sep 29 '17 at 17:20
2
I've identified it as a Gnome on Wayland bug.
– G.W.
Oct 20 '17 at 16:25
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
Prior to updating to Ubuntu 17.04, opening new text documents always opened them in a new tab. But since updating, new text documents are always opening in a new window (even when a gedit window is already open). This is resulting in tons of windows being open which is terrible.
I have gsettings set at default (auto) for tab mode.
How do I make Gedit always open documents in a TAB?
gedit tabs
Prior to updating to Ubuntu 17.04, opening new text documents always opened them in a new tab. But since updating, new text documents are always opening in a new window (even when a gedit window is already open). This is resulting in tons of windows being open which is terrible.
I have gsettings set at default (auto) for tab mode.
How do I make Gedit always open documents in a TAB?
gedit tabs
gedit tabs
asked Sep 29 '17 at 17:06
G.W.
3113
3113
I am not observing the same behaviour - how are you opening the documents?
– Charles Green
Sep 29 '17 at 17:20
2
I've identified it as a Gnome on Wayland bug.
– G.W.
Oct 20 '17 at 16:25
add a comment |
I am not observing the same behaviour - how are you opening the documents?
– Charles Green
Sep 29 '17 at 17:20
2
I've identified it as a Gnome on Wayland bug.
– G.W.
Oct 20 '17 at 16:25
I am not observing the same behaviour - how are you opening the documents?
– Charles Green
Sep 29 '17 at 17:20
I am not observing the same behaviour - how are you opening the documents?
– Charles Green
Sep 29 '17 at 17:20
2
2
I've identified it as a Gnome on Wayland bug.
– G.W.
Oct 20 '17 at 16:25
I've identified it as a Gnome on Wayland bug.
– G.W.
Oct 20 '17 at 16:25
add a comment |
3 Answers
3
active
oldest
votes
up vote
1
down vote
Update: I updated changed .desktop files for gedit, and now it opens in new tab by default!
.desktop files in question:
/usr/share/applications/gedit.desktop
/usr/share/applications/org.gnome.gedit.desktop
(There are two of them; and since I don't know which one is used by default, I simply did the following on both files:)
- Ensure that the
Exec
line under[Desktop Entry]
looks likeExec = gedit %U
- if there is a line starting with
DBusActivatable
, ensure it is set tofalse
.
(Answer is loosely based on this answer)
add a comment |
up vote
1
down vote
This did the job in Ubuntu 18.04:
gsettings set org.gnome.gedit.preferences.ui show-tabs-mode 'always'
ref. configure gedit to always open in new window
New contributor
add a comment |
up vote
0
down vote
I have sidestepped the problem by opening text/code files using Ctrl+O :
From the help menu of gedit
: gedit Text Editor › Working With Files » File basics: Open, close, and save files »Open a file or set of files
To open a file in gedit, click the Open button, or press Ctrl+O.
This will cause the Open dialog to appear. Use your mouse or keyboard to select the file that you wish to open, and then click Open. The file that you've selected will open in a new tab.
I think that's kind of universal....
– WinEunuuchs2Unix
Jul 10 at 19:54
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f960589%2fconfigure-gedit-to-always-open-documents-in-new-tab%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Update: I updated changed .desktop files for gedit, and now it opens in new tab by default!
.desktop files in question:
/usr/share/applications/gedit.desktop
/usr/share/applications/org.gnome.gedit.desktop
(There are two of them; and since I don't know which one is used by default, I simply did the following on both files:)
- Ensure that the
Exec
line under[Desktop Entry]
looks likeExec = gedit %U
- if there is a line starting with
DBusActivatable
, ensure it is set tofalse
.
(Answer is loosely based on this answer)
add a comment |
up vote
1
down vote
Update: I updated changed .desktop files for gedit, and now it opens in new tab by default!
.desktop files in question:
/usr/share/applications/gedit.desktop
/usr/share/applications/org.gnome.gedit.desktop
(There are two of them; and since I don't know which one is used by default, I simply did the following on both files:)
- Ensure that the
Exec
line under[Desktop Entry]
looks likeExec = gedit %U
- if there is a line starting with
DBusActivatable
, ensure it is set tofalse
.
(Answer is loosely based on this answer)
add a comment |
up vote
1
down vote
up vote
1
down vote
Update: I updated changed .desktop files for gedit, and now it opens in new tab by default!
.desktop files in question:
/usr/share/applications/gedit.desktop
/usr/share/applications/org.gnome.gedit.desktop
(There are two of them; and since I don't know which one is used by default, I simply did the following on both files:)
- Ensure that the
Exec
line under[Desktop Entry]
looks likeExec = gedit %U
- if there is a line starting with
DBusActivatable
, ensure it is set tofalse
.
(Answer is loosely based on this answer)
Update: I updated changed .desktop files for gedit, and now it opens in new tab by default!
.desktop files in question:
/usr/share/applications/gedit.desktop
/usr/share/applications/org.gnome.gedit.desktop
(There are two of them; and since I don't know which one is used by default, I simply did the following on both files:)
- Ensure that the
Exec
line under[Desktop Entry]
looks likeExec = gedit %U
- if there is a line starting with
DBusActivatable
, ensure it is set tofalse
.
(Answer is loosely based on this answer)
answered Jul 13 at 11:25
Ocean Wong
111
111
add a comment |
add a comment |
up vote
1
down vote
This did the job in Ubuntu 18.04:
gsettings set org.gnome.gedit.preferences.ui show-tabs-mode 'always'
ref. configure gedit to always open in new window
New contributor
add a comment |
up vote
1
down vote
This did the job in Ubuntu 18.04:
gsettings set org.gnome.gedit.preferences.ui show-tabs-mode 'always'
ref. configure gedit to always open in new window
New contributor
add a comment |
up vote
1
down vote
up vote
1
down vote
This did the job in Ubuntu 18.04:
gsettings set org.gnome.gedit.preferences.ui show-tabs-mode 'always'
ref. configure gedit to always open in new window
New contributor
This did the job in Ubuntu 18.04:
gsettings set org.gnome.gedit.preferences.ui show-tabs-mode 'always'
ref. configure gedit to always open in new window
New contributor
New contributor
answered Dec 10 at 8:03
Natalie
111
111
New contributor
New contributor
add a comment |
add a comment |
up vote
0
down vote
I have sidestepped the problem by opening text/code files using Ctrl+O :
From the help menu of gedit
: gedit Text Editor › Working With Files » File basics: Open, close, and save files »Open a file or set of files
To open a file in gedit, click the Open button, or press Ctrl+O.
This will cause the Open dialog to appear. Use your mouse or keyboard to select the file that you wish to open, and then click Open. The file that you've selected will open in a new tab.
I think that's kind of universal....
– WinEunuuchs2Unix
Jul 10 at 19:54
add a comment |
up vote
0
down vote
I have sidestepped the problem by opening text/code files using Ctrl+O :
From the help menu of gedit
: gedit Text Editor › Working With Files » File basics: Open, close, and save files »Open a file or set of files
To open a file in gedit, click the Open button, or press Ctrl+O.
This will cause the Open dialog to appear. Use your mouse or keyboard to select the file that you wish to open, and then click Open. The file that you've selected will open in a new tab.
I think that's kind of universal....
– WinEunuuchs2Unix
Jul 10 at 19:54
add a comment |
up vote
0
down vote
up vote
0
down vote
I have sidestepped the problem by opening text/code files using Ctrl+O :
From the help menu of gedit
: gedit Text Editor › Working With Files » File basics: Open, close, and save files »Open a file or set of files
To open a file in gedit, click the Open button, or press Ctrl+O.
This will cause the Open dialog to appear. Use your mouse or keyboard to select the file that you wish to open, and then click Open. The file that you've selected will open in a new tab.
I have sidestepped the problem by opening text/code files using Ctrl+O :
From the help menu of gedit
: gedit Text Editor › Working With Files » File basics: Open, close, and save files »Open a file or set of files
To open a file in gedit, click the Open button, or press Ctrl+O.
This will cause the Open dialog to appear. Use your mouse or keyboard to select the file that you wish to open, and then click Open. The file that you've selected will open in a new tab.
edited Jul 10 at 18:37
Stephen Rauch
1,1546716
1,1546716
answered Jul 10 at 14:48
Ocean Wong
111
111
I think that's kind of universal....
– WinEunuuchs2Unix
Jul 10 at 19:54
add a comment |
I think that's kind of universal....
– WinEunuuchs2Unix
Jul 10 at 19:54
I think that's kind of universal....
– WinEunuuchs2Unix
Jul 10 at 19:54
I think that's kind of universal....
– WinEunuuchs2Unix
Jul 10 at 19:54
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f960589%2fconfigure-gedit-to-always-open-documents-in-new-tab%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I am not observing the same behaviour - how are you opening the documents?
– Charles Green
Sep 29 '17 at 17:20
2
I've identified it as a Gnome on Wayland bug.
– G.W.
Oct 20 '17 at 16:25