Skip navigation.
Home
Now Shipping Version 7.0

Fonts missing in menus of fluxbox


Posts: 7

Have installed Mepis6.5 AntiX but no fonts are displayed in the Fluxbox menus (nor in Dillo browser). Other apps are ok.

Have Googled extensively without luck.

Grateful for any suggestions on how can I resolve.

Thanks!

anticapitalista's picture

I had this happen to me

I had this happen to me once, but I can't remember how I solved it or what caused it. Do you get the same when using livecd?
Have you installed anything?

I vaguely remember thinking it might be connected with the language options. Are you using an English keyboard?

anticapitalista

Philosophers have interpreted the world in many ways; the point is to change it.

Missing fonts in MEPIS

I'm using a US keyboard and have tried installing all of the xfonts but still no luck displaying the fonts in Fluxbox.

With the LiveCD the fonts are displayed.

Interestingly, an install with Damn Small Linux on the same notebook computer displays the fonts in Fluxbox menus.

I also tried another MEPIS installation (using SimplyMEPIS-CD_6.5.02_32.iso) and then installed Fluxbox using Synaptic and still have the same problem - still missing fonts.

I also checked my xorg.conf file and it appears to include the correct path to installed fonts...

Richard

anticapitalista's picture

When you installed and you

When you installed and you get to the part choose language make sure it says us-en.

Post your /etc/xorg.conf file.

anticapitalista

Philosophers have interpreted the world in many ways; the point is to change it.

xorg.conf file

Here is my xorg.conf file.

I also tried changing keyboards - us, us basic, intl without success re displaying fonts

Also, not sure if related, but I noticed that the monospace font in my xfce4-terminal has been replaced by symbols (to martlet?). Some other fonts are affected as well. This problem may be related to some installation or adding Dapper to Synaptic repository? Aghh

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
#Screen 0 "ATIScreen" 0 0
#Screen 1 "Screen1" RightOf "Screen0"
#Option "Xinerama" "true"
#Option "Clone" "true"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
#InputDevice "USB Mouse" "CorePointer"
InputDevice "Touchpad" "SendCoreEvents"
#InputDevice "ALPS Touchpad" "SendCoreEvents"
#InputDevice "Appletouch" "SendCoreEvents"
#InputDevice "Stylus" "SendCoreEvents"
#InputDevice "Eraser" "SendCoreEvents"
#InputDevice "Cursor" "SendCoreEvents"
#InputDevice "Serial Mouse" "CorePointer"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection

Section "Files"
# Xorg 7.0 font paths
FontPath "/usr/share/X11/fonts/misc:unscaled"
FontPath "/usr/share/X11/fonts/Type1"

# Legacy font paths
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"

# Other font paths
FontPath "/usr/share/fonts/truetype/arphic"
FontPath "/usr/share/fonts/truetype/freefont"
FontPath "/usr/share/fonts/truetype/kochi"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

EndSection

Section "Module"
Load "dbe"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "type1"
Load "v4l"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XKbOptions" ""
EndSection

Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "false"
Option "Emulate3Timeout" "70"
EndSection

Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection

Section "InputDevice"
Driver "synaptics"
Identifier "ALPS Touchpad"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "event"
Option "LeftEdge" "130"
Option "RightEdge" "840"
Option "TopEdge" "130"
Option "BottomEdge" "640"
Option "FingerLow" "7"
Option "FingerHigh" "8"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.25"
Option "MaxSpeed" "0.50"
Option "AccelFactor" "0.030"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "SHMConfig" "on"
EndSection

Section "InputDevice"
Identifier "Appletouch"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "100"
Option "RightEdge" "1120"
Option "TopEdge" "50"
Option "BottomEdge" "310"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapMove" "220"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "MinSpeed" "0.79"
Option "MaxSpeed" "0.88"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection

Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "false"
Option "Emulate3Timeout" "70"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Section "InputDevice"
Identifier "Stylus"
Driver "wacom"
Option "Mode" "Absolute"
Option "Type" "stylus"
Option "Device" "/dev/input/wacom"
Endsection

