gitk: Error in startup script: bad screen distance "4.5"

Jonathan Nieder jrnieder at
Thu Apr 12 09:04:22 UTC 2018

tags 895446 + moreinfo

Hi Michael,

Michael Biebl wrote:

> gitk no longer successfully starts here. When I run it from a terminal,
> I get
> $ gitk
> Error in startup script: bad screen distance "4.5"
>     while executing
> "$canv conf -scrollregion [list 0 0 $canvxmax $ymax]"
>     (procedure "setcanvscroll" line 6)
>     invoked from within
> "setcanvscroll"
>     (procedure "initlayout" line 17)
>     invoked from within
> "initlayout"
>     (procedure "getcommits" line 4)
>     invoked from within
> "getcommits {}"
>     (file "/usr/bin/gitk" line 12613)
> $ echo $?
> 1

I'm not yet able to reproduce this.  The package works fine for me.

Torbjörn Andersson suggests that it may be related to the fontconfig
version; can you confirm?  E.g. did the problem start for you at the
same time as a fontconfig update?

Can you try running gitk from testing or stable to see if they behave

Part of the reason I ask these questions is that gitk hasn't had any
recent changes.


More information about the Pkg-freedesktop-maintainers mailing list