LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Fonts in XFCE Terminal (https://www.linuxquestions.org/questions/slackware-14/fonts-in-xfce-terminal-400699/)

acidblue 01-07-2006 06:26 PM

Fonts in XFCE Terminal
 
How do you change the font in a xterm/terminal shell
in xfce?
I looked in settings but didn't find anything.

mjjzf 01-09-2006 03:12 AM

What would you want to change?
You can start it with
xterm -font 9x15 > larger fonts
xterm -bg black -fg white > Black background, white foreground
xterm -title Myterm > puts Myterm in title at the top
- and it can be combined. Mine is
xterm -font 9x15 -bg black -fg white -title Term
... and a geometry setting which is only relevant for the Window size.

zhy2111314 01-09-2006 03:30 AM

touch a file with the name of $HOME/.Xresources with the content like :
Code:

! ===========================================================================
! XTerm resources

! Look similar to the Linux Console
! ---------------------------------------------------------------------------
XTerm*background: black
XTerm*foreground: white
XTerm*cursorColor: yellow
XTerm*Title: XTerm
XTerm*scrollBar: true
XTerm*saveLines: 10000

! Fonts for different resolutions and character encodings
! By default English encoding is set. How to set different encodings:
! - Polish encoding: apply "-iso8859-2" at the end of the font string
! ---------------------------------------------------------------------------
! Englsh encoding
! 640x480
!XTerm*font: -misc-fixed-medium-r-normal-*-12-*
! 800x600
!XTerm*font: -misc-fixed-medium-r-normal-*-13-*
! 1024x768
XTerm*font: -misc-fixed-medium-r-normal-*-14-*
! 1152x864
!XTerm*font: -misc-fixed-medium-r-normal-*-14-*
! 1280x1024
!XTerm*font: -misc-fixed-medium-r-normal-*-18-*

! Colors similar to those used in Linux Console (ttyX)
! ---------------------------------------------------------------------------
XTerm*color0: rgb:0/0/0
XTerm*color1: rgb:cc/00/00
XTerm*color2: rgb:00/cc/00
XTerm*color3: #bd5e01
XTerm*color4: rgb:00/00/cc
XTerm*color5: rgb:cc/00/cc
XTerm*color6: rgb:00/cc/cc
XTerm*color7: rgb:aa/aa/aa
XTerm*color8: rgb:33/33/33
XTerm*color9: rgb:ff/00/00
XTerm*color10: rgb:00/ff/00
XTerm*color11: rgb:ff/ff/00
XTerm*color12: rgb:00/00/ff
XTerm*color13: rgb:ff/00/ff
XTerm*color14: rgb:00/ff/ff
XTerm*color15: rgb:ff/ff/ff
! Default XTerm colors
! ---------------------------------------------------------------------------
!XTerm*color0: black
!XTerm*color1: red3
!XTerm*color2: green3
!XTerm*color3: brown
!XTerm*color4: blue3
!XTerm*color5: magenta3
!XTerm*color6: cyan3
!XTerm*color7: gray90
!XTerm*color8: gray30
!XTerm*color9: red
!XTerm*color10: green
!XTerm*color11: yellow
!XTerm*color12: blue
!XTerm*color13: magenta
!XTerm*color14: cyan
!XTerm*color15: white

with the beginning of ! for comments.

Oinopion 01-09-2006 03:35 AM

You can also use xfontsel to select any font you desire to print out you console doings. I have sth like this:
Code:

xfterm4 -bg black -fg grey -ls -fn -*-fixed-medium-r-*-*-*-140-*-*-*-*-iso8859-2

shepper 01-09-2006 11:09 PM

The XFCE xterm fonts are tiny aren't they.

You can hold the <ctl> key and right click on the xterm and it should bring up options for other font sizes.

dunric 01-10-2006 12:16 AM

... or you may want to install Terminal. It's lightweight, Gtk+ based and similar to gnome-terminal.

c.m.klaij 01-10-2006 04:12 AM

On the XFCE site there is an .Xresources to make xterm look cool, at the top of the file you will find instructions on how to use it (xrbd -merge .Xresources if I'm not mistaken).

acidblue 01-27-2006 11:22 PM

OK where is Xresources???
"No such file or directory"
cd $Home/.Xresources

dive 01-28-2006 12:58 AM

create it yourself

acidblue 01-28-2006 11:40 PM

So i create the Xresouces file in the HOME directory?
How does xterm know where to look for the file?

EDIT:
Thanks guys, I have the book "Running Linux" that I bought
a coupls of weeks ago, looked up 'xresources' in the index and
found everything I needed to know.
I know have a .Xdefaults file and updated the .xintrc script.
Change my fonts and back/foreground to something a little more readable.
thanks for all the input.


All times are GMT -5. The time now is 09:56 PM.