Menu

#136 Forcing a window into a desktop on its startup, based on the window name.

None
open
nobody
None
5
2017-03-24
2013-08-27
Jay Deet
No

I would like to be able to automatically have each window automatically placed into a particular desktop upon its startup. In my case, when I restart a Firefox session (after a browser crash!), I'd like for my tech-related Firefox windows to always go to desktop 8, all cooking related windows to go to desktop 3, etc. I'd need to save the group of current desktop labels with a desktop number and then have the routine read the title, search the labels/desktop file, and "move" it to the proper desktop.

Discussion

  • Steven Phillips

    Steven Phillips - 2014-06-09

    This can already be done - see 'Window Rules Dialog' help topic, in particular the Identification section - 'Window name' and option 'Automatically move windows of this type to Desktop'. You should ID the windows on more that just the window name to avoid miss-matches.

    However this may not work as expected. Some programs create their windows with a dummy title first, such as 'Firefox', before loading their content and setting the window title/name based on the content. Unfortunately the VW window rules may be applied while the title is the default in which case the name won't match the rules. You can however use VW's 'Reapply rules' option in the control menu once all the windows have initialised.

     
  • Apneet Jolly

    Apneet Jolly - 2017-03-24

    I periodically run VirtuaWin.exe -msg 1073 to reapply the rules.

     

Log in to post a comment.