New answers tagged gnome-terminal
Adding -b to run-shell (or run) command fixed the problem. With -b the shell command is run in the background. bind C-c run-shell -b "tmux save-buffer - | xclip -i -sel clipboard"
It's not possible to start a process without it being the child. When you execute an external command, under the hood the shell calls fork() followed by execvp(). You can prevent it from getting killed when the parent shell dies. One way is to use nohup: nohup gnome-terminal & Another option if you are using bash is to disown the process: ...
Yes just try to open this as follow. $ sudo gnome-terminal & So that both the terminals are available to you for work. But remember not to close the Parent terminal, as it will close the child terinal. I is possible with nohup. $ nohup gnome-terminal & $ exit
When I did a $ gnome-terminal -t "MyTitle" The new terminal had "MyTitle" as the title for a moment and immediately was replaced by the default title. I went to Edit | Profiles | (Default) | Edit | Title and Command And changed "When terminal command set their own titles:" to "Keep initial title", the above command launched a terminal with ...
You could check if you are running in a graphical terminal and only set TMOUT if you are not. An easy way to do this is the tty command: tty - print the file name of the terminal connected to standard input When run from a GUI terminal emulator: $ tty /dev/pts/5 When run from a virtual console: $ tty /dev/tty2 So, adding these lines to your ...
Top 50 recent answers are included