Inkscape 1.xはどこからルート設定を取得しますか?

Inkscape 1.xはどこからルート設定を取得しますか?

Gentoo LinuxのInkscape 1.02では、システム設定ウィンドウ(CTRL + SHIFT + Pで開く)に複数の冗長パスがあります。

冗長パスを持つスクリーンショット

使用されなくなったか重複したパスを削除したいと思います。 Inkscapeはこのルート情報をどこで取得しますか?

echo ${PATH}

さまざまなパスを表示します。

答え1

これは、このフィールドに表示されるパスを一意にするためにInkscapeへの機能要求のように聞こえます。 Inkscapeのバグトラッカーは次の場所にあります。https://inkscape.org/report

答え2

@Moiniが正しいです。Inkscape bugtracker チケットいいですね。 Nathan Leeがすばやく答えた。

重複または誤ったパスを防ぐために複数のシステムを変更する必要があると予想しているので、他の.sx読者からの回答を要約しました。

Inkscapeは返されたパスを使用します。

Glib::get_system_data_dirs

そして

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

コマンドラインから収集できます。

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

関連情報