Difference between revisions of "Talk:Fonts"

From ArchWiki
Jump to: navigation, search
(‘Set the proper key map’?: new section)
(Is xset fp rehash required?: new section)
Line 12: Line 12:
  
 
--[[User:Yecril71pl|Yecril71pl]] ([[User talk:Yecril71pl|talk]]) 13:50, 11 May 2013 (UTC)
 
--[[User:Yecril71pl|Yecril71pl]] ([[User talk:Yecril71pl|talk]]) 13:50, 11 May 2013 (UTC)
 +
 +
== Is xset fp rehash required? ==
 +
 +
When installing local fonts, this page suggests adding the following the <TT >.xinitrc</TT > file:
 +
 +
xset +fp /usr/share/fonts/local
 +
xset fp rehash
 +
 +
My understanding is that <TT >xset fp rehash</TT > is only required to reload the font path on an active X session, therefore not needed in the <TT >.xinitrc</TT > file.

Revision as of 23:17, 26 June 2013

‘Set the proper key map’?

FONT_MAP does not set the key map.

I put the following code into /etc/profile.d/locale.sh:

(case "${LANG}" in
pl_*) FONT=lat2-16;;
*) let 0;;
esac && setfont $FONT)

This allows the user to use a different locale than the system default. Of course, the list of supported languages must be extended.

--Yecril71pl (talk) 13:50, 11 May 2013 (UTC)

Is xset fp rehash required?

When installing local fonts, this page suggests adding the following the .xinitrc file:

xset +fp /usr/share/fonts/local 
xset fp rehash

My understanding is that xset fp rehash is only required to reload the font path on an active X session, therefore not needed in the .xinitrc file.