git/list[1] front-page[2] threads[3] people[4] search[5] about
 

gitk/git-gui misfeature: saving the geometry can the window out of reach

From
Benoit Sigoure <tsuna@lrde.epita.fr>
Date
Nov 10, 2007, 21:48 UTC
Message-ID
<63F7323C-D90A-4F5E-AE3C-8937455972FD@lrde.epita.fr>
Hello list,

gitk (and I think git-gui too) save their "geometry" (which includes X/Y position) in ~/.gitk. So far so good. The problem is that I often use 2 screens at work (one is the screen of my laptop, the other one is above) and I happen to put my gitk/git-gui windows on the 2nd screen. When I go back home, I don't have a second screen and gitk/git-gui open their windows out of reach. This could well be an ugly wart in Apple's port of Tcl/Tk (I have a MacBook with OSX 10.4.10) or a more general problem (didn't try with other OSes).

git-gui version 0.8.4 git version 1.5.3.5.654.gdd5ec (tonight's master's HEAD) Tcl/Tk version 8.4.7 (Apple's) (gitk doesn't support --version!)

For those struggling with the same problem, here is a quick workaround:
   gnused -i /geometry/d ~/.gitk
Cheers,
-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
Next: Shawn O. Pearce
Message 1 of 3 in “gitk/git-gui misfeature: saving the geometry can the window out of reach”
  1. Benoit SigoureNov 10, 2007
  2. Shawn O. PearceNov 11, 2007
  3. Shawn O. PearceNov 11, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.