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).

learn more… | top users | synonyms

118
votes
9answers
105k 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 ...
27
votes
2answers
2k 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 ...
22
votes
3answers
3k 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?
21
votes
5answers
65k views

How to change the default font size of XTerm?

XTerm font is very small. How can I set it larger?
20
votes
5answers
32k 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 ...
19
votes
7answers
55k 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. ...
9
votes
1answer
19k 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 ...
9
votes
6answers
1k 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 ...
6
votes
2answers
390 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
1answer
287 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
2answers
4k 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
2answers
994 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
6answers
63k 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 ...
5
votes
1answer
551 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
3answers
8k views

Different ways of executing binaries and scripts

I've been using Linux for some time now and I've been searching for a complete overview of this but not found any. I just don't come to terms with all the different ways of executing scripts and ...
4
votes
2answers
2k views

terminal closes immediately after open

I rebooted recently, and now terminal fails to work. If I click the terminal shortcut or use Guake or ctrl-alt-T, the terminal opens briefly with no prompt, then immediately closes again. I installed ...
4
votes
1answer
397 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
1answer
2k 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 ...
3
votes
2answers
1k 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
2answers
219 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
1answer
1k 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
2answers
5k 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 ...
3
votes
1answer
2k views

Cannot type backquote or backtick in xterm

Ubuntu 10.10, 32 bit, XTerm(261), Keyboard layout = Canadian Somehow, the backquote (backtick = `) character can't be input does not get entered in XTerm. I type it and nothing happens. The cursor ...
3
votes
1answer
432 views

vim cursor color change only applied upon movement

In my .vimrc I have the following (based upon a tip on the vim Wikia): if &term =~ "xterm\\|rxvt" " use an red cursor in insert mode let &t_SI = "\<Esc>]12;red\x7" " use an ...
2
votes
3answers
209 views

Need Help Studying for Linux+ Cert

A user (Bob)accidentally makes a subdirectory (bobsdir) in their Home directory and try to remove it but when they use the "rmdir \bobsfile" command they get "No Such Directory". the Answer to the ...
2
votes
3answers
525 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?
2
votes
2answers
775 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 ...
2
votes
1answer
3k views

xrvt-unicode doesn't display unicode characters

I do not why rxvt-unicode doesn't display some unicode characters correctly such as ☁ or ☂ while ⚡ is displayed correctly. These symbols are replaced by a little box as you can see in the screenshot ...
2
votes
2answers
3k views

Need a remote desktop to a headless server without logging in first

I've been using Linux for many years now but only to run servers. Over the last few days I've been struggling with a technical / configuration issue which I hope someone can help with. I've installed ...
2
votes
1answer
45 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, ...
2
votes
1answer
22 views

Why are the characters in xterm so small and how do I change it?

Why are the characters in xterm so small and how do I change it?
2
votes
1answer
64 views

xfce4 boots into an xterm-like environment

Most probably after a forced reboot, whenever I load xfce4 on my Ubuntu 13.04 I get this environment that looks like a buffed-up xterm, where I have an invisible mouse cursor: when I move around I ...
2
votes
1answer
148 views

pound sign and shift-tilde in aterm

I'm having an issue with aterm whereby typeing the pound sign (shift+3) gives me 'ţ', and shift-tilde gives 'Ŭ'. These keys are the only two which don't work properly. Interestingly they work ...
2
votes
2answers
695 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 ...
2
votes
1answer
2k views

How do I set up hotkeys for a xterm?

When I do a ssh to an OpenSuse machine and use yast I have to use tab intead of alt+y for help for example, I don't know what else to say... My question is how to set up this to have a propper ...
2
votes
1answer
2k 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, ...
2
votes
1answer
61 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 ...
2
votes
1answer
48 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 ...
2
votes
1answer
327 views

Can I input Chinese in my xterm?

I have Chinese input working. I have xterm working. I have utf-8 working in my xterm. For example, I can see the lightning bolt unicode character. But when I input Chinese characters, I get those ...
2
votes
2answers
180 views

Middle-button paste stops working under VirtualBox

I'm running Ubuntu 14.10 in VirtualBox under OSX and for some reason pasting with the middle mouse button stops working after a while. If I start a new rxvt pasting works fine but after a while (I'm ...
2
votes
0answers
144 views

Scrollwheel in GNU screen in xfce4-terminal

I apologize that this is pretty much a duplicate of Using the scrollwheel in GNU screen -- Trusty specific difference but I don't have enough reputation to comment on that and I can provide much more ...
2
votes
1answer
52 views

How to keep the code running even after the GUI frontend is exited?

I am writing a shell script that runs upon start-up using xterm and asks the user to do things I want him to do. For example, the code is supposed to ask the user to change his password in 1 minute. ...
2
votes
0answers
52 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 ...
1
vote
1answer
70 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 ...
1
vote
2answers
527 views

How do I add parameters to Unity icons?

Many posts tell you to copy files from /usr/share/applications to your home directory. Well, unfortunately that does not work for non-Ubuntu stuff. Can anybody show me how to add this xterm -bg ...
1
vote
1answer
1k 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 ...
1
vote
1answer
209 views

Separate terminal windows for input and output streams

How do I use different xterm or terminal windows for input and output streams while programming in C++ such that I enter input in one terminal window and get output in another window?
1
vote
2answers
61 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?
1
vote
1answer
191 views

What are the different terminal emulators available in Ubuntu? [duplicate]

When I type echo $TERM on my terminal it shows me xterm. From there itself I believe there are more than one terminal in Ubuntu. Is it the name of the terminal that I am using? I have seen some ...
1
vote
1answer
839 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 ...