67 votes

How to change the default font size of XTerm?

You can add the following as an example to your ~/.Xresources file: ! Use a truetype font and size. xterm*faceName: Monospace xterm*faceSize: 14 Then run the following: xrdb -merge ~/.Xresources
nazmul idris's user avatar
40 votes
Accepted

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

Update: The new recommended syntax is: gnome-terminal -- bash -c "<my command or script>; exec bash" If you want to reach the users home directory within the above command use the environment ...
pa4080's user avatar
  • 29.9k
18 votes

How does copy-paste work with xterm?

To copy between xterm and other programs/documents/... Add to the file ~/.Xresources (or create): XTerm*selectToClipboard: true Then run the command: xrdb -merge ~/.Xresources Restart xterm.
Stefan's user avatar
  • 191
10 votes

How to enable cut or copy-paste in xterm

You can edit the XTerm file using vim or nano (I use vim): vim /home/your_user_name/XTerm Add this: XTerm*Background: black XTerm*Foreground: green XTerm*SaveLines: 2000 XTerm*faceName: Ubuntu mono ...
simonced's user avatar
  • 101
9 votes

How to change the default font size of XTerm?

One more option, add this to your ~/.Xresources to make hotkeys for changing the font size: XTerm.vt100.translations: #override \n\ Ctrl <Key> minus: smaller-vt-font() \n\ Ctrl <Key> ...
Matthew's user avatar
  • 201
9 votes

How to really clear the terminal?

Here are all the ways you can clear the terminal screen in Unix: clear # only clear visible screen clear && clear # clear buffer as well tput clear # same as clear ...
Shital Shah's user avatar
8 votes

Backspace, Tab, Del and arrow keys not working in terminal (using ssh)

One of the easiest ways to fix this problem is to type /bin/bash at the command line interface prompt: $ /bin/bash The afore mentioned command will execute the Bourne Again Shell on top of the ...
nightsinwhiteaustin's user avatar
7 votes

Terminal emulator that has "code folding"

I have being looking for this feature for years as but I am afraid to say that at this moment there is no usable terminal that implements this feature. I read that there were plans to add it to ...
sorin's user avatar
  • 9,888
5 votes

How does copy-paste work with xterm?

To copy text in Xterm first select the text and then press shift+PrtScr. To paste text in Xterm use shift+Insert .
Ankush K's user avatar
  • 225
5 votes
Accepted

Change background colour in Xterm

I believe you happened to don't have one, so create a file named .Xresources on your home directory: touch ~/.Xresources Then add following lines to .Xresources file: xterm*Background: ...
Liso's user avatar
  • 15.4k
5 votes

Pasting external text into XTerm or UXTerm

From the very helpful XTerm introduction and TrueType fonts configuration (futurile.net): Put configuration into ~/.Xresources Merge in changes to a running X session with: $ xrdb -merge ~/....
Bob's user avatar
  • 51
5 votes

Make "Open in Terminal" use Xterm

The "Open in terminal" right-click menu is provided by a nautilus extension, and hard coded to open gnome-terminal through dbus, so you cannot directly change that menu item. There are a ...
vanadium's user avatar
  • 88.1k
4 votes

How to make xterm to send the Alt key to emacs as Meta?

If updating ~/.Xresources doesn't work for you, do as the documentation says and update it in ~/.Xdefaults http://frequal.com/linux/XTermMetaSendsEscape.html
Adam's user avatar
  • 195
4 votes

Why does xterm alt-backspace produce the Unicode character U+00FF?

put arrow in middle of term then keep pushed Ctrl+left mouse button and in menu check option "Meta send escape" edit file /etc/X11/app-defaults/XTerm add this line at the end *metaSendsEscape: True
Aristotel's user avatar
4 votes

LXTerminal and XTerm Resize Command

Just want to share: apt-get install xterm Use the following resize command where 20 = no of rows, 40 = no of columns: resize -s 20 40 Change the value of rows and columns as per requirement.
user632519's user avatar
3 votes

