GNOME Bugzilla – Bug 105295
dia should not open any gui when in command line mode
Last modified: 2004-12-22 21:47:04 UTC
Dia seems to have a nice mode for working with command line. This is usefull for automatic production of eps from dia files using makefiles, latex, etc. However it seem's that despite being in command line mode it attempts to use some gui. In older version I was getting an assertion on absence of help file (why on earth is that needed if you do not use gui?). This has disappeared with 0.90, but I noticed sthg else: 1. Turn the tree diagram window on in preferences 2. Then use dia in command line mode, for instance dia --nosplash --export diagram.eps diagram.dia You will notice that diagram window appears for a short moment. The easy work around is not to open it, but actually there is a deeper problm underneath. With current architecture it seems that dia is not able to export to postscript without having an xserver running, so one cannot latex his document working in remote telnet window, etc without excessive difficulty. Ideally neither Xserver nor Gnome should be needed for selected operations. Perheps they should be separated into another tool, called from Dia?
we are aware of this patches welcome. i am checking to see if there might already be a bug report tracking this.
Duplicate http://bugzilla.gnome.org/show_bug.cgi?id=58196 *** This bug has been marked as a duplicate of 58196 ***
This clearly is a DUP in long time perspective. In a short one however it would be enough to check if the diagram window should be opened (when using -e or not using -e). This will not solve the Xserver presence software, but it should improve speed (slightly) and general impression made. I actually wanted to send you a patch, but it's somewhat discouraging that to compile dia I would have to upgrade vast parts of my installation. Then the effort is not worth the price. This might very discouraging for new contributors to join in.