# Configuring gitk appearance

3 messages from 2007-02-15 to 2007-02-15. Participants: Joseph Wakeling, Vincent Hanquez.
Thread: https://gitlist.dev/t/6833

## Joseph Wakeling, 2007-02-15 16:24

Subject: Configuring gitk appearance
Message-ID: <45D48951.2000207@webdrake.net>
URL: https://gitlist.dev/e/45D48951.2000207%40webdrake.net

```
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

```

## Vincent Hanquez, 2007-02-15 16:26

Subject: Re: Configuring gitk appearance
Message-ID: <20070215162646.GA25337@snarc.org>
URL: https://gitlist.dev/e/20070215162646.GA25337%40snarc.org
In-Reply-To: <45D48951.2000207@webdrake.net>

```
On Thu, Feb 15, 2007 at 04:24:49PM +0000, Joseph Wakeling wrote:
> 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}

-- 
Vincent Hanquez

```

## Joseph Wakeling, 2007-02-15 17:05

Subject: Re: Configuring gitk appearance
Message-ID: <45D492F3.90404@webdrake.net>
URL: https://gitlist.dev/e/45D492F3.90404%40webdrake.net
In-Reply-To: <20070215162646.GA25337@snarc.org>

```
Vincent Hanquez wrote:
> 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.

```
