Ubuntu20.0.4でデフォルトフォントを日本語フォントに変更したい
Q&A
解決したいこと
Ubuntu20.0.4で以下コマンドにより日本語フォントをインストールしました。
sudo apt install fonts-noto-cjk fonts-noto-hinted fonts-noto-unhinted ttf-unifont
その後で、$ fc-match でデフォルトフォントを確認すると以下のように表示されます。
NotoSansCJK-Regular.ttc: "Noto Sans CJK JP" "Regular"が返ってくると予想しましたが、DejaVuSans.ttf: "DejaVu Sans" "Book" と返ってきました。"Noto Sans CJK JP"をデフォルトフォントにしたいのですが、何か処理が不足しているでしょうか。
宜しくお願いします。
$fc-match
DejaVuSans.ttf: "DejaVu Sans" "Book"
$fc-list でフォントの一覧を確認すると、NotoSansJavanese-Regular.ttf等が確認されます。
$fc-list
(一部省略)
/usr/share/fonts/truetype/noto/NotoSansJavanese-Regular.ttf: Noto Sans Javanese:style=Regular
/usr/share/fonts/truetype/noto/NotoSerifMalayalam-Regular.ttf: Noto Serif Malayalam:style=Regular
/usr/share/fonts/truetype/noto/NotoSansDisplay-Italic.ttf: Noto Sans Display:style=Italic
/usr/share/fonts/truetype/noto/NotoSansLinearB-Regular.ttf: Noto Sans Linear B:style=Regular
/usr/share/fonts/truetype/noto/NotoSansKannada-Bold.ttf: Noto Sans Kannada:style=Bold
/usr/share/fonts/truetype/noto/NotoSansLycian-Regular.ttf: Noto Sans Lycian:style=Regular
/usr/share/fonts/truetype/noto/NotoSansThai-Bold.ttf: Noto Sans Thai:style=Bold
/usr/share/fonts/truetype/ubuntu/Ubuntu-RI.ttf: Ubuntu:style=Italic
/usr/share/fonts/truetype/noto/NotoSansShavian-Regular.ttf: Noto Sans Shavian:style=Regular
/usr/share/fonts/truetype/noto/NotoSansBengali-Bold.ttf: Noto Sans Bengali:style=Bold
/usr/share/fonts/truetype/noto/NotoSansKhudawadi-Regular.ttf: Noto Sans Khudawadi:style=Regular
/usr/share/fonts/truetype/noto/NotoSansYi-Regular.ttf: Noto Sans Yi:style=Regular
/usr/share/fonts/truetype/noto/NotoSansLinearA-Regular.ttf: Noto Sans Linear A:style=Regular
/usr/share/fonts/X11/Type1/c0611bt_.pfb: Courier 10 Pitch:style=Bold Italic
/usr/share/fonts/truetype/noto/NotoSansOlChiki-Regular.ttf: Noto Sans Ol Chiki:style=Regular
/usr/share/fonts/truetype/noto/NotoSansInscriptionalPahlavi-Regular.ttf: Noto Sans Inscriptional Pahlavi,Noto Sans InsPahlavi:style=Regular
/usr/share/fonts/opentype/urw-base35/D050000L.otf: D050000L:style=Regular
/usr/share/fonts/truetype/noto/NotoSerifDogra-Regular.ttf: Noto Serif Dogra:style=Regular
/usr/share/fonts/truetype/noto/NotoSansLydian-Regular.ttf: Noto Sans Lydian:style=Regular
/usr/share/fonts/truetype/noto/NotoKufiArabic-Thin.ttf: Noto Kufi Arabic,Noto Kufi Arabic Thin:style=Thin,Regular
/usr/share/fonts/truetype/noto/NotoSansTagalog-Regular.ttf: Noto Sans Tagalog:style=Regular
/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc: Noto Serif CJK SC:style=Regular
/usr/share/fonts/truetype/noto/NotoSansOsmanya-Regular.ttf: Noto Sans Osmanya:style=Regular
/usr/share/fonts/truetype/noto/NotoSansHanunoo-Regular.ttf: Noto Sans Hanunoo:style=Regular
/usr/share/fonts/truetype/noto/NotoSansBamum-Regular.ttf: Noto Sans Bamum:style=Regular
/usr/share/fonts/truetype/noto/NotoSansDevanagari-Bold.ttf: Noto Sans Devanagari:style=Bold
/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc: Noto Serif CJK TC:style=Regular
/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique
/usr/share/fonts/opentype/urw-base35/C059-BdIta.otf: C059:style=Bold Italic
/usr/share/fonts/truetype/noto/NotoSansKhmerUI-Bold.ttf: Noto Sans Khmer UI:style=Bold
/usr/share/fonts/truetype/noto/NotoSansEthiopic-Regular.ttf: Noto Sans Ethiopic:style=Regular
/usr/share/fonts/truetype/dejavu/DejaVuSerifCondensed-Bold.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold,Bold
/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold
/usr/share/fonts/truetype/noto/NotoSansOldSouthArabian-Regular.ttf: Noto Sans Old South Arabian,Noto Sans OldSouArab:style=Regular
/usr/share/fonts/truetype/noto/NotoSansOriya-Bold.ttf: Noto Sans Oriya:style=Bold
/usr/share/fonts/truetype/noto/NotoSansElbasan-Regular.ttf: Noto Sans Elbasan:style=Regular
/usr/share/fonts/truetype/noto/NotoSerifMyanmar-Bold.ttf: Noto Serif Myanmar:style=Bold
/usr/share/fonts/truetype/noto/NotoSansGeorgian-Regular.ttf: Noto Sans Georgian:style=Regular
/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique
/usr/share/fonts/truetype/noto/NotoSerifTangut-Regular.ttf: Noto Serif Tangut:style=Regular
/usr/share/fonts/truetype/unifont/unifont.ttf: Unifont:style=Medium
/usr/share/fonts/truetype/noto/NotoSansLaoUI-Bold.ttf: Noto Sans Lao UI:style=Bold
/usr/share/fonts/truetype/unifont/unifont_upper.ttf: Unifont Upper:style=Medium
/usr/share/fonts/truetype/noto/NotoSansGrantha-Regular.ttf: Noto Sans Grantha:style=Regular
/usr/share/fonts/truetype/noto/NotoSansBassaVah-Regular.ttf: Noto Sans Bassa Vah:style=Regular
/usr/share/fonts/opentype/urw-base35/NimbusRoman-Regular.otf: Nimbus Roman:style=Regular
/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc: Noto Serif CJK JP:style=Regular
/usr/share/fonts/opentype/noto/NotoSerifCJK-Regular.ttc: Noto Serif CJK KR:style=Regular
/usr/share/fonts/truetype/ubuntu/Ubuntu-MI.ttf: Ubuntu,Ubuntu Light:style=Medium Italic,Bold Italic
/usr/share/fonts/opentype/urw-base35/C059-Italic.otf: C059:style=Italic
/usr/share/fonts/truetype/noto/NotoSansGurmukhiUI-Regular.ttf: Noto Sans Gurmukhi UI:style=Regular
/usr/share/fonts/truetype/noto/NotoSerifEthiopic-Regular.ttf: Noto Serif Ethiopic:style=Regular
/usr/share/fonts/truetype/noto/NotoSansGurmukhi-Regular.ttf: Noto Sans Gurmukhi:style=Regular
/usr/share/fonts/truetype/noto/NotoSerifSinhala-Bold.ttf: Noto Serif Sinhala:style=Bold
/usr/share/fonts/truetype/noto/NotoSans-Italic.ttf: Noto Sans:style=Italic
/usr/share/fonts/opentype/urw-base35/NimbusMonoPS-Bold.otf: Nimbus Mono PS:style=Bold
/usr/share/fonts/opentype/urw-base35/NimbusRoman-Bold.otf: Nimbus Roman:style=Bold
/usr/share/fonts/truetype/noto/NotoSansKharoshthi-Regular.ttf: Noto Sans Kharoshthi:style=Regular
/usr/share/fonts/truetype/noto/NotoSansArmenian-Regular.ttf: Noto Sans Armenian:style=Regular
/usr/share/fonts/truetype/noto/NotoSansRejang-Regular.ttf: Noto Sans Rejang:style=Regular
/usr/share/fonts/type1/urw-base35/NimbusSansNarrow-Bold.t1: Nimbus Sans Narrow:style=Bold
/usr/share/fonts/truetype/noto/NotoSansJavanese-Bold.ttf: Noto Sans Javanese:style=Bold
0