LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-07-2006, 06:26 PM   #1
acidblue
Member
 
Registered: Apr 2003
Posts: 152

Rep: Reputation: 15
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.
 
Old 01-09-2006, 03:12 AM   #2
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
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.
 
Old 01-09-2006, 03:30 AM   #3
zhy2111314
Member
 
Registered: Aug 2005
Location: China
Distribution: redhat(Fedora Core)->Debian Sid->Slackware
Posts: 91

Rep: Reputation: 15
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.
 
Old 01-09-2006, 03:35 AM   #4
Oinopion
Member
 
Registered: May 2005
Location: Kraków, PL
Distribution: Slackware
Posts: 33

Rep: Reputation: 15
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
 
Old 01-09-2006, 11:09 PM   #5
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
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.
 
Old 01-10-2006, 12:16 AM   #6
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
... or you may want to install Terminal. It's lightweight, Gtk+ based and similar to gnome-terminal.
 
Old 01-10-2006, 04:12 AM   #7
c.m.klaij
Member
 
Registered: Dec 2004
Location: netherlands
Distribution: suse, slackware, dsl, debian
Posts: 68

Rep: Reputation: 15
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).
 
Old 01-27-2006, 11:22 PM   #8
acidblue
Member
 
Registered: Apr 2003
Posts: 152

Original Poster
Rep: Reputation: 15
OK where is Xresources???
"No such file or directory"
cd $Home/.Xresources
 
Old 01-28-2006, 12:58 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
create it yourself
 
Old 01-28-2006, 11:40 PM   #10
acidblue
Member
 
Registered: Apr 2003
Posts: 152

Original Poster
Rep: Reputation: 15
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.

Last edited by acidblue; 01-30-2006 at 01:38 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xfce terminal is needed alaios Linux - Software 7 06-07-2005 03:34 AM
XFCE lose of Terminal gorilla Debian 2 01-27-2005 01:25 PM
Xfce and fonts daihard Linux - Software 1 11-16-2004 08:12 PM
Installing fonts via Xfce daihard Linux - Software 0 11-05-2004 02:35 PM
xfce antialiasing fonts solferino Linux - Software 1 10-04-2004 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration