Multimonitor, again Thread last updated on 2003-09-01 11:36:46

Posted by member 7223 on 2003-08-31 21:36:25

Hi, multimonitor users

I have a single monitor, but I always wanted my themes to be multimonitor compliant; and I always miss that :(
Currently, I'm playing with a theme with all stuff is static and OnBottom. Instead of using usual positioning:
Module1X 64
Module1Y 64
...
Module2X -64
Module2Y -64
I've put some extra evars in "themevars.rc" that could be changed to match your configuration:
AllTop 0
AllLeft 0
AllRight $ResolutionX$
AllBottom $ResolutionY$

Then, I think positioning modules this way:
Module1X $AllLeft+64$
Module1Y $AllTop+64$
...
Module2X $AllRight-64$
Module2Y $AllBottom-64$

should work on multimontor systems where the second monitor is placed on the right or below the first one

Am I right ?

Posted by member 2112 on 2003-08-31 23:04:32 link

I'm pretty sure that's correct. When you get your theme done I can test it for you, if you like.

Posted by member 7223 on 2003-08-31 23:18:56 link

It's actually only OTS2 compliant. I just have to add backward compatibility with OTS1 and add more color shemes. Then, I'll release it.

Posted by member 99 on 2003-09-01 11:23:41 link

Yes, assuming you want your theme to stretch across all monitors. Note that if the monitor on the right/bottom is at a lower resolution, $AllRight-64$,$AllBottom-64$ may not be visible. (it's a pain, I know...)

And you don't need to mess with left/top at all if you only care about the secondary being to the right or below.

Personally, I would recommend using something other than All and a MonitorNames command, which should keep everything on the primary monitor if it's all onBottom. (er, I think... ;) It's a different effect though, and it's hard to tell if you only have one monitor :/

Posted by member 37809 on 2003-09-01 11:36:46 link

I've wondered about !moving modules around. Do the same rules apply -- use only positive coordinates for a setup going right/down?