DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2 Weeks Ago
bldr7 bldr7 is offline
New User
 
Join Date: Feb 2025
Posts: 2
Default Change default font in FreeBSD

Initially the system was using Dejavu fonts as default.
but after i installed some other program, the font has changed.

How do i set the default font back to Dejavu

I am using icewm
Reply With Quote
  #2   (View Single Post)  
Old 2 Weeks Ago
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
The Deliverator
 
Join Date: Dec 2015
Location: London
Posts: 492
Default

If the font settings for icewm are still pointing to the Sans alias check that with
Code:
fc-match sans
The match can be changed by using ~/.config/fontconfig/fonts.conf, here's an example I use to set Arial as the system Sans font:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Set preferred serif, sans serif, and monospace fonts. -->
   <alias>
      <family>serif</family>
      <prefer><family>Times New Roman</family></prefer>
   </alias>
   <alias>
      <family>sans-serif</family>
      <prefer><family>Arial</family></prefer>
   </alias>
   <alias>
      <family>monospace</family>
      <prefer><family>Jetbrains Mono</family></prefer>
   </alias>
</fontconfig>
Find the correct font name with
Code:
fc-match -a | grep -i dejavu
__________________
Para todos todo, para nosotros nada
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about spleen - the default console font stanl OpenBSD General 11 2nd May 2020 11:00 AM
Gnome Default Font woomia FreeBSD General 1 8th April 2011 05:09 PM
What is the default font for terminal? guitarscn OpenBSD General 4 28th December 2010 06:38 PM
How to change the font size? atop xterm, aterm, etc jb_daefo General software and network 12 13th July 2010 10:42 AM
change default font of the X rex FreeBSD General 2 26th October 2008 05:54 PM


All times are GMT. The time now is 05:38 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick