Questions tagged [gnome-terminal]

For questions about writing programs to communicate with the GNOME Terminal application (or about modifying its internals). DO NOT add this tag simply because you happen to use this terminal when interacting with a program that could use other terminals equally well.

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

569 questions
0
votes
1 answer

Can not change gnome-terminal to solarized by running script with ansible playbook

I'm writing some roles for setting up a virtual machine using ansible. I'm trying to set the gnome-terminal color theme to Solarized https://github.com/Anthony25/gnome-terminal-colors-solarized I can run the script from the terminal and the color…
Pham
  • 1,065
  • 1
  • 7
  • 9
0
votes
1 answer

stdin: hex values change depending on stdin

I'm creating a hashing program that takes either a file or stdin and prints out the hash in either another file or to the terminal via stdout. My issue is I'm getting different hash values based on the same stdin because the hex values of the…
ChangeJar
  • 163
  • 1
  • 1
  • 10
0
votes
1 answer

Failed to change controlling terminal from xterm to gnome-terminal

I use Code::Blocks as my C/C++ IDE, but the default value of launching console programs is: xterm -T "program name" -e /usr/bin/cb_console_runner "program path" I want to change the controlling terminal from xterm to gnome-terminal because of the…
Kevin Dong
  • 5,001
  • 9
  • 29
  • 62
0
votes
1 answer

How to remove ^c mark from own shell?

In normal terminal, If we run command like 'top' and when we pass interrupt signal through ctrl+c, command terminates But in my own shell it also terminate but also print ^c in the terminal. How can I prevent to print ^c. I need system call to do…
John3245
  • 177
  • 2
  • 13
0
votes
1 answer

Shell interface in tmux does not work

I using gnome-terminal and start in them tmux session. But in tmux all terminal feauters has not working. Outside of tmux (in raw gnome-terminal) all working well. History navigation does not work (arrow up/arrow down keys). User name and current…
rusffer
  • 88
  • 8
0
votes
1 answer

Multi-line grep with positive and negative filtering

I need to grep for a multi-line string that doesn't include one string, but does include others. This is what I'm searching for in some HTML files: . . . In other words, I want to find files that contain…
Kyle Challis
  • 981
  • 2
  • 12
  • 28
0
votes
2 answers

alias to retitle current gnome-terminal

In a gnome-terminal (bash) I can run this command to change the title of the terminal to "hello": PROMPT_COMMAND='echo -ne "\033]0;hello\007"' That's great, but now I want to create an alias named "title" in ~/.bashrc to run that command so that I…
dmohr
  • 2,699
  • 1
  • 22
  • 22
0
votes
2 answers

Simple C program executed in the terminal with prompt alogside the final output

I have written a simple "hello, world" program from here http://www.cprogramming.com/tutorial/c/lesson1.html cprogramming: lesson 1, the output is shown then the terminal prompt shows up in the following one. When executing another program: #include…
Mohamed Ahmed
  • 457
  • 1
  • 7
  • 25
0
votes
1 answer

open a tab and running a script using gnome-terminal --tab option on Ubuntu

I am currently in my Project directory. $ pwd /home/karthik/Projects I do the following from the cmdline. gnome-terminal --tab --working-directory="/home/karthik/mininet" -e "sudo ./my_topo.sh" I expect the above command to do the following 1)…
liv2hak
  • 14,472
  • 53
  • 157
  • 270
0
votes
1 answer

C- is intercepted in emacs -nw (terminal intercept?)

I use urxvt (terminal) under awesome (window manager) and ubuntu (os). In graphical mode, c- set the mark but in text mode it inserts a space. The problem is solved when using gnome-terminal but some other key combinations still does not work. For…
M. Toya
  • 615
  • 8
  • 24
0
votes
1 answer

Can't change color of tcl log in application or console

The log module is described here quote: ::log::lvColor level color Defines for the specified level the color to return for it in a call to ::log::lv2color. Unique abbreviations of level names are allowed. But where is this color set? Does this…
Sadık
  • 4,249
  • 7
  • 53
  • 89
0
votes
1 answer

how to overwrite default system key mapping in vim

I want to map f1 to create a new tab so I add the following line map :tabnew into my .vimrc and save it . But when I hit f1 in vim the GNOME TERMINAL MANNUAL window pops up rather than a new tab being created . So what should I do…
Haiyuan Zhang
  • 40,802
  • 41
  • 107
  • 134
0
votes
1 answer

Communication between two gnome-terminal sessions

I have python program main.py import subprocess p = subprocess.Popen( "/usr/bin/gnome-terminal -x 'handler.py'", shell = True, stdin = subprocess.PIPE, stdout = subprocess.PIPE) p.stdin.write('Text sent to handler for display\n') where…
0
votes
1 answer

Clicking an empty space in gnome-terminal selects the whole line

I have a very frustrating problem: left-clicking an empty space in gnome-terminal selects the whole (empty) line. This pretty much kills all the copy-paste functionality of gnome - in order to copy from one window to another I need to change focus…
kliteyn
  • 1,917
  • 11
  • 24
0
votes
0 answers

Vim color in gnome-terminal

I've been looking everywhere for an answer to this, nothing so far. I installed vim, got the colorschemes, got a bunch of plugins (including guicolorscheme.vim), followed the steps on the wiki and the terminal does not display a single color. When I…
user94849
  • 1
  • 2