[Turn]http://navkirats.blogspot.hk/2014/10/dia-diagram-mac-osx-yosemite-fix-i-use.htmli Use the DIA tool for all my Diagramming work. I have worked with many tools, but find Dia the easiest to use and are the most responsive, apart from it being a great Ope Nsource tool:). I recently upgraded to the new Mac Operating System Yosemite and I could no longer use Dia. Each time I clicked in the Dia icon, it would jump up & down and does nothing. I finally tried opening the app via the command line, which gave me the following error:
The Domain/default pair of (. Globalpreferences, Applecollationorder) does not exist
The error trace ended with GTK warning-could is not open display.
I could not find anything on the Internet that is Dia specific, so I thought of writing this blog, in hope of helping Som Eone in the same situation as me. So here's what I did:
- Goto your applications directory where Dia.app exists (mine is located at:/applications)
- Right click the icon and click on Show package Contents
- Goto the directory dia.app/contents/resources/bin
- Edit the file dia, in your favourite text editor.
- After line, add the line: export display=:0
- Save and exit.
- Close Xquartz if its running.
- Now Dia should come up.
- If It does not come up, try restarting your computer.
If not, try and add the line-
Export display=:0To your ~/.bash_profile, re-login and hopefully you should has Dia working once again. Let me know if this helped your out:)
|
The red rectangle shows where I put the DISPLAY variable for Dia to start responding.
|
Dia Diagram Mac OSX Yosemite Fix Flash back xterm