This project is read-only.

Unable to get dual monitor set-up working

Nov 29, 2012 at 10:00 PM

Hi, I recently bought a new monitor and I am trying to get Windawesome to play nicely with it, however I keep getting this error:

"11/29/2012 4:53:59 PM
Windawesome, Version=, Culture=neutral, PublicKeyToken=null
mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089
System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Drawing, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Core, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089
Microsoft.Scripting, Version=, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronPython, Version=, Culture=neutral, PublicKeyToken=7f709c5b713576e1
IronRuby, Version=, Culture=neutral, PublicKeyToken=7f709c5b713576e1
Microsoft.CSharp, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089

OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CLR: 4.0.30319
64-bit OS: True
64-bit process: True
Elevated: False
System.InvalidCastException: Unable to cast object of type 'IronPython.Runtime.List' to type 'Windawesome.Workspace'.
   at IronPython.Runtime.IEnumeratorOfTWrapper`1.get_Current()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.<DistinctIterator>d__81`1.MoveNext()
   at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
   at Windawesome.Windawesome..ctor()
   at Windawesome.Program.Main()
Inner Exception:

If it helps, here is my config as it is right now

Thanks in advance!

Nov 30, 2012 at 8:22 PM


I immediately see two potential problems, both concerning StartingWorkspaces. :)

config.StartingWorkspaces = [config.Workspaces[0]], [config.Workspaces[1]]

1) This should be ONE list, not two

2) The two workspaces inside should be for the two monitors.

To fix, use something like:

config.StartingWorkspaces = [config.Workspaces[0], config.Workspaces[2]]

Besides, workspaces 3 and 4 should use config.Bars[1]. After that it might work. :)