FR: Merge duplicate paths in preferences

Summary:

In Inkscape preferences // System // System Data I see the path /usr/share twice. Shouldn't inkscape merge duplicates?

Manually collecting the same paths from command line gives:

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']

See also related question asked on unix.SX before.

Steps to reproduce:

  • open Inkscape
  • Press Ctrl + Shift + P
  • look at preferences // System // System Data

Sample attachments:

2021-02-18_screenshot_c1ecabd2

Version Info:

- Inkscape Version: 1.0.2 (e86c870879) now
- Operating System: compiled from source on Gentoo Linux
Edited by Jonas Stein