Skip to contentSkip to conversation

Configuring gitk appearance

DISCUSSION Joseph Wakeling 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Is there any way to configure the appearance of gitk either during or after installation? At present on my system (Ubuntu 6.10) the font used is almost illegible. I'm guessing it is partly due to gitk using GTK+ v1 instead of v2.

On a related note (which will reveal me as totally incompetent about Linux anything...), is it necessary to uninstall old versions of git before installing the new version? If so ... how? There is nothing in the INSTALL file about this.

Thanks,

    -- Joe
#1 lore raw
Quoted 4 lines · Joseph Wakeling

Is there any way to configure the appearance of gitk either during or after installation? At present on my system (Ubuntu 6.10) the font used is almost illegible. I'm guessing it is partly due to gitk using GTK+ v1 instead of v2.

gitk is not using GTK v1 but TCL/TK.

see your ~/.gitk and just change those option (9 to 13 or 15 will do):

set mainfont {Helvetica 9}
set textfont {Courier 9}
set uifont {Helvetica 9 bold}

Signature · 1 line
Vincent Hanquez
#2 lore raw
Quoted 7 lines · Vincent Hanquez

gitk is not using GTK v1 but TCL/TK.

see your ~/.gitk and just change those option (9 to 13 or 15 will do):

set mainfont {Helvetica 9}
set textfont {Courier 9}
set uifont {Helvetica 9 bold}

Thanks very much. Where does gitk look for fonts? It seems to find some, but not others, of the different sorts I have on my system.