Score:1

Gedit tabs preference

in flag

As these two questions show:

there is a need to control gedit tabs behavior when opening a file.

For example, always force to open in new window or always force to open in new tab, even if it is in an other workspace.

Is there a way to access this parameter somewhere?

NB: by "tabs" I mean the element of graphical interface allowing to edit multiple files in the same window as shown in the picture below

enter image description here

Hugo Trentesaux avatar
in flag
I'm using Gnome on multiple Ubuntu / non-Ubuntu OS.
Hugo Trentesaux avatar
in flag
That does not answer the question. Let's say I only use Ubuntu 20.04. The question is still about this gedit parameter.
heynnema avatar
ru flag
Gedit DOES open multiple documents, into different tabs, in the same window. Doesn't yours?
Hugo Trentesaux avatar
in flag
It depends on the context. If there is a gedit window in the same workspace, it does open a tab in the window, otherwise, it opens a new window. The question is about setting the preference: always open in tab / never open in tab.
heynnema avatar
ru flag
I just tried this exact sequence on my 21.04 system. I opened two .txt docs into Gedit, and both opened in new tabs in the same window. Then I moved the entire Gedit window to a different workspace, then opened a third .txt document, and it opened into a new third tab in the Gedit window in the other workspace. Do you have some special theme, gnome-extension, or non-stock Ubuntu mod installed?
Hugo Trentesaux avatar
in flag
So you mean gedit opened the file in an existing window located in an other workspace? I never saw this behavior. And my Ubuntu is pretty much untouched.
heynnema avatar
ru flag
Log into a different user account, create one if you don't have one, and retry Gedit there and see if you have the same results. Report back. Start comments to me with @heynnema or I may miss them.
Sri avatar
ph flag
Sri
@HugoTrentesaux please see my answer that attempts to achieve the desired end functionality.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.