Simply set xterm title?

I know this thread was active a few years ago, but here is what I did recently. First, realize that the default configuration for XTerm is a little bit different now than it was in 1993 and just using ...
Alexander Seudo's user avatar
3 votes

How does copy-paste work with xterm?

If you want to retain support for PRIMARY and still be able to use the CLIPBOARD (this is cool since basically you get two clipboards instead of one), you can ignore selectToClipboard and set the ...
Bass's user avatar
  • 151
3 votes

How does copy-paste work with xterm?

Xterm uses the primary X11 selection, which is different to the clipboard. The program xsel can be used to copy the primary selection into the clipboard: xsel -op | xsel -ib In order to do so I have ...
ceving's user avatar
  • 311
3 votes

How to make xterm to send the Alt key to emacs as Meta?

There is an interesting alternative to managing your .Xdefaults / .Xresources files by providing the resource string directly as xterm command line option: xterm -xrm 'xterm*VT100.metaSendsEscape: ...
vog's user avatar
  • 131
3 votes

How to change the default font size of XTerm?

Creating the .Xresources file with specified lines of code (provided in the answer by noffle) fixed my issue, but on reboot the settings got lost again. If the settings specified in the .Xresource ...
Jerin's user avatar
  • 131
3 votes

ssh -X "Xt error: Can't open display: :0.0"

As well as X11Forwarding yes, I also needed to add X11UseLocalhost no in /etc/ssh/sshd_config as described here.
user2400538's user avatar
3 votes
Accepted

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

Make sure that you have g++ and xterm installed. Open the terminal and type: sudo apt-get install g++ xterm Now in Settings -> Compiler -> Toolchain executables tab -> C++ compiler there should ...
karel's user avatar
  • 115k
3 votes

Pasting external text into XTerm or UXTerm

Pasting external text into a terminal window the Linux way The Linux way works with xterm and uxterm, where there are no drop-down menus or Windows style control codes like ctrl + shift + v. Mark ...
sudodus's user avatar
  • 46.4k
3 votes

Finding and installing a good bitmap font for xterm

You have 80+ standard packages with "xfont" in their name. Some of these are bundles for specific purposes like "web", "biz", etc. so hundreds of x fonts available to install. Setting up default ...
ubfan1's user avatar
  • 17.8k
3 votes

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

Use shell parameter expansion to remove everything up to the (last, if the filename itself contains them) period and save the result as the extension ext="${file##*.}" remove the extension, then ...
steeldriver's user avatar
3 votes

How to get image support in xterm-terminal?

Use the command feh. feh {/path/to/image.png} feh is a mode-based image viewer. It is especially aimed at command line users who need a fast image viewer without huge GUI dependencies, though it ...
Rinzwind's user avatar
  • 300k
2 votes

No terminal colors in Ubuntu Server 12.04

On Ubuntu, in .bashrc there is a section that states: # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal ...
zevij's user avatar
  • 129
2 votes
Accepted

I don't seem to have the gnome-terminal

Simply open any working terminal that you do have, and enter: sudo apt-get install gnome-terminal You should be good to go! You can also see this thread How to set custom keyboard shortcuts ...
P Smith's user avatar
  • 569
2 votes

XTerm is seemingly ignoring .Xresources font size

The .Xresources file is not loaded by the application directly. Instead, the X server loads this file, and then the applications query the resources from the server. To merge the .Xresources into ...
Ruslan's user avatar
  • 1,733
2 votes

XTerm is seemingly ignoring .Xresources font size

The application settings override the Xresources (or .Xresouces), You should look into /etc/X11/app-defaults/XTerm to change the fonts permanently. The SimpleMenumenuLabel.font is for the menu ...
ubfan1's user avatar
  • 17.8k

Only top scored, non community-wiki answers of a minimum length are eligible