0

In Inkscape 1.02 on Gentoo Linux I see several duplicate paths in the system settings window (open with CTRL + SHIFT + P)

screenshot with duplicate paths

I would like to drop obsolete/duplicate paths. Where does Inkscape get these path information from?

echo ${PATH}

Shows different paths.

2 Answers 2

1

This sounds like a feature request for Inkscape to make the paths shown in that field unique. The Inkscape bug tracker is at https://inkscape.org/report .

3
  • Yes, I agree and perhaps I will write a feature request for this. But I am still curious, where the paths come from. Feb 18, 2021 at 22:16
  • 1
    You'll be able to ask developers directly when you make a report.
    – Moini
    Feb 19, 2021 at 17:47
  • 1
    Gave it a try gitlab.com/inkscape/inbox/-/issues/4497 Feb 19, 2021 at 22:46
0

@Moini was right: Opening a ticket on the Inkscape bugtracker was a good and Nathan Lee replied quickly.

I sum up the answer for the other .sx readers, because I expect that several systems need fixes in order to prevent duplicate or wrong paths:

Inkscape uses the paths returned by

Glib::get_system_data_dirs

and

Gtk::IconTheme::get_default()->get_search_path().

These can be collected on the command line via

python3 -c "from gi.repository import GLib; print(GLib.get_system_data_dirs())"
['/usr/local/share', '/usr/share', '/usr/share']

python3 -c "from gi.repository import Gtk; print(Gtk.IconTheme.get_default().get_search_path())"
['/home/myuser/.local/share/icons', '/home/myuser/.icons', 
'/usr/local/share/icons', '/usr/share/icons', '/usr/share/icons', 
'/usr/local/share/pixmaps', '/usr/share/pixmaps', '/usr/share/pixmaps']

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .