Inkscape.org
Beginners' Questions File export - Target directory confusion
  1. #1
    vincewebb vincewebb @vincewebb

    Hello
    I'm looking for some help to try and understand the way Inksacpe displays the target location of an image export. For example when I try to export an image, be it png or jpg, Inscape messes with the specified location and displays it in an unhelpful fashion:

    When I select an export location of:
    /home/vince/Documents/buryMeadows/2023_refurbish/inksc_exports/20231113/upstairs.jpg


    Inkscape displays this as:


    /run/user/1000/doc/204a7dde/upstairs.jpg

    Does anybody understand what is going on here ?

     

     

  2. #2
    johnsmith3321 johnsmith3321 @johnsmith3321

    What you are seeing is a temporary file location that Inkscape is using to store the exported image before saving it to the final location. This is because Inkscape needs to perform some processing on the image before it can be saved, and it does this in a temporary location.

    The temporary file location is different depending on your operating system. On Linux, the temporary file location is /run/user/1000/doc/204a7dde/. This is a unique location that is created for each user session.

    Inkscape will automatically delete the temporary file after it has finished saving the image to the final location. However, if Inkscape crashes or is closed prematurely, the temporary file may not be deleted.

    To avoid this, you can manually delete the temporary file after Inkscape has finished exporting the image. You can do this by opening the file manager and navigating to the temporary file location. The temporary file will have a name like upstairs.jpg.tmp.

    Alternatively, you can change the Inkscape preferences to use a different location for temporary files. To do this, open Inkscape and go to Edit > Preferences > System. Under the "Temporary files" section, change the "Directory for temporary files" setting to the desired location.

  3. #3
    vincewebb vincewebb @vincewebb

    @johnsmith3321  Thank you.

    If I want to export more images to the same chosen location, Inkscape helpfully remembers the last location used. The trouble is, it remembers the temporary location not the required location. Am I right to assume I need to start again every time and specify the required location from scratch ?

Inkscape Inkscape.org Inkscape Forum Beginners' Questions File export - Target directory confusion