# MWork Window Configuration

**URL:** <https://mworks.discourse.group/t/mwork-window-configuration/524>\
**Category:** Support\
**Created:** [April 14, 2015, 9:14pm UTC](https://mworks.discourse.group/t/mwork-window-configuration/524 "2015-04-14T21:14:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [April 14, 2015, 9:14pm UTC](https://mworks.discourse.group/t/mwork-window-configuration/524/1 "2015-04-14T21:14:46Z")

</div>

Hi Chris,

I am trying to run a MWorks psychophysics experiment on a computer with 2 monitors. However, the stimulus display cannot be shown with full-screen on the secondary monitor. Instead, it always created a non-fullscreen window on the main monitor. I followed the instruction: copy the setup\_variables\_two\_monitor, change its name into setup\_variables, and put it under the same folder as where my experiment xml file is.

I also figured that there is no MWorks file under /Library/Application Support when I type the path on the terminal. Is it something wrong during installation? I thought it should directly come with installation. I installed the latest version of MWorks on OS X10.9 version.

Thanks a lot,  
chiajung

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [April 15, 2015, 2:52pm UTC](https://mworks.discourse.group/t/mwork-window-configuration/524/2 "2015-04-15T14:52:53Z")

</div>

Hi Chiajung,

> I followed the instruction: copy the setup\_variables\_two\_monitor, change its name into setup\_variables, and put it under the same folder as where my experiment xml file is.

Your last step is wrong: The config file needs to go in `$HOME/Library/Application Support/MWorks/Configuration`, where `$HOME` is the path to your home directory (e.g. `/Users/chiajung`).

> I also figured that there is no MWorks file under /Library/Application Support when I type the path on the terminal.

If the directory `/Library/Application Support/MWorks` doesn’t exist, then MWServer and MWClient won’t even launch. If it’s missing, you definitely need to re-run the MWorks installer.

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [April 15, 2015, 5:12pm UTC](https://mworks.discourse.group/t/mwork-window-configuration/524/3 "2015-04-15T17:12:03Z")

</div>

Hi Chris,

The directory /Library/Application Support/MWorks doesn’t exist in terminal, yet I can still launch MWServer and MWClient. I would get a non-fullscreen window when I ran my experiment xml file. I also tried uninstalled MWorks and re-installed it again, the directory just didn’t show up.

The following is what I got in terminal.

brain-and-cog-five-eighty-one:Application Support Tatum$ ls  
AddressBook Dock Ubiquity  
CrashReporter NotificationCenter com.apple.TCC  
brain-and-cog-five-eighty-one:Application Support Tatum$ cd MWorks  
-bash: cd: MWorks: No such file or directory

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [April 15, 2015, 6:42pm UTC](https://mworks.discourse.group/t/mwork-window-configuration/524/4 "2015-04-15T18:42:33Z")

</div>

Hi Chiajung,

I think there’s some confusion here. We’ve been talking about two distinct directories:

1. `/Library/Application Support/MWorks`: system-level directory containing required MWorks components
2. `$HOME/Library/Application Support/MWorks`: user-level directory containing user-specific MWorks stuff

Directory #1 _must_ exist (and is created by the MWorks installer). Directory #2 is optional and must be created by you. Here are the contents of these two directories on my Mac:

```
$ ls "/Library/Application Support/MWorks"
Configuration/ Developer/ Examples/ Plugins/ Scripting/
$ ls "$HOME/Library/Application Support/MWorks"
Configuration/

```

> The directory /Library/Application Support/MWorks doesn’t exist in terminal

I assume you must be talking about directory #2. As I mentioned previously, the MWorks installer doesn’t create that one; you have to create it yourself. Here’s one way to create the user-level config directory from the terminal:

```
$ mkdir -p "$HOME/Library/Application Support/MWorks/Configuration"

```

Does that clear things up?

Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [April 15, 2015, 9:02pm UTC](https://mworks.discourse.group/t/mwork-window-configuration/524/5 "2015-04-15T21:02:53Z")

</div>

Yes!! It helped a lot! Thanks!

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 19, 2022, 10:40pm UTC](https://mworks.discourse.group/t/mwork-window-configuration/524/6 "2022-07-19T22:40:45Z")

</div>


