Skip to content

Nautilus Bookmarks Tor Browser infinite add

when using dotfiles to persist bookmarks in Nautilus side bar,
(/live/persistence/TailsData_unlocked/dotfiles/.config/gtk-3.0/bookmarks)

after every restart, new line [file:///home/amnesia/Tor%20Browser] gets added,
so with infinite boots -> infinite Tor Browser shortcuts in the Nautilus’ side bar

it is possible that there is a missing conditional statement that checks if in the /live/persistence/TailsData_unlocked/dotfiles/.config/gtk-3.0/bookmarks the [file:///home/amnesia/Tor%20Browser] already exists.

this can be remedied by setting the owner permission of the [file:///home/amnesia/Tor%20Browser] to read only.

as a consequence, if the permission is set to read only, the shortcuts on the doesktop break - their pictures dont get loaded, only metadata gets loaded, which may suggest that there is a hard exit when Tails cant write to /live/persistence/TailsData_unlocked/dotfiles/.config/gtk-3.0/bookmarks

i’ve attached the pictures

cheers!

To whoever will work on this

The corresponding code lives in /usr/local/lib/add-GNOME-bookmarks.
To test the fix: systemctl --user restart tails-add-GNOME-bookmarks.service

Attachments

Original created by @op_mb on 17201 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information