Reputation: 97
When starting gitk on command line im getting the following error:
user@comp:~/gitfolder$ gitk
Error in startup script: bad geometry specifier "1x-29"
while executing
"wm geometry . "${w}x$h""
(procedure "makewindow" line 401)
invoked from within
"makewindow"
(file "/usr/bin/gitk" line 12258)
Im running Ubuntu 14.04. This problem only happens with gitk (for example git gui works normally). I have tried uninstalling/reinstalling gitk (and git in general) but the problem still exists.
Upvotes: 2
Views: 2986
Reputation: 146
I know the question is very old, but I've encountered the same problem (accidentally pressed to me an unknown combination of keys) and maybe my solution can be helpful to someone.
Upvotes: 4
Reputation: 1
I'm using ubuntu 17.04, and my gitk file is in "~/.config/git/gitk",
Deleting this line ===> "set geometry(main) 1x-29*****" works for my ;)
Upvotes: 0
Reputation: 86
I had the same problem, I addressed it by opening the .gitk in an editor, and removing the following line:
set geometry(main) 1x-29+-1930+14
Alternatively, deleting the .gitk file from your home directory should also work.
Upvotes: 7