Donald R Laster Jr
2016-06-12 04:33:01 UTC
I am using a shell script to open xterms in a 24x4 virtual screen/viewport environment and discovered that the --geometry option appears to run into a problem with the value of the window placement exceeds 32767:
133x33+29760+1576 (the 29760 number's position)
I was using an environment that has double monitors configured via xrandr. I have modified the script to be able to use the X command option:
-xrm "*Page:x y z" (example: -xrm "*Page:0 21 1")
I would like the script to be able to determine the coordinates of the virtual screen the script is being run within. Thus if the script is being run in the virtual screen/viewport 10 (horizontal) at 2 (vertical) it could determine the location it is at and make any position adjustments desired.
So far I have not found any way that would allow this.
Sincerely,
Donald R Laster Jr.
133x33+29760+1576 (the 29760 number's position)
I was using an environment that has double monitors configured via xrandr. I have modified the script to be able to use the X command option:
-xrm "*Page:x y z" (example: -xrm "*Page:0 21 1")
I would like the script to be able to determine the coordinates of the virtual screen the script is being run within. Thus if the script is being run in the virtual screen/viewport 10 (horizontal) at 2 (vertical) it could determine the location it is at and make any position adjustments desired.
So far I have not found any way that would allow this.
Sincerely,
Donald R Laster Jr.