I have three monitors and some apps remember the monitor they were last run on and will restart from that same monitor (very polite), other apps seem to pick a monitor at random, and one in particular always opens on my rightmost monitor. Can this kind of thing be controlled? In particular GeoGebra always opens on the rightmost. I'm trying to understand devilspie2 but it's a steep learning curve. I did get this to work:
if (get_application_name() == "Firefox") then minimize()end... but i hafta run devilspie2 after Firefox is loaded and as for GeoGebra,it doesn't show up at all via: '% xlsclients -la', however '% ps -ef' shows:
root 78636 1439 2 10:56 pts/8 00:00:22/opt/GeoGebra-Linux-Portable-5-4-911-3/zulu25.30.17-ca-jre25.0.1-linux_x64/bin/java -Xms32m -Xmx1024m -Dawt.useSystemAAFontSettings=on -
... and '% ps -e' shows:
78636 pts/8 00:00:22 java
... so I don't know how/what to use as the application name. Or perhaps there's another approach? Dragging windows to another monitor isn't exactly difficult, still I'd like to be able to pick my monitor if possible.
Edit:
DVI-I-0 connected 1920x1080+3840+0 (normal left inverted right x axis y axis)HDMI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis)DP-4 connected 1920x1080+0+0 (normal left inverted right x axis y axis)