Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xterm]

xterm is the standard terminal emulator for the X Window System. A user can have many different invocations of xterm running at once on the same display, each of which provides independent input/output for the process running in it (normally the process is a Unix shell).

1
vote
0answers
10 views

xterm -iconic in Ubuntu 18.04 Gnome 3.28.2 not working

In Ubuntu 16.04 I would run xterm at startup: xterm -iconic -title "Redshift" -e "echo \\"Redshift started...\\" && redshift -l geoclue2" It would open as a minimized icon. In Ubuntu 18.04 -...
1
vote
1answer
42 views

Clear needs root access

Bit of a newbie here, but couldn't find this problem anywhere on the forums. Running Ubuntu 18.04, default terminal. Upon entering the clear command, terminal returned terminals database is ...
0
votes
1answer
230 views

xterm display is not set

When I run: xterm The following text is shown: Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely ...
0
votes
0answers
45 views

Why does it stop writting to log file?

I wrote a python script which does a lengthy job. At the end of the script, it calls a subprocess. call command which reads .... 2>&1 | tee logfile. The program runs on a headless server and ...
2
votes
2answers
81 views

How to get image support in xterm-terminal? [duplicate]

I want to know how to view images (.jpg, .png) via terminal (xterm or gnome). Please help me. How to enable visual support inside terminal?
0
votes
0answers
29 views

Codeblocks/XTerm permission denied error on compilation

I just installed Codeblocks in my Ubuntu system, wrote a simple program, and after pressing the key combination Ctrl + F9 to compile this, I got the message Permission denied. Return to the homepage. ...
1
vote
2answers
660 views

No Nautilus, Xterm, Terminal Ubuntu 18.04

I'm not sure what has recently changed for this to happen, but at the moment I can't open Terminal or the Nautilus file manager. Xterm was suggested on another forum as a way of checking some fixes, ...
0
votes
1answer
39 views

Multiple issues with Ubuntu 16.04 (Unity) Terminal (Not getting Context menu)

Ubuntu noob here. Used Crouton to install Ubuntu 16.04 (Unity) over my Chromebook. While I am enjoying the OS, I am not so pleased with how the terminal looks. The terminal (Ctrl + Alt + T) default ...
0
votes
0answers
64 views

Condition on the output to xterm of a variable that has been echo'ed in color

The fourth line of this code outputs the input argument in green color to an xterm. However, I'd like to be able to condition on the value of the input. If I input the word Foo then from bash's ...
0
votes
2answers
42 views

Copying one file to many based on other file names and types

I have a bunch of files named after a bunch of letters (c,f,s & w), e.g.: cccf.png, fsws.png, etc. There is also a file that I need to copy to match these names with a [back] in the name, e.g.: ...
0
votes
0answers
20 views

How to forbid focus switch for some X windows

I work with an application which creates 8 Xterm windows every time it is launched. Each time a new window appears, it grabs the focus. It is very irritating, since these windows contain only logs ...
0
votes
0answers
8 views

After Ubuntu 16.04 LTS update, xterm displays only a white solid square (all text invisible)

