Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-07-2006, 06:26 PM
|
#1
|
Member
Registered: Apr 2003
Posts: 152
Rep:
|
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.
|
|
|
01-09-2006, 03:12 AM
|
#2
|
Member
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879
Rep:
|
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.
|
|
|
01-09-2006, 03:30 AM
|
#3
|
Member
Registered: Aug 2005
Location: China
Distribution: redhat(Fedora Core)->Debian Sid->Slackware
Posts: 91
Rep:
|
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.
|
|
|
01-09-2006, 03:35 AM
|
#4
|
Member
Registered: May 2005
Location: Kraków, PL
Distribution: Slackware
Posts: 33
Rep:
|
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
|
|
|
01-09-2006, 11:09 PM
|
#5
|
Member
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449
Rep:
|
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.
|
|
|
01-10-2006, 12:16 AM
|
#6
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep: 
|
... or you may want to install Terminal. It's lightweight, Gtk+ based and similar to gnome-terminal.
|
|
|
01-10-2006, 04:12 AM
|
#7
|
Member
Registered: Dec 2004
Location: netherlands
Distribution: suse, slackware, dsl, debian
Posts: 68
Rep:
|
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).
|
|
|
01-27-2006, 11:22 PM
|
#8
|
Member
Registered: Apr 2003
Posts: 152
Original Poster
Rep:
|
OK where is Xresources???
"No such file or directory"
cd $Home/.Xresources
|
|
|
01-28-2006, 12:58 AM
|
#9
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
create it yourself
|
|
|
01-28-2006, 11:40 PM
|
#10
|
Member
Registered: Apr 2003
Posts: 152
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|