# Settings for wacom eraser
Section "InputDevice"
Identifier "Eraser"
Driver "wacom"
Option "Mode" "Absolute"
Option "Type" "eraser"
Option "Device" "/dev/input/wacom"
Endsection

# Settings for wacom cursor (mouse)
Section "InputDevice"
Identifier "Cursor"
Driver "wacom"
Option "Mode" "Relative"
Option "Type" "cursor"
Option "Device" "/dev/input/wacom"
Endsection

Section "Monitor"
Identifier "Monitor0"
VendorName "unknown"
ModelName "unknown"
Option "DPMS" "true"
HorizSync 30-82
VertRefresh 55-70
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "unknown"
ModelName "unknown"
Option "DPMS" "true"
HorizSync 30-82
VertRefresh 55-70
EndSection

Section "Monitor"
Identifier "ATIMonitor"
VendorName "unknown"
ModelName "unknown"
Option "DPMS" "true"
HorizSync 30-82
VertRefresh 55-70
EndSection

Section "Device"
Identifier "Card0"
Driver "i810"
BoardName "unknown"

Screen 0
#Option "UseDisplayDevice" "dfp"
#Option "MonitorLayout" "crt,crt"
#BusID "PCI:1:0:0"
#Option "sw_cursor" # needed for some ati cards
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Option "UseInternalAGPGART" "no"

# savage special options, use with care
#Option "NoUseBios"
#Option "BusType" "PCI"
Option "DmaMode" "None"

# nvidia special options, use with care
Option "CursorShadow" "1"
Option "CursorShadowAlpha" "63"
Option "CursorShadowYOffset" "2"
Option "CursorShadowXOffset" "4"
Option "FlatPanelProperties" "Scaling = native"
Option "NoLogo" "false"
Option "UseEDID" "true"
Option "AddARGBGLXVisuals" "true"
Option "RenderAccel" "true"
#Option "AllowGLXWithComposite" "true"
EndSection

Section "Device"
Identifier "Card1"
Driver "i810"
BoardName "unknown"

Screen 1
#Option "MonitorLayout" "crt,crt"
#BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16

SubSection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600"
EndSubSection

# Only the official NVIDIA driver supports twinview
# these setting are an example
Option "TwinView" "false"
Option "SecondMonitorVendorName" "unknown"
Option "SecondMonitorModelName" "unknown"
Option "SecondMonitorHorizSync" "30-82"
Option "SecondMonitorVertRefresh" "55-70"
#Option "MetaModes" "1024x768, 1024x768"
Option "TwinViewOrientation" "RightOf"
Option "ConnectedMonitor" "dfp,dfp"
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultColorDepth 16

SubSection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600"
EndSubSection
EndSection

Section "Screen"
Identifier "ATIScreen"
Device "Card0"
Monitor "ATIMonitor"
DefaultColorDepth 24

SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

Symbols now visible in Fluxbox menus

Now on entering Fluxbox I can see symbols (same as in xfce-terminal noted in last message) in the Fluxbox menus - instead of being previously blank.

I guess the fonts need reconfiguring in some way?

anticapitalista's picture

As root dpkg-reconfigure

As root
dpkg-reconfigure fontconfig

You might need to set up the locales as well.
dpkg-reconfigure locales

Did the problem arise after installing something, or from installing antiX to hard-disk?

If it is the former, it might end up being quicker to re-install.

anticapitalista

Philosophers have interpreted the world in many ways; the point is to change it.

Font problem resolved

It appears that the 'sans, 'serif' and 'monospace' font options do not work in the xfce4 terminal so I selected an alternative. I did the same for Synaptic which previously used the 'monospace' font in its terminal. However, monospace does seem to work in other applications (e.g., mousepad...?).

I also used modified fonts using kcontrol and gnome-control-center (selected the same font options in both) which also modify app fonts in Fluxbox.

I fixed Fluxbox by changing the existing font option (sans I think) to another (bitstream vera font) in the style file.

Everything seems to be working ok.

Thanks for your time in helping with this. Cheers!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.