You are not logged in.

#1 2013-06-21 17:01:28

wingsuit
Member
Registered: 2013-05-18
Posts: 12

setfont unresponsive

So calling setfont with any of the different fonts in /usr/share/kbd/consolefonts does nothing to the font in my Terminal (xfce4-terminal), nor with the fonts in /usr/share/fonts/TTF, so I had a cat through /var/log/Xorg.0.log and found these right at the begining

[  5900.899] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  5900.899]     Entry deleted from font path.
[  5900.899] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  5900.899]     Entry deleted from font path.
[  5900.899]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  5900.899] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  5900.899]     Entry deleted from font path.
[  5900.899]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  5900.899] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/

Is this possibly the cause of my inability to change my console font and what is causing those warnings? Changing my fonts through xfce settings works fine by the way, but does not affect the terminal.

Thanks for the help in advance, I appreciate it!

Last edited by wingsuit (2013-06-21 17:07:49)

Offline

#2 2013-06-21 22:58:27

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: setfont unresponsive

'setfont' will not change your xfce4-terminal font, 'setfont' is made to be used in a linux console without X, or in the console you get by pressing Ctrl-Alt-Fn from within X.

The warnings you see in the Xorg.0.log are not the reason setfont does not work.

The OTF directory message is because you probably have no OTF fonts installed.  Similarly, you may not have installed the 100dpi and 75dpi fonts, or you need to run 'mkfontscale' and 'mkfontdir' for those directories.  Xorg is just pruning your font path from the default setting to the directories that contain valid font files (for X).

Offline

#3 2013-06-22 00:32:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,550
Website

Re: setfont unresponsive

I just installed xfce4-terminal to confirm the following - which took all of two seconds - the font is set through a preferences window accesible via a menu-bar menu, or the right-click menu.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2013-06-22 05:18:36

wingsuit
Member
Registered: 2013-05-18
Posts: 12

Re: setfont unresponsive

Shit thanks guys

Offline

#5 2013-06-22 05:20:42

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: setfont unresponsive

Please mark the thread as [Solved].  This can be done by editing the first post.

Offline

Board footer

Powered by FluxBB