How to specify which monitor programs will display on?

I recently installed Ubuntu 24.04.2 with the Cinnamon GUI, and I’m using two monitors.

My goal is to have Conky run on one monitor, and all other programs on the other.

After my sessions time out, I usually find my internet windows and other programs have moved to the monitor on which I plan to set up Conky.

Is there a way to force programs to stay on a particular monitor by default, and tell Conky to stay on the other?

Hi,

I moved your post to the relevant category and added tags.

For a brief guide on using categories and tags, see here.

Some quick tips:

For general posting guidelines, including using descriptive titles, see here.

When adding terminal output, please wrap with code tags by highlighting the text and pressing Ctrl+E on the keyboard.

Thanks.

Sure! Here’s a concise version you can post as a comment:


To keep apps on one monitor and Conky on the other:

  1. Set your primary monitor in Settings → Display by dragging the black bar to your preferred screen. Apps usually open there by default.

  2. Edit your Conky config and add:

    xinerama_head = 1
    

    Use 0 or 1 depending on which monitor you want Conky on.

  3. To stop windows from moving after suspend/lock, make sure the correct monitor is set as primary and consider using tools like devilspie2 or wmctrl to enforce window positions if needed.

Let me know if you want example configs!

Was thinking devilspie too