Where are my current settings stored?

Post questions on how to use or achieve an effect in Inkscape.
pstein
Posts: 13
Joined: Sun Jul 01, 2012 4:54 pm

Where are my current settings stored?

Postby pstein » Sun Jul 01, 2012 5:00 pm

Assume I want to backup my current customized preferences/settings (for later restore on the same InScape installation or another (e.g. on my Notebook))

Where are these settings stored? In an *.ini file or in registry?

Peter

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Where are my current settings stored?

Postby brynn » Sun Jul 01, 2012 6:22 pm

They're stored in the Preferences file, but I'm not sure where it is. I think it's in the username's directory under Inkscape. Ok, here it is for Windows, and if your system is not Windows, perhaps you can infer the comparable location in your system. Username\AppData\Roaming\inkscape\preferences.xml. (Although backing up your whole system is not a bad idea ;))

rich2005
Posts: 55
Joined: Fri Mar 30, 2012 9:06 pm

Re: Where are my current settings stored?

Postby rich2005 » Sun Jul 01, 2012 7:22 pm

In linux, the Inkscape preferences.xml (there are other applications with their own preferences.xml) is in the (hidden) home folder ~/.config/inkscape

Don't some properties come from the default template when Inkscape starts?

From the 'readme' "A template may store any document-specific settings (such as initial zoom and view, paper size, background and borders, metadata, window geometry, grid and guide settings, export hints) as well as any objects."

For example, I have my own default.svg in ~/.config/inkscale/templates that starts up with my desired canvas size but also has snap turned off.

pstein
Posts: 13
Joined: Sun Jul 01, 2012 4:54 pm

Re: Where are my current settings stored?

Postby pstein » Sun Jul 01, 2012 7:58 pm

Ok, thank you. I am working under Win7.

Can I somehow move the whole preferences folder to another location?
I prefer a new subfolder of the InkScape installation folder.
in other words from

C:\USers\Peter\AppData\Roaming\inkscape

to

D:\graphic\InkScape\myPreferences\

Can I tell InkScape somehow to search at first in this folder before going to the default location?

One reason for re-locating is that I want to run InkScape from USB Stick and keep preferences bundled with my (portable) InkScape installation.

Peter

User avatar
Inkspots
Posts: 232
Joined: Sat Dec 03, 2011 3:16 am

Re: Where are my current settings stored?

Postby Inkspots » Sun Jul 01, 2012 9:45 pm

Do you know about the windows portable Build of Inkscape from this download page?
http://sourceforge.net/projects/inkscape/files/inkscape/0.48.2/InkscapePortable_0.48.2-1.paf.exe/download

pstein
Posts: 13
Joined: Sun Jul 01, 2012 4:54 pm

Re: Where are my current settings stored?

Postby pstein » Sun Jul 01, 2012 10:09 pm

Yes, I use it.
Nevertheless settings are currently stored in

C:\USers\Peter\AppData\Roaming\inkscape

Thats exactly the problem

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Where are my current settings stored?

Postby ~suv » Sun Jul 01, 2012 10:48 pm

Not sure if this works on Windows: Inkscape uses $XDG_CONFIG_HOME as path to its preferences folder (in accordance to the XDG spec, which defaults to "$HOME/.config" on linux/osx). You could try whether the Windows port of Inkscape (or the win32 backend of GTK+) supports this global variable, too (AFAIU - not a Windows user myself - on Windows, this would be %XDG_CONFIG_HOME%).

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Where are my current settings stored?

Postby brynn » Mon Jul 02, 2012 2:35 am

Be careful when using a USB drive with Inkscape version 0.48.2. Make sure images are saved in a folder on that drive, and not on the root directory. There is a bug, where Save As dialog will not appear, if an image has been saved to any root directory (C:\, F:\, etc.). It's already fixed for the next stable release, which is due this year :D


Return to “Help with using Inkscape”