New answers tagged


Run xprop _NET_WM_PID or xdotool selectwindow getwindowpid from a terminal then click on a window to see the process ID of the process that owns that window. (This works often but not always, see What process created this X11 window? for caveats.) One you have the process ID (e.g. 1234), ps -p 1234 -o args or ls -l /proc/1234/exe tells you what command the ...


You can use the tool called, "xdotool" to control window size and location. Not only that, any script you write in bash, using xdotool, can be setup to work with fully maximized window and it can be scripted to set the window size any x:y coordinates by manipulating the mousemove and "click" commands.

Top 50 recent answers are included