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