Tag Info

New answers tagged

3

Most modern dekstops are EMWH compliant. You can use wmctrl to control those and the windows on them, e.g.: wmctrl -a <WIN> to activate a window by switching to its desktop and raising it (<WIN> can be various things, by default a string match on the window title, see the wmctrl man page).


-1

It is as simple as this: xdotool getactivewindow getwindowname Good luck hope it works for you!


1

Detecting windows on the current desktop, and resizing them can both be done using wmctrl To list all the windows you can use: wmctrl -l A quick example to resize the current active window to a size of 500 x 500 at position 0 0 would be: wmctrl -r :ACTIVE: -e 0,0,0,500,500 Finally, if you want to get the current screen size to help with your tiling ...


1

There is screen to do that with (virtual) terminal applications, and there is xpra for X11.



Top 50 recent answers are included