How can I change it from the commandline? From here, to incorporate the changes you've made you can either: restart X; or; run xrdb -merge ~/.Xresources in a terminal; All new xterms should now have the font change. Right now whatever font I use, I always get a 80X24 window. If the window is the focus window, the text cursor is highlighted no matter where the pointer is located. Contents 1 Installation 1.1 USE flags 1.2 Emerge 2 Usage 2.1 Invocation Installation USE flags USE flags for x11-terms/xterm Terminal Emulator for X Windows Please take in account that the new font size is active for the current xterm window and that it is active for the current process session only. The following command displays what I am after as the default font name and size: Many clients allow you to specify the font to be used when displaying text in the window. For xterm, the size of the window is measured in characters and lines. XTerm.vt100.faceName: Liberation Mono:size=10:antialias=false XTerm.vt100.font: 7x13 To test, you can also set the font on the command line: -fa for faceName, -fn for font. The solution to hold the "ctrl" key while right-clicking the mouse is not what I am after. This must be the last option on the command line. . At the command line prompt in an xterm window, type: % xwininfo. By selecting XTerm, you can change the default font size of XTerm. at the end, so it will look something like. If nothing changes then go to your i3 config and look what terminal is set there. How do I change the . XTerm is a fast and featureful emulator that predates X11, but is still actively developed. [/code] (I'm simplified it--the line has lots of things in it.) It supports 12-bit graphics addressing, scaled to the window size. View / zoom in | out. -en encoding. Shell Programming and Scripting If you set both kinds of fonts, you can alternate between the two by toggling TrueType Fonts from the #VT Fonts menu. Xterm supports those, and in addition supports . When you click the Increase Font Size command line, your font size will be increased. The following step-by-step instructions will walk you through the process of making changes to your Xterm configuration. -Kennedy I do not have access to ~/.Xresources; probably it's disabled by the administrator. I'd like to set the font size default to be bigger whenever xterm opens. The available choices can be altered in a config file. setfont. I tried appending the following line in .Xresources xterm -fn -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-* The size changes, but when I try to write in greek, nothing is printed on the screen. # Script file to incorporate keybindings and command line # options for connecting to a VAX node # Usage statement Usage() { echo echo " Usage : vax -options" . The font size can also be dynamically changed with the following keyboard shortcuts: Shift+NumPadPlus = Increase font size. $ apt-get install <some font> $ apt-get install fonts-liberation $ apt-get install fonts-inconsolata Find a font that you like Use fc-list or gnome-font-viewer to view true type fonts. This option specifies the program (and its command line arguments) to be run in the xterm window. . When I open X Terminal the text size default is too small for me. For example, I use this font:-misc-fixed-medium-r-normal-*-*-120-75-75-c-70-iso8859-1 Rather than specifying it on the command line you can add it to your Xresources by creating a file containing some resources such as: Well I just happened to do it in fvwm (Instead of fvwm 95) and found it seems to . If the user has also used command-line options -fg or -bg to set the foreground and background colors, xterm does not see these options directly. Then a pop-up menu will come up which can be used to set the font size to your taste. [code] kernel /vmlinuz-2.6-whatever ro root=/lots-of-numbers, KEYTABLE=us rhgb quet nomodeset. Ctrl-Rightclick is the one. Ask some other. I want to change the default font size of xterm. If you're interested in using a TrueType font, run this command: fc-list :fontformat=TrueType -f "% {family}\n" | sort -u | less. xterm*font: *-fixed-*-*-*-18-* xterm 18 X xrdb -merge ~/.Xresources xterm s Earlier I made a mention of changing font size in rxvt (And xterm does it to) causing 2 resize events. You can also choose the default with the following resource This wouldn't be so bad if a typical font name wasn't mind-bending at first glance. If either coordinate is past the end of the line, the xterm command reports the ending position as follows: The parameters are Startx, Starty, Endx, . Append a line to the file such as. There is no write-thru or defocused mode support. If the option begins with a ' + ' instead of a ' - ', the option is restored to its default value. This will list the font names. You can also set fonts in /etc/sysconfig/i18n or change it on the command line with. To change the size of the font add this to the ~/.Xresources file: xterm*faceSize: 18. Shift+NumPadMinus = Decrease font size. Or change the. Use size11 for example and type type xrdb ~/.Xresources in your terminal for the changes to take effect. I tried appending a similar line to. xterm*font: *-fixed-*-*-*-18-* This informs xterm to use the 'fixed' font at size 18. 18 above is an example - but change the size to preference. Imagine typing this command line to create an xterm window whose text is to be displayed in 14-point Courier bold: % xterm -fn -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 Quote: pressing [Ctrl] key and the right mouse button simultaneously while you have focus in xterm window. Specifying Fonts on the Command Line. Use the xfontsel command (it's horrible, I know) to choose fonts. The xterm command automatically highlights the text cursor when the pointer enters the window (selected) and unhighlights it when the pointer leaves the window (unselected). xterm -xrm "XTerm.VT100.faceSize 24". . Four different font sizes and five different lines types are supported. > if you open an xterm, i have no idea.. Ctrl - right click, choose. The xterm terminal emulator accepts the standard X Toolkit command line options as well as many application-specific options. A menu appears, with the following font alternatives: Code: Default (fontdefault) Set the font to the default, i.e., that given by the *VT100.font resource. Solved: HP-UX Gurus: How do I invoke a xterm window with specific number of rows and columns? Instead, it examines the resource values to reconstruct . I know it's possible to Ctrl +rightclick and then select on of the drop-down options. X11 fonts use a 14-part naming scheme encoding the font, size, boldness, etc. Xterm's command-line options set resource values. So to change the the font size: press the CONTROL key with one hand, and click the right mouse button. It also sets the window title and icon name to be the basename of the program being executed if neither -T nor -n are given on the command line. To use the keyboard shortcut Ctrl-Shift, click it. By pressing [Ctrl] key and the middle mouse button, you get a pop-up menu which helps you set/unset a lot of other features of your xterm window like . Or "Edit / Profile preferences", change font or F. size (better create a new profile). ; see the manual for detail. Most classic X11 applications support resource settings on the command line, with arguments like -xrm '*text*font: fixed', as well as some shortcuts such as -font fixed to set the main font. day. I tried appending the following line in .Xresources xterm -fn -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-* . It opens an xterm but with default faceSize 14. Description xterm is the standard terminal emulator of the X Window System, providing a command-line interface within a window. If the -e switch is used, the rest of the command line will be taken as the command to tell xterm to run instead . (The default size is 80 characters wide by 24 lines long.) Official documentation XTerm is a graphical terminal emulator for X11. You can use xterm -fn <font-name> to select a font. I want to change the default font size of xterm. running the "more" command to view all of the files named on the command line. Several instances of xterm can run at the same time within the same display, each one providing input and output for a shell or another process. This is how you configure them for XTerm: Install any font you want from the repositories There are lots in the Ubuntu repositories. In particular, the X Toolkit sets the reverseVideo resource when the -rv option is used. Hence I need to set the facesize from the terminal. 1 Like. If you are using the default terminal which came with the i3 community edition you should be able to change the font size there. system default font.