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

85
votes
7answers
68k 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 ...
16
votes
5answers
20k 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 ...
15
votes
5answers
45k views

How to change the default font size of XTerm?

XTerm font is very small. How can I set it larger?
12
votes
5answers
35k 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. ...
8
votes
1answer
16k 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 ...
8
votes
6answers
922 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
1answer
237 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
2k 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
755 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
2answers
347 views

Can XTerm do all the things Terminal can do?

Is XTerm able to do all of the things the regular terminal can do?
5
votes
6answers
53k 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 ...
4
votes
2answers
928 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
3answers
6k 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
1answer
384 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
1k 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
139 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
330 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 ...
3
votes
1answer
918 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 ...
2
votes
3answers
189 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
2answers
550 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
131 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
558 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
1k 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
1k 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
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
276 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
1answer
48 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
42 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 ...
2
votes
0answers
294 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 ...
1
vote
1answer
2k 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 ...
1
vote
2answers
434 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
2answers
934 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 ...
1
vote
1answer
130 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
3answers
110 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?
1
vote
1answer
81 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
39 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 ...
1
vote
1answer
318 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 ...
1
vote
1answer
2k 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 ...
1
vote
0answers
17 views

Problem with gnome-terminal, but not with xterm?

I have a script called start-hotspot-terminal.sh. The text in it is: #! /bin/bash x-terminal-emulator -e "sudo /home/user/tools/start-hotspot.sh; read -p 'Press [Enter] to close terminal.';" ...
1
vote
0answers
23 views

Rebooted from xterm, now I cant log back in [closed]

Big newb here, I started xterm sudo startx didnt know how to get out of it so i just typed in reboot login screen wont take my password have ubuntu trusty please help
1
vote
0answers
89 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 ...
1
vote
1answer
213 views

WARNING: terminal is not fully functional despite xterm-color

I have two Ubuntu VMs. On one of them, whenever I run git diff or git log, I see: WARNING: terminal is not fully functional I then get a horrible, monocolour diff (yech). How do I fix this? I ...
1
vote
0answers
79 views

Is there an option to make xterm's font size much larger than Huge?

I use exterm often and always ctrl + right-click to set the font size to Huge. However, I find that Huge is very small in high-res devices. It looks really tiny on my laptop's 10 inch fullhd monitor. ...
1
vote
0answers
61 views

how to recover a normal desktop in linux

I have a ubuntu 13.10. It worked normally until I somehow mistakenly turn it into terminal mode. I was trying to install some nox to my virtual box, and I downloaded a vm image package and imported ...
1
vote
2answers
1k 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 ...
1
vote
4answers
708 views

Which lightweight Terminal Emulators supports Transparency?

I know that gnome-terminal and the kde terminal both support transparency, but I'm looking for something lighter on resources than those. What other xterminal emulators support transparency?
0
votes
1answer
613 views

What is the difference between xterm and xterm(unicode)?

I am using Ubuntu 12.04 .while looking around terminal and i came across two things . one is xterm and xterm(Unicode) , may i know what the difference between these two things ?