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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With