I'm having trouble with a web application I'm writing: The web application, which runs as user nobody
, needs to launch an inkscape
process to manipulate some SVG files. Because this runs as user nobody
, there is no home directory. What I am doing is creating a temporary directory under /tmp
and trying to set that as the home directory via export HOME=/tmp/someUniqueId
. I then set a few things in that "temporary" home directory, like a symlink .fonts
to the folder for the font files to use.
I know this works for finding the ~/.fonts
directory. But when I launch Inkscape, all I get is a message that Inkscape could not create the .inkscape
directory:
Doesn't $HOME
set the location of my home directory? Why is Inkscape still trying to access /
as my home directory?
HOME
wasn't set to what you've expected. How exactly do you launch the app? Btw, are you sureinkscape
is the right tool for the job? What do you need to modify in an SVG file?cd ~
. What would you recommend for converting SVG 1.2 files to SVG 1.1, PDF, PNG, PostScript etc? Batick doesn't work. Must support<textFlow>
sconvert
) multiple graphic formats, and afaik PDF as well.