Updated Ubuntu 16.04 using 'Ubuntu Software/Updates' and then immediately after, opened xterm to find only a single white square as a cursor and no other text visible. Looks like I can type in (...
1
vote
2answers
517 views

installing Python3.6 (and purging some 3.5 packages) messed up with my terminal

I was following the instructions to install Python3.6 on my Ubuntu 16.04 machine from here and in the process I also did some sudo apt-get purge on some Python3.5 packages (so that I would only keep ...
1
vote
1answer
921 views

xterm not opening inside Mininet hosts. NO SSH, NO VM

I just installed Ubuntu 17.10, and Mininet 2.2.2 from Packages (sudo apt-get install mininet) on my laptop. Natively, i.e. a real OS on a real machine, no virtual machines of any sort. The laptop is a ...
1
vote
1answer
786 views

Finding and installing a good bitmap font for xterm

I love bitmap fonts in my xterm, they look very good, there is no subpixel rendering or other antialiasing, but the fact they are hand made in regards to every pixel makes it cool. But I do not know ...
1
vote
1answer
41 views

Cannot use sudo from GUI terminal emulator only

I just followed the directions here: https://blog.kumina.nl/2010/07/two-factor-luks-using-ubuntu/ for using a smart card to unlock my luks drive on boot. I changed things slightly since the install ...
0
votes
0answers
23 views

Move from one xterm to another and back again using wmctrl

I'm running fvwm and have multiple virtual desktops open. I'd like to be able to write a bash script that would take me from one xterm to another---this part is easy, using wmctrl -a---and then ...
0
votes
1answer
227 views

Terminal doesn't start after editing locale file

gnome-terminal doesn't open after I edited locale file here /etc/default/locale and I don't have xterm or any other Terminal app installed to see if it runs. Same problem reported here and here I ...
1
vote
4answers
749 views

how can I open a extra console and run a program in it with one command?

So I know if I type gnome-terminal or xterm, a new window will be popped out. Then I checked the man page for these two, nothing relevant found. Then I noticed under Mac you can do it with the ...
0
votes
0answers
23 views

Screen command cuts off mouse at 95 columns

I'm using the 'screen' command for a persistent shell session. It seems to work pretty good, with a couple of caveats. Mouse clicks only register as 95 columns or less. The bottom line sometimes ...
0
votes
1answer
151 views

Get linux 'screen' to recognize xterm mouse-click cols > 95

I have a Web-based terminal using xterm.js and ssh2 from node.js. When I click, xterm.js sends mouse-click coords via xterm escape sequences. This works fine. When using the 'screen' cli utility, ...
0
votes
1answer
72 views

Save multiple terminal as variables

I have to open multiple xterm windows and save them later to run different commands in each of them while keeping them alive. An example (not correct at all) would be: term1= xterm -hold -title "...
0
votes
1answer
86 views

Setting the scaleHeight attribute of an xterm while within the xterm

Because my underscores keep disappearing in my xterm's I've set XTerm.scaleHeight: 1.1 In my .Xresources file. This fixes the problem, but when I switch between different external ...
3
votes
1answer
2k views

Pasting external text into XTerm or UXTerm

I have a newly installed Ubuntu 17.04 Server and am trying to install some packages that require long command lines. I want to copy the long command line from the web page and paste it into the ...
2
votes
1answer
4k views

Code::Blocks 13.12 Process terminated with status -1 (0 minute(s), 0 second(s) )

I installed codeblock in ubuntu and try with a helloworld c++ program with the following code: include <iostream> using namespace std; int main() { cout << "Hello world!" << ...
0
votes
0answers
358 views

/etc/hosts file add edit and deletes using root user OR admin users

i have 60+ plus workstation running ubuntu 14.04 and 16.04 is there any tools or command that can i automatically add edit or delete hosts file in location /etc/hosts for example: pc-1 pc-2 pc-3 ...
3
votes
0answers
531 views

How to open Google captcha image in Ubuntu Terminal

I am using Lynx on Ubuntu to open Google.com for search but it is showing image captcha (may be because of shared IP). Lynx don't show images and I tried to use w3m but that is also not showing images....
1
vote
0answers
14 views

Setting launch options for Xterm [duplicate]

I would like to start Xterm terminal with "Always on Top" option enabled rather than right-clicking and setting it on manually each time. How can I do it ?
2
votes
0answers
63 views

UnixTree (XTree for Unix Systems) does not appear in color [duplicate]

I am trying to use UnixTree (www.unixtree.org) on Ubuntu 16.04 LTS via the Ubuntu Terminal. If I run the application "xt" I get the following error: $ xt No term file or database entry found for ...
0
votes
1answer
101 views

How to get ssh under xterm not to break alt key?

I have started running in an Ubuntu 16 VM, running tigervnc 1.7.0, and run into an odd environment. Local windows behave as expected when I use alt-, for instance in a shell to back up a word via alt-...
0
votes
1answer
602 views

Change background color of terminal emulator wrapper

I installed a ubuntu 16.4.1 command-line version from the minimal cd. Then I installed x-server. The command x-terminal-emulator is linked to the wrapper /usr/bin/lxterm of xterm. Now I want to have ...
0
votes
1answer
348 views

Capturing terminal-content from a pseudoterminal (pts)?

On Ubuntu, is there a way to capture the content of a pseudoterminal (pts - eg. /dev/pts/4) - ie. dump the lines of text in the terminal to a file - of a program that's already running in that ...
0
votes
1answer
36 views

can all in the network connected in one terminal?to make run commands to all

is there a way to take a one terminal connected to all networks? i say im running in a network with 60 PC and im using xtrem and Other way is Open-SSH to run a same commands to all pc 1 by 1 is there ...
0
votes
1answer
3k views

Change background colour in Xterm

I want to change Xterm's (not the gnome terminal) background colour in Ubuntu 16.04 but there happens to be no title bar. I could not even find the Xresources file. Also, I want the colour change to ...
1
vote
1answer
85 views

Lowercase 's' doesn't work in Ubuntu terminal [duplicate]

Anyone else had this very infuriating problem that has been bugging me for the past hour. The lowercase 's' and only that key alone doesn't ever get printed on my terminal or xterm. Every other key ...
1
vote
1answer
897 views

How to copy paste in Xterm using Ctr l+ C , Ctrl + V in Ubuntu

How to copy and paste in Xterm using Ctrl+C and Ctrl + V like Windows in Ubuntu 16.04? (Using codeblocks)
3
votes
1answer
539 views

Launch a window in a half of the screen in Lubuntu

While setting up a configuration for a live Lubuntu, I need to launch (after booting, on startup) a terminal (lxterminal preferred) window in the left half of the screen, and an editor (gedit ...
1
vote
1answer
78 views

Is it possible to see Persian words by W3M?

I use Ubuntu 14.0.4 and some times, use w3m and XTerm as browser. I saw EastAsianWidth.txt which seems contains Persian letters. So I expect w3m will show Persian words. Also this is Charset Settings ...
4
votes
0answers
466 views

Terminal emulator that has “code folding”

Sometimes I regret running ls in a directory containing a lot of files because it produces too many lines in my terminal. So I'd like to be able to collapse & expand the output of each command ...
1
vote
0answers
84 views

How to configure xterm cursor to be a perfect square?

Escape sequences can alter the symbol and color of the cursor in a terminal, but how can I change the aspect ratio? When using a square font (e.g. Panoptica), I would like that it prints with the same ...
1
vote
0answers
268 views

Python internal terminal shrinking

My problem is somewhere within my code but I cannot find where, the problem is when I push one of the buttons the xterm window intergrated within the program resizes between two buttons (which's space ...
3
votes
1answer
3k views

XTerm is seemingly ignoring .Xresources font size

I'm having some strange issues with regards to XTerm font sizes since the Xenial update. The actual content of the terminal (prompts, output, etc) appear excessively large, and I can't adjust them at ...
3
votes
0answers
87 views

How do I make the bash terminal use my “home” custom Palette color scheme over an ssh connection?

There are colors when I ls when connected to the remote system using xterm-256color, but they are not the palette colors I have selected in my profile. I had this working before, but recently had to ...
1
vote
2answers
3k views

I don't seem to have the gnome-terminal

When I press Ctrl + Alt + T, Ubuntu 16.04 opens xterm and when I search for gnome-terminal nothing is found. I searched for terminal and the only 2 applications there are XTerm and UXTerm. How do I ...
1
vote
0answers
335 views

How to run GUI program in remote shell via xterm and then close xterm without kill program

I need to launch a program having a GUI, press "start" button on it and then close xterm keeping up the program till the end of his process. How do I do that?
2
votes
2answers
10k views

xterm error : xt error can't open display xterm display is not set

I have no idea how to set the display. I keep getting the following error error xterm: xt error can't open display xterm display is not set I have searched online but haven't found any solution. ...
0
votes
1answer
143 views

How to create a alias for running a server and its client simultaneously

I'm trying to create an "alias" to run a server in a separate terminal, then after a few seconds open its client, this is the command I'm trying: alias kingp='xterm -e sudo /opt/king-phisher/...
0
votes
1answer
524 views

Making xterm use unifont

This might be an exceedingly silly question, but I can't seem to solve it anyway. I want to use GNU's Unifont in xterm, and with the purpose in mind I installed the package xfonts-unifont, but to no ...
0
votes
1answer
150 views

Why .cpp files can run on xterm when .c or .cc files can't?

i wrote a code on codeblocks, compiled it and it created a executable file but didn't run. xterm is showing permission denied. but when i saved the program with .cpp extension it worked well and ...
1
vote
1answer
2k views

XTerm instead of Terminal in .desktop

I have this .desktop file set to update my software: [Desktop Entry] Version=1.0 Type=Application Name=Update Software Comment=Application Exec=/home/david/Update_Script.sh Icon=/home/david/Downloads/...