Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Inbox
Inbox
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,139
    • Issues 1,139
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Inkscape
  • InboxInbox
  • Issues
  • #1400

Closed
Open
Opened Dec 17, 2019 by martin scharm@binfalse

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: inkscape/inbox#1400