Open daroczig opened 12 years ago
I am pretty sure it's something about my settings, but have no idea how to resolve that.
Now if I set the default terminal to terminator
, then the first time I start a host a terminator
window would be opened with the host attached to that. Clicking on another host opens up a new window without running any commands in there.
I use zsh
on Arch Linux
running GNOME Shell 3.4.2
You can reset your configuration by deleting the file .connmgr (backup it first).
Or you can change the first part of the configuration file:
{ "Global": { "terminal": 0, "menu_open_tabs": true, "menu_open_windows": true }, "Root": [ [ ...
to change extension's behaviour.
On 19/10/2012 14:39, Gergely Daróczi wrote:
I am pretty sure it's something about my settings, but have no idea how to resolve that.
Now if I set the default terminal to |terminator|, then the first time I start a host a |terminator| window would be opened with the host attached to that. Clicking on another host opens up a new window without running any commands in there.
I use |zsh| on |Arch Linux| running |GNOME Shell 3.4.2|
— Reply to this email directly or view it on GitHub https://github.com/sciancio/connectionmanager/issues/26#issuecomment-9599523.
Thanks a lot! I have restarted gnome-shell
and that strange issue in my last comment is gone away.
But my problem is after all that I have an IMHO all right conf file, beginning with:
{
"Global": {
"terminal": 1,
"menu_open_tabs": true,
"menu_open_windows": true
},
"Root": [
[
{
So currently configured for terminator
, but a new window is opened up every time I click on a host or an app. Is this normal? Tabs are to be used only when a user clicks on "Open all in tabs" button?
Yes, it's normal. Tabs are used only with "Open all as tabs" button.
On 22/10/2012 21:12, Gergely Daróczi wrote:
Thanks a lot! I have restarted |gnome-shell| and that strange issue in my last comment is gone away.
But my problem is after all that I have an IMHO all right conf file, beginning with:
{ "Global": { "terminal": 1, "menu_open_tabs": true, "menu_open_windows": true }, "Root": [ [ { So currently configured for |terminator|, but a new window is opened up every time I click on a host or an app. Is this normal? Tabs are to be used only when a user clicks on "Open all in tabs" button?
Is there any chance to add a new option about this question in the settings? Like you have a list of supported terminals, maybe adding a checkbox to open new terminals in tabs/windows?
You can not open a tab in a terminal already open, unless you're on the same terminal.So I can not run any commands, from extension and not from the terminal, to open a tab inthat terminal.
On 23/10/2012 21:54, Gergely Daróczi wrote:
Is there any chance to add a new option about this question in the settings? Like you have a list of supported terminals, maybe adding a checkbox to open new terminals in tabs/windows?
— Reply to this email directly or view it on GitHub https://github.com/sciancio/connectionmanager/issues/26#issuecomment-9715736.
Well, that must depend on the terminal.
E.g. with guake
this is quite straightforward of course, but I do use e.g. lilyterm
and used terminator
also as I've updated the terminal.js
to always open a new tab instead of a new window by default, so I had always one window and all tabs landed inside that.
I am not sure if it's just me or others too who uses terminals in one window, that's why I opened this ticket. Pls feel free to close it any time, I can use my custom fork - where I hardcode terminals to open up in tabs instead of windows.
Perhaps you can open a new tab in gnome-terminal using xprop and xdotool? I also believe you can use xdotool to on a certain pid...
Also here are some useful links: http://superuser.com/a/178618/215992 http://dragosionita.com/82/xdotool-launch-terminal-tab.html
Sorry for spamming.. But here is a working shell script that can launch gnome-terminal in a new tab. https://gist.github.com/Raboo/5361942 However i'm unable to make it work with connection manager..
@Raboo: connectionmanager
can open new terminals as tabs instead of windows for ages (with e.g. gnome-terminal
- see gnome-terminal --help-all
), I wrote here about making that as optionally default - not just when you click on "open all".
@daroczig for me when I run gnome-terminal --tab it opens a new window, it does not reuse the old one.
Sry, I do not use gnome-terminal
any more, so not sure about the exact parameters, but pls see @sciancio's parameters in the sources: https://github.com/sciancio/connectionmanager/blob/master/terminals.js#L159
As far as I see all commands are run in a new window by default (for
gnome-terminal
andterminator
), or I have screwed up my configuration. Any idea how to get new tabs instead of windows by default?The "Open all as tabs" button is working fine.