您的位置:首页 > 运维架构 > Linux

Linux下设置字体(Fedora 19,Windows字体)

2013-11-09 14:47 645 查看

步骤:

1、C://Windows/Fonts目录下 想要拷贝的字体(我的是win 8.1)。

cd /mnt/Win8/Windows/Fonts            #我是用ntfs-3g(资料[1])挂载win8的ntfs分区
cp msyh*  simsun* /usr/share/fonts    #将微软雅黑以及simsun字体拷贝到linux的字体文件夹
fc-cache -fv                          #更新font cache


2、安装gnome-tweak-tool

yum install gnome-tweak-tool


3、修改Gnome字体。Win 键搜索tweak并启动之(我的是Fedora 19 Gnome,也可以teminal键入gnome-tweak-tool)。选择Fonts,设置Default font 为Microsoft YaHei UI,Document font为Microsoft YaHei。

4、修改Chrome字体。Standard font为Microsot YaHei,Serif font 为Serif,San's Serif font为Sans,Fix-width-font为Monospace,Encoding为Chinese simplified(GBK)。

5、另外如果觉得Terminal的字体有点细的话,可以Edit——Profile Preferences——General中的Monospace字体大小改为13,会变得粗很多。

备注:

[1]   Linux/Windows双系统的话可以在linux安装ntfs-3g来访问windows的ntfs分区。
不知道为什么如果直接在fstab中加入ntfs分区的mount条目的话,启动时候会mount失败(猜想是因为那时候ntfs-3g服务还是什么的还未启动?)。想到个解决办法:

vim /etc/rc.d/rc.local    #用户自定义启动

键入,

#!bin/sh

# 好吧,这个是设置linux启动时的屏幕亮度的
echo 6 > /sys/class/backlight/acpi_video0/brightness

# mount ntfs 分区,其中的-L选项是指分区Label,可以用e2label device [newlabel] 修改
mount -t ntfs-3g -L File  /mnt/File
mount -t ntfs-3g -L User  /mnt/User
mount -t ntfs-3g -L Game  /mnt/Game
mount -t ntfs-3g -L Download /mnt/Download
mount -t ntfs-3g -L Win8  /mnt/Win8
mount -t ntfs-3g -L Soft  /mnt/Soft
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux fedora 字体