Starting qcad with file to open

Post your question about installing or upgrading QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Post one question per topic.

Post Reply
d.tischler
Registered Member
Posts: 1
Joined: Wed Feb 15, 2017 11:17 am

Starting qcad with file to open

Post by d.tischler » Wed Feb 15, 2017 11:27 am

qcad pro on ubuntu based 64bit linux:

I am looking for a way to start qcad by double-click on a dxf-file.

While it is no problem to associate qcad with dxf-files, it is always requested to first change into the installation directory prior to starting qcad. This can easily be accomplished with a small wrapper script but then the opening of the file fails. To my understanding, this is because the file browser appends the file to open without an absolute path and once I change into the installation directory, this does not make sense anymore.

How is this intended?

Thanks,
Sebastian.

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Starting qcad with file to open

Post by andrew » Wed Feb 15, 2017 12:21 pm

d.tischler wrote:I am looking for a way to start qcad by double-click on a dxf-file.
The QCAD installer (.run file) creates that association automatically.
d.tischler wrote:This can easily be accomplished with a small wrapper script
QCAD already comes with such a wrapper script (named "qcad"). The binary is called "qcad-bin". Passing the absolute path and filename of a file is no problem in any case.

Post Reply

Return to “QCAD Installation and Upgrades”