how to display current X-Y position of window in gnome-terminal

Solution 1:

Use xdotool to get the position of your current terminal window...

Install xdotool if you don't have it:

sudo apt install xdotool

Select the window and display its geometry:

xdotool getwindowgeometry `xdotool selectwindow`