Prev: Help needed : Tcl 8.5 with Scotty
Next: RFD: comp.lang.tcl.announce moderated (remove) LAST CALL FOR COMMENTS
From: Óscar Fuentes on 23 Feb 2010 10:28 Óscar Fuentes <ofv(a)wanadoo.es> writes: [snip] > Just discovered that gitk maximizes correctly. I'll look into its source > code with my fingers crossing hoping it doesn't use a binary extension > for that. No, gitk is mostly oblivious to screen size. Maybe there is some X command-line tool that returns the screen size for screen number N.
From: Alexandre Ferrieux on 23 Feb 2010 10:50 On Feb 23, 4:28 pm, Óscar Fuentes <o...(a)wanadoo.es> wrote: > > Maybe there is some X command-line tool that returns the screen size for > screen number N. (not tested, no multi-head): xdpyinfo -display :0.0 xdpyinfo -display :0.1 xdpyinfo -display :0.2 -Alex
From: Óscar Fuentes on 23 Feb 2010 12:47 Hello Alex. Alexandre Ferrieux <alexandre.ferrieux(a)gmail.com> writes: > On Feb 23, 4:28 pm, Óscar Fuentes <o...(a)wanadoo.es> wrote: >> >> Maybe there is some X command-line tool that returns the screen size for >> screen number N. > > (not tested, no multi-head): > > xdpyinfo -display :0.0 > xdpyinfo -display :0.1 > xdpyinfo -display :0.2 The problem is that my setup is an "extended desktop" one, so Tk is doing the right thing when it returns the combined width of the two monitors for [wm screenwidth .] The same applies to xdpyinfo. `xrandr -q' displays information about each connector and the resolution it is working on. That could be used. The other solution would be to not use the "extended desktop" configuration, but I'm failing at doing that (and I'm not sure what implications it has from the user POV)
First
|
Prev
|
Pages: 1 2 Prev: Help needed : Tcl 8.5 with Scotty Next: RFD: comp.lang.tcl.announce moderated (remove) LAST CALL FOR COMMENTS |