Positioning a window on your Linux desktop is very easy, the –geometry parameter allows positioning a window easily. An easy way to start multiple instances of an application and then be able to position them all side by side.
┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Videos] └─$ mpv --geometry=208:0 NOLm_CarChase_0105_1000k.mp4 |
This example is how to load a couple of X11 apps and have them appear on a certain part of your desktop.
# Start a couple of tools xload -geometry 96x48-0-0 & xbiff -geometry 48x48-100-0 & oclock -geometry 48x48-152-0 & |
Another very useful example.
# start some nice programs xclock -geometry 50x50-1+1 & xconsole -iconic & xterm -geometry 80x24 & fvwm || xterm if [ "$SSH_AGENT_PID" ]; then ssh-add -D < /dev/null eval `ssh-agent -s -k` fi |
This loads up a Linux desktop with the Xclock and Xconsole apps running and positioned properly as well as an Xterm open and ready for input.
This makes arranging a desktop environment very easy.
┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5/Videos] └─$ xterm -geometry 80x24x800x300 xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1" |
-geometry 80x24x800x300 |
The first two values are the dimensions of the Xterm window and the last two values are the position of the window on the screen. This depends upon screen resolution though.