Hans
Hans

Reputation: 2492

X keeps opening offscreen

I am ssh-ing into my pi with

ssh [email protected] -Y

in order to transmit an X window. The window opens, but extremely far offscreen, I have to resize my screen multiple times randomly in order to make it visible.

Question: is it possible to move the window automatically

or: where do I set the standard X window position / offset?

Upvotes: 0

Views: 274

Answers (1)

JvO
JvO

Reputation: 3106

With -geometry:

xterm -geometry +50+100

..positions a window 50 pixels from the left and 100 from the top. To specify the size:

xterm -geometry 400x300

...or combined:

xterm -geometry 400x300+50+100

Upvotes: 1

Related Questions