26

Creating this question, and providing the answer as well.

On new documents created with the default template, the default unit is either in (US) or mm (Europe).

enter image description here

As I work mostly on documents which are displayed on screens, I'm mostly interested in having them measured in pixels (the export to png format is also facilitated).

How to change the unit of the default document?

1 Answer 1

20

Changing the unit used in a new document is done by configuring a default template:

In Windows the default template is a document that is saved as:

%appdata%\inkscape\templates\default.svg.

This folder is actually:

C:\Users\Me\AppData\Roaming\inkscape\templates

in Windows 7, and is empty.

See more details on this answer related to changing the default size.

7
  • 3
    For macOS and Linux it's ~/.config/inkscape/templates/default.svg.
    – czerny
    Commented May 22, 2017 at 18:45
  • 1
    With my version 0.92 on Windows 64bit, the file appear to have been relocated to C:\Program Files\Inkscape\share Commented Dec 17, 2017 at 10:32
  • 1
    @EntarraDe'Lacord: Thanks for the update. By the way, `C:\Program Files` in a correctly configured Windows is not writable without administrator privileges. This folder is supposed to only contain application binaries and permanent files. To write (and update) files removing the UAC protection is required. A not so good idea when connected to the Internet.
    – mins
    Commented Jun 12, 2018 at 17:55
  • 1
    @mins you don't need to completely remove the UAC protection: Run the editor you're opening the file with (Inkscape I guess) as Administrator and you can write to the file in question.
    – Basuro
    Commented Sep 5, 2018 at 13:21
  • 3
    For Linux (0.92) it's /usr/share/inkscape/templates/ and is the default for all users. You can copy /usr/share/inkscape/templates/default.svg to ~/.config/inkscape/templates/ and edit the copy. If that doesn't work maybe you need to copy one of the many localized svgs instead. Commented Apr 3, 2020 at 10:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.