Sure, here's screenshot of what I'm trying to do:
Left two windows go on one screen. The right window goes on another.
Selection_010.jpg
Here's an example script I'm using:
Code:
#!/bin/bash
function get_window_id()
{
window_id=$(wmctrl -l | grep "$1" | tail -1 | cut -f1 -d" ")
}
firefox -new-window "website.html"
get_window_id "Mozilla Firefox"
wmctrl -i -r "$window_id" -e 0,0,0,950,1080
firefox -new-window "other-webseite.html"
get_window_id "Mozilla Firefox"
wmctrl -i -r "$window_id" -e 0,950,0,968,1080
libreoffice --writer "textdoc"
I don't actually use wmctrl on the last window because the window manager places it where I want it.
Bookmarks