Page 1 of 1

[SOLVED] How to open .BLEND file from CONSOLE? connect faile

Posted: 14 Mar 2013, 08:26
by testsforknowledge
i wish to open .BLEND file (blender) from console window.
It gives me error "connect failed: no such file or directory". I type "blender -h test.blend" when i am in folder with that .blend file (checked with LS command)

What's wrong here? thnx

Re: How to open .BLEND file from CONSOLE? connect failed

Posted: 14 Mar 2013, 10:16
by Hamza
Please try with "dbus-launch blender -h test.blend".

Re: How to open .BLEND file from CONSOLE? connect failed

Posted: 14 Mar 2013, 13:07
by testsforknowledge
Hamza wrote:Please try with "dbus-launch blender -h test.blend".
not working. Connection not found :S
still trying to figure it out how to open .blend file from console ...

Re: How to open .BLEND file from CONSOLE? connect failed

Posted: 14 Mar 2013, 16:52
by Hamza
Can you upload somewhere a blend sample file?

Re: How to open .BLEND file from CONSOLE? connect failed

Posted: 15 Mar 2013, 21:05
by testsforknowledge
Hamza wrote:Can you upload somewhere a blend sample file?
it can be any .blend file, and cannot be opened. But i think problem is with me not knowing how to...
i use Porteus 1.2, Blender 2.64a.


you can open .blend file from console just by typing "blender name_of_blender_file.blend"??? i just get errors ... maybe i need to set some path for loading somewhere?

Re: How to open .BLEND file from CONSOLE? connect failed

Posted: 15 Mar 2013, 22:13
by Hamza

Code: Select all

/opt/blender/blender /path/to/file.blend

Re: How to open .BLEND file from CONSOLE? connect failed

Posted: 18 Mar 2013, 17:22
by testsforknowledge
Hamza wrote:

Code: Select all

/opt/blender/blender /path/to/file.blend
yes! this is working :) if you use this code, Blender automatically opens file

thank you Hamza