bookmark

shell - How to set window size and location of an application on screen via command line? - Unix & Linux Stack Exchange


Description

   WID=$(wmctrl -lp | grep $PID | cut "-d " -f1)

done

Set the size and location of the window

See man wmctrl for more info

wmctrl -i -r $WID -e 0,50,50,250,250

Preview

Tags

Users

  • @jil

Comments and Reviews