请问如何更改 [字符界面] 的字体大小?
Tofloor
poster avatar
shinnku721
deepin
2017-09-25 06:22
Author
刚刚接触linux,想尝试使用linux的字符界面,但是命令行的字体太小了,看起来好辛苦,请问如何更改 字符界面的字体大小?

谢谢大家!


Reply Favorite View the author
All Replies
avatar
woodelf
deepin
2017-09-25 07:05
#1
临时生效用setfont工具,永久生效需要改/etc/vconsole.conf配置文件,可以分别man setfont和man vconsole.conf来查看具体用法。
控制台可使用的字体都在/usr/share/consolefonts下。
以上方法是在控制台分辨率不变的情况下修改字体和大小,但是对于启用了KMS的高分屏,效果可能不会太明显,最好安装下terminus这种最大支持32号的字体。







    来自:Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0  (zh-CN)
    ——2017/9/24 下午11:05:01
    Reply View the author
    avatar
    shinnku721
    deepin
    2017-09-25 07:28
    #2
    https://bbs.deepin.org/post/145967
    临时生效用setfont工具,永久生效需要改/etc/vconsole.conf配置文件,可以分别man setfont和man vconsole.c ...

    我尝试man setfont,提示说"没有 setfont  手册页条目",还有在我系统的/etc下貌似不存在vconsole.conf文件...

    我装的系统的是 deepin 15.4版本
    Reply View the author
    avatar
    Lyvnee
    deepin
    2017-09-25 07:51
    #3
    用终端就行了,没必要使用tty
    Reply View the author
    avatar
    woodelf
    deepin
    2017-09-25 07:57
    #4
    https://bbs.deepin.org/post/145967
    我尝试man setfont,提示说"没有 setfont  手册页条目",还有在我系统的/etc下貌似不存在vconsole.conf文 ...

    setfont属于kbd软件包,vconsole.conf没有的话可以自己创建,没有man手册倒是比较奇怪,相关的说明应该是systemd提供的。
    可参考其他在线说明,比如:https://www.freedesktop.org/software/systemd/man/vconsole.conf.html







      来自:Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0  (zh-CN)
      ——2017/9/24 下午11:57:49
      Reply View the author
      avatar
      shinnku721
      deepin
      2017-09-25 21:03
      #5
      https://bbs.deepin.org/post/145967
      setfont属于kbd软件包,vconsole.conf没有的话可以自己创建,没有man手册倒是比较奇怪,相关的说明应该是 ...

      好的,谢谢!
      Reply View the author