Permanently store custom markers
I'm seeking a way to permanently store custom markers. However, it looks like inkscape only reads its own /usr/share/inkscape/markers/markers.svg
file...?
If I add my marker there I can use it from the "Stroke style" menu as expected, but as this file comes from the inkscape package it may be overwritten with any new inkscape version (and I'll thus loose my custom markers - and so does anyone else who wants to use them)..
There does not seem to be a way to permanently store custom markers outside of inkscape's /usr/share/inkscape/markers/markers.svg
- or am I doing something wrong?
Steps to reproduce:
- create SVG with custom marker (eg see file attached: mymarker.svg)
- save
mymarker.svg
in/usr/share/inkscape/markers/mymarkers.svg
$HOME/.config/inkscape/mymarkers.svg
$HOME/.config/inkscape/markers/mymarkers.svg
$HOME/.config/inkscape/symbols/mymarkers.svg
- open Inkscape
- draw a line
- open "Fill and Stroke" (ctrl+shift+f)
- open tab "Stroke style"
- open "Markers" drop-down
What happened?
My custom markers do not appear in that drop-down list.
What should have happened?
My custom markers should appear in that drop-down list.
More information
I also tried naming it markers.svg
in
$HOME/.config/inkscape/markers.svg
$HOME/.config/inkscape/markers/markers.svg
$HOME/.config/inkscape/symbols/markers.svg
but that didn't help.
I checked strace with:
strace inkscape 2>&1| grep marker
but inkscape never tried to access any of my files - except the $HOME/.config/inkscape/symbols/markers.svg
, but from there only the symbols are evaluated and the markers are ignored (this is probably as expected, though).
Inkscape Version and Operating System:
- Inkscape Version: 0.92.4 (also tried the AppImage of 1.0beta2)
- Operating System: Debian GNU/Linux
- Operating System version: bullseye/testing