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

gnome-terminal (or VTE) sets $TERM to xterm rather than xterm-256color

Is there a compelling reason why gnome-terminal (and, under the hood, maybe the VTE widget) sets $TERM to xterm rather than xterm-256color? Clearly it supports 256 colors. For a while, I had a line in my .bashrc/.zshrc to simply export…
Hut8
  • 6,080
  • 4
  • 42
  • 59
0
votes
1 answer

open terminal on X window by apache + django

I am using apache + django(mod_wsgi) to do some job. First, I write a simple bash script that will invoke terminal on X window, and executing some command. ex: DISPLAY=:1 gnome-terminal -e 'sleep 9999' & If I run this command/script in ssh session,…
CSJ
  • 2,709
  • 4
  • 24
  • 30
0
votes
1 answer

Results from ps -e, rss versus vsz

I am currently working on a memory leak issue that we have in our software. I have created a bash script which logs the rss and vsz information from ps. What I see from the results is that the vsz goes parallel with the rss results. Is this somewhat…
Dundar
  • 1,311
  • 1
  • 14
  • 25
0
votes
2 answers

How to set gnome-terminal's character set encoding according to the system one calls?

The employees of our company use gnome-terminal run from Debian workstations to access a variety of systems running different O/Ss on our local network. Everything works very well except that the host systems and their applications use different…
VolDeNuit
  • 53
  • 8
0
votes
2 answers

create shell script to open two terminal with different programs in gdb with here document

I want to run two terminals with follwing options. 1) gdb drizzle 2) gdb drizzled << EOF If I start the script with gnome-terminal or xterm it doesn't run the commands I give it afterwards.
aj_
  • 19
  • 7
0
votes
1 answer

Subl command ties up a terminal

I often use the subl . command to open folders in Sublime Text from the terminal (I use Terminator for Ubuntu usually). But there is something annoying about it. That process has to just keep running, tying up an entire terminal tab until i do ^C…
Vincent
  • 1,454
  • 2
  • 17
  • 24
0
votes
2 answers

creating dir with mkdir in debian

I am trying to create a directory using mkdir in Debian but the problem is that the directory is created in the root directory. The problem comes trying to install OpenFOAM and I suspect that it is because "$" is used to create it. Following the…
flaviusaetius
  • 23
  • 1
  • 7
0
votes
5 answers

See GNOME Terminal output in virtual console

I've got a program running in a GNOME Terminal, but the screensaver is acting up and won't let me back in with my password. While waiting for a fix for the gnome-screensaver bug, is there some way to see the output (or even take over the process) in…
l0b0
  • 55,365
  • 30
  • 138
  • 223
0
votes
1 answer

Python: prevent system process from going background

I am trying to write a downloader script (placed in unity luncher) using python that calls wget with all the right arguments. The script extracts url from clipboard and the file name from gtk primary clipboard, the one operated by text selection or…
CuriousCat
  • 429
  • 5
  • 16
0
votes
1 answer

multiple "gnome-terminal" with python issue

I am writing a python program that runs the following: import subprocess import time def fun1(): terminal1 = ['gnome-terminal'] terminal1.extend(['-x', 'sh', '-c', '"roscore"']) pid = subprocess.Popen(terminal1,…
flipmurry
  • 15
  • 1
  • 5
0
votes
1 answer

Access data from terminal

I have to write a program that intercepts data from terminal and i have to parse it. After processing when the data, i have to parse it before it goes to stdout. I can't use tee or commands like prog > file 2>&1 as the program is going to be…
quick-
  • 1,425
  • 2
  • 9
  • 13
0
votes
1 answer

redirect log outputs to another terminal

I have the following script file, which executes a Java main class and print some log data on the terminal. I want to redirect whatever prints this program to another terminal (for example /dev/pts/1, but that didn't work for me). How to do it…
TheForbidden
  • 1,533
  • 4
  • 22
  • 30
0
votes
1 answer

.rvmrc is not read in gnome-terminal

In one directory I have these files: $ ls -1a . .. Gemfile Gemfile.lock .rvmrc test.rb but .rvmrc file is not read when we change to this directory. I have configured gnome-terminal as this page say: https://rvm.io/integration/gnome-terminal/ It…
Israel
  • 3,252
  • 4
  • 36
  • 54
0
votes
1 answer

How can I kill off a gnome-terminal completely?

I noticed when I do the following, the gnome-terminal simply goes into "Zombie State" char *cmd = "kill " popen(cmd, "r"); Is there a way to completely kill off the program? I need it to release its PID.
0
votes
1 answer

Unable to call gnome-terminal command in my C++ code

char *mycmd = "gnome-terminal --profile 'me' -e '/usr/bin/programA --file/usr/bin/config/myconfig.ini --name="programA" --loggingLevel=1'"; popen(mycmd, "r"); Error on 1st line: error: expected ';' before 'Node' I know this is because of the "" for…