<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 3, 2016 at 11:35 PM, Katrin Schweitzer <span dir="ltr"><<a href="mailto:Katrin.Schweitzer@ims.uni-stuttgart.de" target="_blank">Katrin.Schweitzer@ims.uni-stuttgart.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear list,<div>I just recently started using Dia  on Mac OSX 10.11.3 and it seemed to work fine.</div><div><br></div><div>However, suddenly it won't start any more. </div><div><br></div><div>The problem started, when I minimized Dia and couldn't get the windows back.</div></div></blockquote><div><br></div><div>You get the window back through the XQuartz menu, not through OS X icons. In other words, all X11 apps run inside the XQuartz container so to speak, so even though the OS as such sees the process, then native OS X Windowing system only knows about XQuartz.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div> I force-quit it and trie to restart. Then, I received an error message that seems to be typical with many Mac applications "The application Dia.app is not open anymore" and that supposedly is fixed by a reboot. After rebooting, Dia won't start either.</div><div><br></div><div>When I try to open the application now, xterm launches. Nothing else happens.</div><div><br></div><div>Can anyone kindly point me to what to do (or where to research further)?</div><div><br></div></div></blockquote><div><br></div><div>1. Locate Dia.app (usually in /Applications)</div><div>2. Show contents (or use a terminal shell to cd to the directory in the following step)</div><div>3. cd to Dia.app/Contents/Resources/bin</div><div>4. Edit the file dia</div><div>5. After line 39 add the line export DISPLAY=:0</div><div>6. Save the file and exit</div><div>7. Close XQuartz if it's running</div><div>8. Start DIA again and it should start, if not restart computer and should work</div><div><br></div><div><br></div><div>If it doesn't work, please post the modified dia shell script here.</div><div><br></div><div><br></div><div>Best,</div><div>Alex</div></div></div></div>