After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 105295 - dia should not open any gui when in command line mode
dia should not open any gui when in command line mode
Status: RESOLVED DUPLICATE of bug 58196
Product: dia
Classification: Other
Component: general
0.90
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2003-02-05 12:17 UTC by Andrzej Wasowski
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrzej Wasowski 2003-02-05 12:17:56 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?
Comment 1 Alan Horkan 2003-02-05 18:05:40 UTC
we are aware of this

patches welcome.  
i am checking to see if there might already be a bug report tracking
this.  

Comment 2 Alan Horkan 2003-02-05 18:07:05 UTC
Duplicate

http://bugzilla.gnome.org/show_bug.cgi?id=58196

*** This bug has been marked as a duplicate of 58196 ***
Comment 3 Andrzej Wasowski 2003-02-06 08:28:09 UTC
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.