Questions tagged [gnome-terminal]

The default GNOME desktop terminal emulator, allowing users to execute commands using a real UNIX shell while remaining on their graphical desktop.

511 questions
8
votes
4 answers

In linux, how can I test whether the output of a program is going to a live terminal or to a file?

When you use git it seems to magically know whether standard out is going through a pipe or into a file vs when it is being displayed to the console. For example, if you have colors enabled and you do git status it will colorize the output for…
Ross Rogers
  • 21,332
  • 23
  • 99
  • 156
8
votes
2 answers

Forgotten MySQL username on ubuntu

I've forgotten my MySQL owner details. I need a way to find my username. My password will not be a problem. I use Ubuntu 12.04 Linux, and would prefer a command line solution. Thank you in advance.
Ema4rl
  • 576
  • 1
  • 6
  • 17
7
votes
3 answers

Getting pid of a background gnome-terminal process

I can easily start a background process, find its pid and search it in the list of running processes. $gedit & $PID=$! $ps -e | grep $PID This works for me. But if I start gnome-terminal as the background process $gnome-terminal & $PID=$! $ps -e |…
db42
  • 4,184
  • 4
  • 30
  • 36
7
votes
4 answers

Error when trying to run code: Debugger operation failed, Native error= Cannot find the specified file

I recently completely transitioned to Linux but struggle to find a good way to code in C#. I discovered Monodevelop which looks similar to Visual Studio, but whenever I try to run any code I get this error ( I run pop! _os if it matters): Debugger…
user12536783
7
votes
2 answers

Print bold or colored text from Makefile rule

I'm trying to print bold text from the following Makefile : printf-bold-1: @printf "normal text - \e[1mbold text\e[0m" But, escape sequences are printed as-is, so when running make printf-bold-1, I got : normal text - \e[1mbold…
norbjd
  • 6,496
  • 3
  • 25
  • 56
7
votes
1 answer

How to bind CTRL + Enter in zsh?

I want to bind Ctrl+Enter ↵ in zsh: bindkey '^M' autosuggest-execute But it seems that the terminal sends the same escape sequence for any modifier key except for Alt. $ showkey -a Press any keys - Ctrl-D will terminate this program ^M 13…
Andrija Čehko
  • 383
  • 6
  • 13
7
votes
1 answer

gtk_icon_theme_get_for_screen error for nautilus

Recently i have updated the ubuntu 14.04 to Ubuntu 15.04. Usually nautilus . command should open the directory in GUI.However, now i am getting the error like below. What is the recent for that and any solution to solve…
Vanji
  • 1,686
  • 14
  • 23
7
votes
4 answers

bash: __vte_prompt_command: command not found

bash: __vte_prompt_command: command not found Whenever I open a terminal, I am greeted with this line. Also, this is printed each time I enter a command in the terminal. I am a linux-noob, and would be happy to read up, if someone can point me to…
pradeepcep
  • 713
  • 2
  • 7
  • 20
7
votes
3 answers

Mini Project: Change the color of the terminal based on the time of day

Good Evening, I am pretty new to Unix so maybe this mini project is too ambitious. Hoping someone could point in in the right direction. Working in a cubicle and I can't see how light it is outside. In general I use a yellow terminal in the…
sixtyfootersdude
  • 23,394
  • 39
  • 132
  • 200
7
votes
1 answer

gnome-terminal: how to eliminate the scrollbar programatically?

I'm spawning some processes running in their own gnome-terminal and don't want to show the scrollbar. Is there something like xterm +sb to turn the scrollbar off for that particular window?
Mark Harrison
  • 267,774
  • 112
  • 308
  • 434
6
votes
1 answer

Tmux window or pane name won't change in GNOME Terminal

Using Fedora 25 and GNOME Terminal. I have used Tmux for a few years in Ubuntu with a long customized .tmux.conf file. Recently installed Tmux and Tmuxinator in Fedora. When I open the Terminal. I see that the title is set to tom@localhost:~. When I…
tomordonez
  • 321
  • 2
  • 11
6
votes
3 answers

Unable to rename gnome terminal window after upgrading to Ubuntu 15.04

I am not able to rename terminal window after upgrading into Ubuntu 15.04. There are three options with the right click - Move Terminal Left Move Terminal Right Close Terminal And there is no option 'Set title' which was present on previous…
Unaiz Arakkal
  • 109
  • 2
  • 9
5
votes
1 answer

Updated to Python 3.8 - Terminal won't open - [Fixed] but details not understood

I updated my system (Ubuntu 18.04) from Python 3.6 to Python 3.8, and reset the defaults so that python3 now points to Python 3.8 (and not 3.6). However, since then, the terminal has refused to open using Ctrl + Alt + T, and other obvious methods…
epsilon-emperor
  • 179
  • 1
  • 7
5
votes
1 answer

How to exit terminal automatically after exiting tmux

I am not sure whether similar questions were asked, but I did't find in SO. I am using gnome-terminal + tmux. I've add if [ "$TMUX" = "" ]; then tmux; fi in my .zshrc so when I start terminal, I enter tmux automatically. Every time I press Ctrl-D…
WW00WW
  • 197
  • 1
  • 13
5
votes
3 answers

executing a command over ssh, and then running bash

I'm trying to set up a script that opens a terminal, does an ssh to a remote server, and executes a command (tail -F logfile in my case). What I have so far is the following gnome-terminal -e 'ssh -t server "tail -F logfile"' This works to some…
vmpstr
  • 4,841
  • 2
  • 23
  • 24
1 2
3
34 35