PanderMusubi / inkscape-open-symbols

Open source SVG symbol sets that can be used as Inkscape symbols
MIT License
685 stars 95 forks source link

update install instructions for Inkscape ≥1 #130

Open ofloveandhate opened 2 years ago

ofloveandhate commented 2 years ago

The instructions on README.md are incorrect for Inkscape after 0.9. Inkscape 1+ doesn't use ~/.config/inkscape/ -- adding stuff there will have no effect on anything.

On MacOS Big Sur, I was just able to install symbol sets from this set by doing the following:

  1. download or clone this repo to some location. git clone https://github.com/PanderMusubi/inkscape-open-symbols/issues/new
  2. Close Inkscape if open
  3. Copy the symbol set you want to add (I symlinked):
    
    cd /Applications/Inkscape.app/Contents/Resources/share/inkscape/symbols
    cp /path/to/inkscape-open-symbols/path/to/symbol-set.svg ./
    # example copy: cp ~/repos/inkscape-open-symbols/font-awesome/solid/font-awesome-solid-set.svg ./

this symlinks --> # ln -s /path/to/inkscape-open-symbols/path/to/symbol-set.svg

of course, this can also be done without the cd, and in other ways, too.

the sane computer operator doesn't put spaces in paths, so newcomers to terminal,

watch out for folders with spaces in their names, and use tab-completion to help save time


4. Launch Inkscape, add symbols as usual.

I have no idea what the correct procedure is on other operating systems.  Hoping this helps someone!
PanderMusubi commented 2 years ago

Thanks, I will work on this later this month.

nathanal commented 2 years ago

Inkscape still uses ~/.config/inkscape for linux repo, appimage and most snap installs (Ubuntu, Fedora and Arch at least). Flatpak (linux) and snap (when it doesn't have access to ~/.config) is a bit more containerized so it'd be a bit harder to find the config folder (but the system folder is similarly a bit more hidden in those cases too).

For Mac, the new location should be ~/Library/Application Support/org.inkscape.Inkscape/config/inkscape/ (I'm not a mac user, but you can check by running inkscape --user-data-directory or viewing the System tab in the Preferences dialog. It looks like the path you've given is the "system data directory" inkscape --system-data-directory, which won't be kept between installs).

ofloveandhate commented 2 years ago

This makes more sense than the location I posted, which was directly into the app's bundle. Thanks for this! (I'm not the maintainer, just a user, but still useful)

VelvetLounger commented 2 years ago

Any suggestions on where to put the symbol svg file in Windows 10? I have tried both of the following and neither are working -user/me/AppData/roaming/inkscape/symbols/ -Program files/inkscape/share/symbols/

Moini commented 2 years ago

Any suggestions on where to put the symbol svg file in Windows 10? I have tried both of the following and neither are working -user/me/AppData/roaming/inkscape/symbols/ -Program files/inkscape/share/symbols/

What does it tell you in Edit > Preferences > System?

VelvetLounger commented 2 years ago

Hello. Under Edit>Preferences>System the path to symbols is C:\Users\me\AppData\Roaming\inkscape\symbols

I was able to Iconic symbols to load properly after copying it to that location. I am still having problem with the symbols contained in the file named Electrical_symbols_library.svg I can open that file in inkscape and copy the individual symbols into another document, which is what I ended up doing. But when I select Electrical_symbols_library.svg on the Symbols Set dropdown I get the image of a magnifying glass and it says "No symbols found".

Thanks again!

On Sat, Apr 9, 2022 at 5:59 AM Moini @.***> wrote:

Any suggestions on where to put the symbol svg file in Windows 10? I have tried both of the following and neither are working -user/me/AppData/roaming/inkscape/symbols/ -Program files/inkscape/share/symbols/

What does it tell you in Edit > Preferences > System?

— Reply to this email directly, view it on GitHub https://github.com/PanderMusubi/inkscape-open-symbols/issues/130#issuecomment-1094000718, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMV36OZEYI2NWA5IIHJJHRLVEF5JJANCNFSM5B66EO2A . You are receiving this because you commented.Message ID: @.***>

-- Keir Briscoe @.***

Moini commented 2 years ago

@VelvetLounger So, that is the correct directory. I don't know why the Electrical Symbols file doesn't work - this could either be a bug in Inkscape, or bad formatting of the file. Next step to investigate would be to figure out what the difference is between those and the symbol sets that work.

VelvetLounger commented 2 years ago

Yeah. I honestly don't use inkscape too much. As I was able to use my workaround I think Ill leave it alone for now. Next time I need electrical symbols Ill make an attempt to figure it out.

Thanks for your feedback!