Op zo 08-06-2003, om 10:14 schreef Benedict Verheyen: > Hi, > > i tried to change the font used in X (fluxbox on sid) and > played with XFree86Config-4. I changed the order of the > FontPaths there. I also played with the .Xdefaults file > to try and load another font. > After this, my s key didn't work anymore once i log in > the console or after i start X. I can start x by typing > xinit because i cannot type startx anymore. shift-s > (S) works in both the console and xterm. In X programs, > the s key keeps woring. I've tried kbdconfig but that > didn't solve it. > > > 1. How did i break the s key and how do i fix it? I have > knoppix lying around but i have no clue where to search. > > 2. How can i select a specific font as i choose or > selected in xfontsel?
Hi, i solved problem 2 also. It was not that straightforward since i use fluxbox with KDE and Gnome programs. First of all make sure the FontPaths in the /etc/X11/XF86Config-4 file are correct. Section "Files" #FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on #these FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection I don't use a fontserver so /etc/X11/fs/config is of no use of me. If you do have a font server, make sure you edit this file and make sure the catalogue is correct. You can then start an x session and check with xlsfonts what fonts are known to the X. If you can see the font you want to use, you known the fonts can be seen by X. I wanted to change the fonts of 2 apps that i use a lot: xterm and evolution. For xterm, i made a ~/.Xdefaults file which has this content: *font: -misc-fixed-medium-r-normal-*-13-120-75-75-c-70-iso8859-15 *VT100*font2: -misc-fixed-medium-r-normal-*-*-70-*-*-c-*-iso8859-15 *VT100*font3: -misc-fixed-medium-r-normal-*-*-100-*-*-c-*-iso8859-15 *VT100*font4: -misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15 *VT100*font5: -misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-15 *VT100*font6: -misc-fixed-medium-r-normal-*-*-200-*-*-c-*-iso8859-15 xterm*visualBell: true xterm*foreground: black xterm*scrollBar: true I found the correct fonts by running the Xfontsel program and setting the correct parameters for a font. Xterm then displays the correct fonts and I can then use shift "-" and shift "+" to switch the fonts. Pretty cool. Next i looked to change the base font evolution uses. The preferences allow to change the font of a message or the font used to print but not the font for the inbox or the menu. I found a post somewhere on the net in regards to a gtkrc problem and it solved mine too. Make a ~/.gtkrc file and put this in: style "gtk-default-iso-8859-15" { fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\ -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\ -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-15,\ -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-15,*-r-*" } class "GtkWidget" style "gtk-default-iso-8859-15" Change the fonts to whatever you like as fonts and bingo, Evolution now uses a smaller font that allows me to have more info on the screen. Hopes this helps other people struggling with fonts. Benedict -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]