![]() Wumbley and Thomas Dickey for their detailed responses. I used Ubuntu Mono patched font downloaded from here I'm using XTerm*faceName: Ubuntu Mono derivative Powerline If you install a new font, and it doesn't show up when you run one of the above commands, rebuild your font cache using fc-cache -frv and try again. Once you have the font name using one of the above steps, set it via XTerm*faceName: TrueType fonts, using fc-list :scalable=true:spacing=mono: family and use the exact string it outputs. If your xterm has FreeType lib support, choose aīitmap fonts, by running xfontsel -p and use the exact string it prints upon exit. An alternate way is to see if xterm has the -fa option. To check whether xterm has this, use the ldd /path/to/xterm/binary command and see if it says freetype in there. Ubuntu Mono is a TrueType font and TrueType fonts require xterm to be compiled with FreeType library support. View the most common questions our users ask. I finally figured out what's wrong just a couple of days ago after scrounging through multiple sources. The third column does not seem like it is Unicode, which is why application of any font also fails. the second column is pre-loaded font while the third column is written in custom fonts. Xrdb -query all shows that *faceName is set to Ubuntu Mono for Powerline:style=RegularForPowerline The first and second lines are in Tamil while the last is in. ![]() To my ~/.Xresources and ran xrdb -merge ~/.Xresources Ubuntu Mono for Powerline:style=ItalicForPowerlineĪnd I added XTerm*faceName: Ubuntu Mono for Powerline:style=RegularForPowerline Ubuntu Mono for Powerline:style=BoldForPowerline Ubuntu Mono for Powerline:style=Bold Italic This is the output of fc-list | grep -i ubuntu Ubuntu Mono for Powerline:style=RegularForPowerline I want to set the XTerm font to Ubuntu Mono. I'm using the commands xlsfonts and fc-list to find out the Bitmap and TrueType fonts that are installed. Is the option xterm*font used to specify only bitmap fonts and is *faceName used only for TrueType fonts? Each font has its own characteristic peculiarities and visual features. In the collection of display fonts by TypeType, you will find a variety of fonts in different styles and moods. I just wanted a more permanent solution so it would open at the right size with the right font size every time without me having to change it at runtime.After a lot of mucking around Xterm, poring through reams of webpages I have thrown in the towel and realized that this isn't something I can figure out on my own. Many brands purchase a display typeface that is personally designed for them, serving as an element of their corporate identity. I hope someone finds this useful! It's saved me quite a bit of squinting from the couch trying to read things on the TV from the couchĪlso, if you'd like to temporarily change the font size in XTerm, you could also CTRL Right Click (hold right click) and you'll see a menu show up. So, my whole ~/.Xresources file looks like this: Change the values to suit the size you'd like XTerm to open as. Where, in my example above, 127 is the number of characters wide that will be displayed and 37 is the number of lines that will be displayed. Now to set the size of the console itself, you would add this to the ~/.Xresources file: Where, in this example, Luxi Mono is the font I'm using - you can use any font from the TrueType list above and it should work just the same You'll use the name of the font you'd like to use exactly as it is from the list - copy/paste is easiest if you choose to use one. If you're interested in using a TrueType font, run this command:įc-list :fontformat=TrueType -f "%\n" | sort -u | less To change the size of the font add this to the ~/.Xresources file:ġ8 above is an example - but change the size to preference In Debian, the file doesn't exist so I simply created it and a bit of other searching as well allowed me to find how to set the default console size. This is very useful when you're using higher resolutions or a display that's further away This is purely informational and something I found useful so I thought others might as well - how to set the default font, font size, and console size in Linux: Debian, Ubuntu, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |