>>103142983
You can give emacsclient some elisp to execute with -e. For example, I have this elisp function.
;; https://emacs.stackexchange.com/a/74260/37580
(defun frame-center (&optional frame)
"Center the current frame."
(interactive)
(let* ((dw (display-pixel-width))
(dh (display-pixel-height))
(f (or frame (selected-frame)))
(fw (frame-pixel-width f))
(fh (frame-pixel-height f))
(x (- (/ dw 2) (/ fw 2)))
(y (- (/ dh 2) (/ fh 2))))
;;(message (format "dw %d dh %d fw %d fh %d x %d y %d" dw dh fw fh x y))
(set-frame-position f x y)))
I can use it with emacsclient like this:
emacsclient -e "(frame-center)" -c
This only controls position and places the new emacs frame at the center of the screen. If you wanted to control size and position, you could write your own elisp function to do that and call it via emacsclient in a similar way.