Saving snapping preferences?

Post questions on how to use or achieve an effect in Inkscape.
henkmuller
Posts: 9
Joined: Thu Oct 01, 2015 10:15 pm

Saving snapping preferences?

Postby henkmuller » Wed Oct 21, 2015 7:23 pm

Hi,

I am using inkscape 0.91, and the default snapping behaviour has changed. I like the fine tuning, but I would like to, by default, have snapping on for cusp nodes and text.

Is there any way to save this information in the general inkscape preferences; so that when I create a new document I don't have to first set up all the snapping?

The release notes allude to this by mentioning "the snapping preferences" in the context of clicking the snapping boxes along the top; but the bit in Preferences -> Behaviour -> Snapping seems to only cover how it snaps, not what it snaps to?

Many thanks,
Henk

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Saving snapping preferences?

Postby hulf2012 » Thu Oct 22, 2015 1:36 am

Hello,
I think it's not possible, but I may be wrong

I can only point to these (the last 0.48 version guide):
http://tavmjong.free.fr/INKSCAPE/MANUAL ... pping.html
http://tavmjong.free.fr/INKSCAPE/MANUAL ... Files.html
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

henkmuller
Posts: 9
Joined: Thu Oct 01, 2015 10:15 pm

Re: Saving snapping preferences?

Postby henkmuller » Thu Oct 22, 2015 7:29 am

I thought so, thanks!

User avatar
Maestral
Posts: 982
Joined: Sat Aug 27, 2011 7:10 am

Re: Saving snapping preferences?

Postby Maestral » Thu Oct 22, 2015 10:52 pm

Try with New file, adjust all of the settings to what you`d prefer to see when you start Inkscape and than save that file as "default" (Inkscape/Share/Templates/)
:tool_zoom: <<< click! - but, those with a cheaper tickets should go this way >>> :!:

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

Re: Saving snapping preferences?

Postby ~suv » Fri Oct 23, 2015 3:24 am

Maestral wrote:
henkmuller wrote:Is there any way to save this information in the general inkscape preferences; so that when I create a new document I don't have to first set up all the snapping?
Try with New file, adjust all of the settings to what you`d prefer to see when you start Inkscape and than save that file as "default" (Inkscape/Share/Templates/)
I'd still not recommend to overwrite a shared file (e.g. the default template for new documents) distributed with and installed by inkscape (you can't restore the original easily) - Inkscape does load custom user templates (including a custom default template for new documents) stored in the user's Inkscape profile, as mentioned before in similar topics (this works on all platforms - Windows is no exception here).

  • Location for user templates:
    (You can also look up the full path to the user's Inkscape profile in 'Edit > Preferences > System: User config'.)
    • Windows:
      (paste the string below into the address bar of Explorer to access it in case AppData is hidden on your system):

      Code: Select all

      %APPDATA%\inkscape\templates\
    • Linux/OS X:

      Code: Select all

      $HOME/.config/inkscape/templates/
  • Recommended reading: Using templates in Inkscape | Libre Graphics World
    (a few minor details might have changed since the article was written - the sub-menu is now a dialog to choose a custom template - but the underlying basic stuff is still the same in Inkscape 0.91.)

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

Re: Saving snapping preferences?

Postby brynn » Fri Oct 23, 2015 10:36 am

Maestral wrote:Try with New file, adjust all of the settings to what you`d prefer to see when you start Inkscape and than save that file as "default" (Inkscape/Share/Templates/)


Are snap preferences stored in a template? It depends which preferences you're talking about. For cusp nodes and text, which the op mentioned, I don't think so. Although I haven't tried it.

For the options (which are now) in Document Properties, those should be saved, I think....if you have the proper options set in Inkscape Preferences > Interface > Windows. And the snap options (Inks Prefs > Behavior > Snapping) should be saved.

Oh wow! I just created a custom template, and it did save the snap options! I'm surprised! And good news for Henk :D

Although he may want to consider whether he wants that for the default template, or just another template. If he names it "default.svg" it will open every time he opens Inkscape. But if he names it something else, he'll have to open it separately, after opening the default doc (from File menu > Templates).

henkmuller
Posts: 9
Joined: Thu Oct 01, 2015 10:15 pm

Re: Saving snapping preferences?

Postby henkmuller » Wed Mar 02, 2016 11:56 pm

Never got around to say thank you - as ~suv suggested, I saved it in ~/.config/inkscape/templates/default.svg and it works like magic.


Return to “Help with using Inkscape”