如何在gitk中配置字体大小?

Mar*_*n G 5 linux git gitk

使用Linux,如何在gitk中配置字体和字体大小?

浏览菜单可能非常令人沮丧,因为它们提供的配置可能性非常小.

Mar*_*n G 14

您可以在中配置字体和字体大小 ~/.gitk

例:

set mainfont {Monaco 10}
set textfont {Monaco 10}
set uifont {Monaco 10}
Run Code Online (Sandbox Code Playgroud)

您也可以通过工具本身来完成:

  • 打开菜单 Edit/Preferences
  • 点击 Fonts
  • 单击以举例Main font来设置主字体的属性

  • 文件`〜/ .gitk`是配置文件的三个可能位置之一.我在`〜/ .config/git/gitk`.有关其他位置,请参阅https://git-scm.com/docs/gitk#_files (2认同)