LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-25-2010, 03:59 AM   #1
rusyd
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Rep: Reputation: 1
can not change fluxbox font


This is my first time using fluxbox.
I installed fluxbox on Gentoo Linux.
I have read fluxbox wiki about font and done instruction in it, but nothing happened. I'm still unable to change fluxbox font.
I also checked whether my desired font is detected by X with xfontsel.
Maybe I miss some package.
Any help?
 
Old 08-25-2010, 04:41 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

If you're trying to change the font of the Fluxbox menus / window titles / etc, try the following methods;

1) Have you attempted to setup a StyleOverlay?

2) If that still doesn't work, try changing the default font(s) for your (create / edit ~/.Xdefaults)

! `xrdb -load ~/.Xdefaults'
! Color section

XTerm*background: #000000
XTerm*foreground: #cfcfcf
XTerm*cursorColor: #cdc092

! black
XTerm*color0: #000000
! red
XTerm*color1: #e01010
! green
XTerm*color2: #20ad20
! yellow
XTerm*color3: #d4c24f
! blue
XTerm*color4: #231bb8
! purple
XTerm*color5: #9c3885
! cyan
XTerm*color6: #1dbdb8
! white
XTerm*color7: #fefefe
! bright-black
XTerm*color8: #6a6a6a
! bright-red
XTerm*color9: #e83a3d
! bright-green
XTerm*color10: #35e956
! bright-yellow
XTerm*color11: #ffff2f
! bright-blue
XTerm*color12: #3a53f0
! bright-purple
XTerm*color13: #e628ba
! bright-cyan
XTerm*color14: #1cf5f5
! bright-white
XTerm*color15: #ffffff

! Nice for manpages
!XTerm*underLine: on
!XTerm*colorMode: on
XTerm*colorBD: lightyellow
!XTerm*colorBDMode: off
XTerm*colorUL: blue
!XTerm*colorULMode: on

XTerm*dynamicColors: on
XTerm*highlightSelection: true

XTerm*eightBitInput: false
XTerm*metaSendsEscape: true
!XTerm*oldXtermFKeys: true
XTerm*charClass: 33:48,35-38:48,39:43,42-47:48,58-59:48,61:48,63-64:48,126:48
!XTerm*charClass: 46-47:48,58:48,64:48,63:48,95:48,126:48,61:48,37:48,35:48,43:48,36:48

! Other settings
XTerm*VT100.Translations: #override \
! <Key>BackSpace: string(0x7F)
!\n\
<Key>Delete: string("\033[3~")\n\
! <Key>Home: string("\033OH")\n\
! <Key>End: string("\033[4~")
! <Key>Home: string("\033[1~")\n\
XTerm*ttyModes: erase ^?

! Suggested by denek
! *VT100*backarrowKey: false
!XTerm*backarrowKeyIsErase: true
!XTerm*backarrowKey: true
!XTerm*borderWidth: 0 doesn't do anything
XTerm*internalBorder: 0
!XTerm*modifier: alt
XTerm*saveLines: 80000
XTerm*scrollBar: true
!XTerm*titeInhibit: true

XTerm*faceName: Vera sans mono
XTerm*faceSize: 5
XTerm*termName: xterm-xfree86

XDvi*mfMode: ljfour
XDvi*pixelsPerInch: 1200
XDvi*shrinkFactor: 8
!XDvi*paper: a5
XDvi*wwwBrowser: firefox
XDvi*thorough: true
XDvi*foreground: #202020
XDvi*background: #eeeeee
XDvi*underLink: true
XDvi*font: ter-120b
xpdf*initialZoom: width
 
Old 08-25-2010, 08:07 AM   #3
rusyd
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by xeleema View Post
1) Have you attempted to setup a StyleOverlay?
Yes, I have configured font using overlay as mentioned in wiki. No change.

Quote:
Originally Posted by xeleema View Post
2) If that still doesn't work, try changing the default font(s) for your (create / edit ~/.Xdefaults)
In your .Xdefault sample, I don't know in which line I can setup my desktop font.
I read Xdefault wiki and I don't find any syntax to setup desktop font.

Thanks

Last edited by rusyd; 08-25-2010 at 08:09 AM.
 
1 members found this post helpful.
Old 08-25-2010, 10:22 AM   #4
rusyd
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Original Poster
Rep: Reputation: 1
Finally I can change the font. But it works only for x-fonts, not ttf-fonts.
Maybe fluxbox can't detect my ttf fonts.
I have added ttf fonts directory to /etc/fonts/fonts.conf and run fc-cache but fluxbox still can't detect ttf fonts.
 
1 members found this post helpful.
Old 08-25-2010, 10:59 AM   #5
rusyd
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Original Poster
Rep: Reputation: 1
solved!
I forgot to compile fluxbox with truetype support.
What a shame
 
1 members found this post helpful.
Old 08-25-2010, 11:21 PM   #6
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by rusyd View Post
solved!
I forgot to compile fluxbox with truetype support.
What a shame
Awesome! Thanks for posting the fix! I've "Found your post Helpful" your post!
 
  


Reply



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
Anyone know what font is used in this Fluxbox Pic? Zaskar Linux - Desktop 2 01-12-2008 02:54 PM
Large Font in X/ Change default X font marales314 Debian 6 07-26-2007 11:28 PM
How to change font color and font size in terminal ? wlaw Linux - Newbie 3 05-15-2007 08:57 PM
fluxbox font sizes kurrupt Linux - Software 4 09-17-2006 02:57 AM
font size in fluxbox aleta Linux - General 1 10-23-2005 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:05 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