The default fonts for git gui (aka gitk) in Ubuntu are down right horrible. Even Ubuntu 10.04 defaults to tk8.4, which doesn’t support font smoothing. Fortunately there is a simple way to fix this and make a whole bunch of applications look prettier all at once.
# sudo update-alternatives –config wish
There are 3 choices for the alternative wish (providing /usr/bin/wish).
Selection Path Priority Status
* 0 /usr/bin/wish-default 10000 auto mode
1 /usr/bin/wish-default 10000 manual mode
2 /usr/bin/wish8.4 841 manual mode
3 /usr/bin/wish8.5 840 manual mode
Then type ‘3’ and hit enter. Now you’ll be using tk8.5 by default, and miracle of miracles your eyes won’t be scarred by jagged ugly fonts in gitk anymore.
3 thoughts on “Prettier fonts for Git Gui on Ubuntu”
needs an update as the — does not get rendered correctly on ff on ubuntu 10.04
sudo update-alternatives –config wish
Excellent, I wanted this for a long time. This works well on Ubuntu 10.10.
Thanks a lot!