I am running Linux Mint 13, with a KDE 4 desktop manager. I would like to launch applications from a terminal (konsole in my specific case) and setting the exact size of the window and the location of the window. As an example, if I launch Kate and Chromium from a terminal, I want Kate's window the cover the left-half of my screen and I want Chromium to cover the upper-right quarter of my screen.
How can I accomplish this?
ps: I have a 15.6" screen set to a 1920x1080 resolution.
.
-geometry WIDTHxHEIGHT+X+Y-geometry. Also, some apps don't use pixels but columns and rows.-geometryisn't giving you the result you want, try wmctrl.chromium && wmctrl -r chomium -e 'g,x,y,w,h'You might need a sleep delay before wmctrl. Its a bit more complicated to figure out which chromium window to control when you have multiple open.-geometryyou can also leave off width and height. You can also use negative numbers to offset from the right-hand and bottom edges of the screen.wmctrldid not work for me. I will play around with it some more in the weekend.