1

I have an X11 virtual frame buffer that I would like to run just one particular program in so that I can connect and disconnect from either my desktop or tablet without closing the program (and also without running a full desktop manager). Everything works great except the window top left of the window is off by a few hundred pixels each, is it possible to adjust this on an xvfb?

Screenshot: enter image description here

Ron E
  • 2,214
  • 2
  • 16
  • 14
  • Possible duplicate of [Setting the default location for opening windows in an Xvfb environment](http://stackoverflow.com/questions/1848225/setting-the-default-location-for-opening-windows-in-an-xvfb-environment) – velop Jan 10 '17 at 07:30
  • @velop not a duplicate, notice in the other question the comment about running TWM? the issue here was not running a window manager. Once a window manager was used the issue was resolved (hence my answer). – Ron E Jan 13 '17 at 05:20
  • Oh I thought that Xvfb is already an simple window manager. But actually the questioner Gustaf does not say that he is using twm. Anyway which window manager did you use in the end? – velop Jan 13 '17 at 10:40
  • I believe it was TWM I ended up with. Whichever lightweight tiling manager will work. – Ron E Jan 24 '17 at 16:07

2 Answers2

0

Try starting your application with the option ‘-geometry WIDTHxHEIGHT+0+0‘ replacing WIDTH and HEIGHT with the screen size. See ‘man X‘ for a description of the -geometry option.

Brian Swift
  • 1,403
  • 8
  • 10
  • this produced didn't work, perhaps wine doesn't have these settings – Ron E Jul 12 '12 at 03:30
  • Bummer. I guess wine is different. My only other suggestion is to try running wine's `regedit` command to see if the initial window location is specified in the registry, either under *Software->Wine->AppDefaults->your-app* or possibly under *Software->Wine->X11 Driver->Desktop* – Brian Swift Jul 12 '12 at 07:58
  • Isn't it double dashes? `--geometry`? – velop Jan 10 '17 at 07:29
0

seems the issue was with not running a window manager, I thought you could get away with it, guess not!

Ron E
  • 2,214
  • 2
  • 16
  • 14