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).
177
questions
538
votes
12
answers
909k
views
How to really clear the terminal?
I can issue the clear command or press Ctrl + L to clear the current Ubuntu terminal, but this just shifts previous output upwards and if you use mouse scroll or PgUP and PgDown keys it's hard to ...
140
votes
8
answers
435k
views
How to change the default font size of XTerm?
XTerm font is very small. How can I set it larger?
79
votes
14
answers
304k
views
How does copy-paste work with xterm?
Left-down-clicking in xterms starts the selection of something to be copy-pasted.
Double-left clicking selects a word.
Triple-left clicking selects a line.
All this works under unity in 11.04. ...
59
votes
10
answers
154k
views
Backspace, Tab, Del and arrow keys not working in terminal (using ssh)
When I ssh into another Ubuntu machine with my account (with sudo permissions), my backspace key generates some awkward symbols on pressing. Also Tab, Del and Arrow keys don't work.
On the other hand,...
31
votes
2
answers
5k
views
Why does the command "xterm xterm" create an infinite recursion?
I am running Ubuntu 14.04 (64 bit). When I first found out about the command xterm, I tried the command xterm xterm, and it started infinitely opening new xterm windows.
ctrl + C stops it immediately ...
25
votes
3
answers
4k
views
Why can terminal uninstall itself?
How does apt-get remove xterm go through? And after it's been uninstalled, xterm doesn't close and continues to function normally.
Is the xterm process cached in RAM whilst it is running?
25
votes
4
answers
83k
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 ...
20
votes
1
answer
3k
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 ...
13
votes
2
answers
37k
views
No terminal colors in Ubuntu Server 12.04
I've tried everything from this duplicate question but I still can't get it to work. The only difference from that question is that when I run env | grep TERM I get TERM=xterm instead of TERM=xterm-...
12
votes
7
answers
181k
views
ssh -X "Xt error: Can't open display: :0.0"
I'm trying to open xterm on my remote server (Ubuntu Server 10.04) with ssh:
ssh -X name@machine xterm
but the error returned is:
xterm Xt error: Can't open display: :0.0`
I googled and tried ...
11
votes
3
answers
10k
views
How to make xterm to send the Alt key to emacs as Meta?
I see that this question has been asked multiple times. The solutions given there in does not seem to apply to my setup. Here is my story:
I use ubuntu 12.0.04 LTS, with xmonad (not over gnome), and ...
10
votes
3
answers
18k
views
Simply set xterm title?
it sounds like a stupid question, but I hope it isnt.
I want to create a simple xterm with a fixed title. I tried:
xterm -title whatever (that is what xterm --help suggests)
xterm -T whatever (...
10
votes
6
answers
2k
views
How to save GNOME Terminal contents with ANSI escape codes?
VT100 terminals have a relatively simple way to save terminal contents with escape codes to a file using Meta-p:
XTerm.VT100.printAttributes: 2
XTerm.VT100.printerCommand: cat - > file
XTerm.VT100....
8
votes
3
answers
28k
views
How to enable cut or copy-paste in xterm
I regularly uses xterm for web browsing because of its image rendering property but the one thing which makes xterm difficult comparing to terminal is the copy/cut paste availability in terminal ...
7
votes
3
answers
11k
views
LXTerminal and XTerm Resize Command
I want to execute a command in a bash script that will resize the terminal window. In xterm
xterm -geometry=30x30
will create a new xterm window, and
lxterminal --geometry=30x30
will create a new ...
6
votes
2
answers
618
views
Can XTerm do all the things Terminal can do?
Is XTerm able to do all of the things the regular terminal can do?
6
votes
1
answer
696
views
Highlighting with grep doesn't work in Xterm
I've got a problem with Xterm.
When I use the command
tail -F example.log | grep -a -i -e 'examplestring'
in Xterm the "grepped" strings aren't highlighted in red like they would be in the normal ...
6
votes
3
answers
10k
views
Can't get the right colors in gnome terminal
I want to use a base16 colorscheme from here.
The steps I followed:
cloned the repo
ran the scripts
changed the terminal profile to base16-default (which did change the colors)
This is the result ...
6
votes
2
answers
2k
views
xubuntu xterm strange lag/echo issue with ssh
I have a xubuntu box and using its terminal everything is fine locally; but when I ssh to any server, the remote echo seems to be holding the last line until a key is pressed or the window is resized. ...
5
votes
1
answer
3k
views
How to remove the bottom blank line of gnome-terminal in fullscreen mode?
gnome-terminal works perfectly in normal mode, but once it enters fullscreen mode, there is always an empty bar at the bottom (see gif below). Is it possible to remove that?
screenshot of the empty ...
5
votes
2
answers
13k
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 ...
5
votes
2
answers
21k
views
what is the use of xterm in Ubuntu?
I am bit confused as in terminal window I typed xterm in Ubuntu it simply opened new terminal window xterm but was doing the same work as the default.
And its also mentioned this terminal is for the ...
5
votes
2
answers
2k
views
Why does xterm alt-backspace produce the Unicode character U+00FF?
In xterm, when I press alt-backspace, xterm produces the Unicode character 'LATIN SMALL LETTER Y WITH DIAERESIS' (U+00FF) as described here. It shows up on-screen as a 'y' character with two dots ...
5
votes
3
answers
24k
views
How to paste text from an external source into the xterm edited file? [duplicate]
I want to copy some text from a webpage and paste it into a file opened with xterm editor. How can I paste my text into the xterm edited file?
5
votes
2
answers
11k
views
Any alternative to XTerm with splitting and tabs?
XTerm is great because I can view images inside it in w3m or ranger. However, as a terminal it does not support tabs or splitting. Is there an alternative that works like XTerm but supports splitting ...
5
votes
1
answer
2k
views
Why does gnome-terminal $TERM display xterm
I'm trying to get the solarized color scheme in my terminal and am working through some tutorials online. I have run across the $TERM environment variable that from my understanding is the current ...
5
votes
2
answers
2k
views
vim colorschemes don't take effect on startup
I have a problem wherein, whenever I start VIM the colorscheme I set on my .vimrc it doesn't take effect upon first running VIM, but then whenever I execute :colorscheme 'mycolorscheme' the ...
5
votes
2
answers
12k
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 ...
5
votes
3
answers
8k
views
Xresources not doing anything in 13.10
I'm trying to understand the capabilities of .Xresources yet I cannot get it do do even the most simple of configurations. For instance, I want to be able to change the background color of my terminal....
5
votes
2
answers
2k
views
who / w / logname broken in multiple terminals
I have a strange problem:
In a GUI session, depending on the terminal being used the following two (related) problems appear:
who and w doesn't list the user's active session
logname returns logname:...
5
votes
1
answer
6k
views
Why am I seeing only 8 colors in terminal (Xterm)?
I'm running Xubuntu 13.04 and I want to use Vim as my default editor for everything. I have downloaded many vim color schemas and tried them out, but all of them don't look like the official ...
4
votes
1
answer
20k
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 ...
4
votes
1
answer
3k
views
Use tmux set-clipboard in gnome-terminal (XTerm's disallowedWindowOps)
As shown in the manpages tmux supports the set-clipboard option to control the system clipboard using the terminal escape codes \e]52;...\007. I would like to use this functionality in gnome-terminal, ...
4
votes
1
answer
12k
views
How to add xterm to terminfo
I am using Xilinx' petalinux tools to build and use embedded linux. My host development machine is a VM running Ubuntu 14.04.1 LTS. My board is a Xilinx ZC706 with a Xilinx Z7045 Zynq SoC.
When ...
4
votes
2
answers
10k
views
How do I start xterm with a headless system?
I'm running Ubuntu 12.04 and I want to boot directly and headless in the terminal (no GUI). After that I want to startx to start a program in xterm.
When I boot 'headed', everything is working like ...
4
votes
1
answer
516
views
How can I set a per terminal bell with xterms?
I'm using natty. I'm using classic. I use raw xterms (the latest build, 270, in fact).
I've done
xset b 100
pactl upload-sample /usr/share/sounds/ubuntu/stereo/message.ogg bell.ogg
But I want ...
4
votes
0
answers
2k
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....
3
votes
2
answers
1k
views
Terminal closes after entering a non-existing command
This seems to be a bug, but i'm not sure which package to report it on. Try this:
Open gnome-terminal
shift-ctrl-t (open a new tab)
type: foo foo &
The tab is closed
Correct behavior would be ...
3
votes
2
answers
6k
views
Monodevelop External Console
Ubuntu 12.04. When I run MonoDevelop (IDE) using native shell, Unity, the MonoDevelop External Console that appears during debugging is gnome-terminal.
But if I use another window manager (for ...
3
votes
2
answers
9k
views
Removing Xterm terminal
I seem to have installed something that replaced the default terminal with xterm. How do I get rid of it and bring the default terminal back?
3
votes
2
answers
2k
views
Make "Open in Terminal" use Xterm
I've seen this question, and this one, and neither one is addressing my question. I have already used sudo update-alternatives to set Xterm as my default terminal. I much prefer Xterm as a terminal ...
3
votes
1
answer
6k
views
How do I change xterm's menu background color?
My question is about xterm menu colors, but perhaps I'm doing something else wrong so I'm going to include the background steps that got me to this question.
I'm trying to get XTerm to send escape ...
3
votes
1
answer
14k
views
Code::Blocks 13.12 Process terminated with status -1 (0 minute(s), 0 second(s) )
I installed CodeBlocks in ubuntu and try with a hello world c++ program with the following code:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!"...
3
votes
1
answer
5k
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/...
3
votes
1
answer
3k
views
Cut/paste stopped working in xterm (&UXterm) after upgrading to 11.10
I seem to no longer be able to copy text, (eg; from a web page; "sudo apt-get remove appmenu-gtk3 appmenu-gtk appmenu-q") and paste it into a terminal window. Right click (and alt-rt click, ctrl-rt-...
3
votes
1
answer
6k
views
Uninstall XTerm
I unintentionally downloaded XTerm and UXTerm. GNOME Terminal is working just fine for me for now (I'm new to LINUX), and I don't want to have XTerm and UXTerm on my computer if I'm not using them. ...
3
votes
1
answer
1k
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 ...
3
votes
2
answers
4k
views
Why isn't cluster-SSH working on Ubuntu Server?
I have installed cluster-SSH on my ubuntu 10.04 server, it has a dependency of xterm_261-1_amd64.
when i try to
$cssh localhost
it says
ocpe@blrkec241933d:~$ cssh localhost
connect /tmp/.X11-unix/...
3
votes
1
answer
2k
views
What values are available for fn and fb options to the xterm command?
I am visually impaired and have difficulty with the current settings (9x15 and 9x15bold) which my script is specifying. I would like to enlarge the fonts; how do I determine which values are possible ...
3
votes
1
answer
3k
views
How to start xterm minimized in gnome
Is there a command or setting in the X Toolkit to start xterm minimized?
Having read (1) and man xterm, I tried to start xterm minimized from a gnome-terminal via:
xterm -iconic
or calling the X ...