Re: xterm fonts
On Tue, May 15, 2007 at 05:38:57PM EDT, Deboo ^ wrote:
> I installed a minimal X sysetm with
> fluxbox and xterm and two other
> terminal emulators: eterm and mrxvt.
> But all three of them give very
> small fonts. WIth xterm, I was able
> to get a reasonable font with the
> HUGE option in the right-click menu
> but I need bigger fonts. How do
> you exactly specify bigger fonts with
> xterm?
I believe that the proper way to do this with xterm is adding stuff like
this to your ~/.Xdefaults file:
!--------------------------------------------------------------------------------
! Sensible fonts
!--------------------------------------------------------------------------------
*XTerm*Font: -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1
*XTerm*font1: -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1
*XTerm*font2: -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1
*XTerm*font3: -xos4-terminus-medium-r-normal--20-200-72-72-c-100-iso10646-1
*XTerm*font4: -xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1
*XTerm*font5: -xos4-terminus-medium-r-normal--28-280-72-72-c-140-iso10646-1
*XTerm*font6: -xos4-terminus-medium-r-normal--32-280-72-72-c-160-iso10646-1
*SimpleMenu*.font: -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1
Considering the sheer length of X's font definitions it makes more sense
to use X resources than entering all the above at the bash prompt.
See xterm's excellent man page for more info.
You need to bounce your X session for the above to take effect .. or
do an "xrdb -merge ~/.Xdefaults" from a shell prompt.
> I am aware it's possible
> with -f or -fn option but what comes
> after that? Say I wan a 10x20
> font? it doesn't work just by typing
> -f 10x20
Maybe this was answered already but you need to check subdirectories of
/usr/share/fonts/X11/ .. They usually have "fonts.alias" files where
such mnemonics as "fixed", "6x12", etc. are defined.
I don't remember if there's a user-friendly way to add your own aliases
but you can probably just edit the file and add whatever suits you.
> And how do you incorporate the custom
> xterm options in the default
> fluxbox menu? Is there something to
> edit the menu commands?
I wish I knew .. :-)
> Also how to use the dektop icons that
> DSL is able to use with fluxbox?
> I already installed fbdesk but it
> seems of no use at all or is it
> buggy?
ibid.
Thanks,
cga
Reply to: