Good evening. I have two monitors and would like certain applications to always start on the same monitor. What’s the best way to do that in Mate?
MATE doesn’t have this capability natively, but you can achieve that in Compiz. I think there should be a “window rules” entry in the Compiz configuration (but I’m not entirely sure, I don’t use Compiz).
Alternatively, you can use Devilspie which works really well for this purpose, regardless of window manger.
I figured it out.
mate-terminal --geometry 1680x1050+1920+0
This did the job for me. I added --full-screen -e tmux
so now I’m pretty close to what I have in i3. Thanks!
Haha nice, I like that!
Make sure you update your *.desktop file or launcher/shortcut binding to make it permanent.
Are you using i3 with MATE or do you run a separate environment for it?
I have it bound to Alt+Enter. I’m trying to get Mate as close to i3 as I can.
Hi Jake,
There is a shell environment variable DISPLAY.
Open the terminal on desired monitor and run:
echo $DISPLAY
You will use it’s output to start the application on desired monitor.
DISPLAY=":0:x" firefox
If you want to use the command in a mate panel launcher, then encapaulate the command like this:
sh -c 'DISPLAY=":0:x" firefox'
I hope this helps, it took quite some time to type this on a smart phone.