Forum › Forums › General › Tips and Tricks › antiX 17.4 and tor-bundle
- This topic has 7 replies, 2 voices, and was last updated Mar 28-12:45 pm by caprea.
-
AuthorPosts
-
March 28, 2019 at 10:23 am #19790Member
trdos
Let me share the successful experience of installing tor-browser in antix 17.4. Previously, as I recall, at 14 and 15 antiX it was enough to unpack the proposed Torproject.org archive and launch it using the shortcut found in it. Now an attempt to launch via a shortcut in X-Window or copy-paste into the console gives the error “Unsupported escape character”. The easiest way was the method described in https://wiki.debian.org/TorBrowser through the installation torbrowser-launcher.
1. Download the stretch-backports torbrowser-launcher for the desired architecture and install it with the Gdebi package installer.
2. Run torbrowser-launcher in the console. It will download and install tor-bundle to ~ / .local / share
3. In ~ / .local / share / torbrowser / tbb / x86_64 (or 32) / tor-browser_en-US / Browser there is a shortcut to start-tor-browser.desktop. It must be opened as text and replace the line.Exec = sh -c ‘”$ (dirname” $ * “)” / Browser / start-tor-browser –detach || ([! -x “$ (dirname” $ * “)” / Browser / start-tor-browser] && “$ (dirname” $ * “)” / start-tor-browser –detach) ‘dummy% k
on
Exec = sh -c ‘”/home/YOURUSERNAME/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/start-tor-browser” –detach’
You should also edit the file ~ / .local / share / torbrowser / tbb / x86_64 / tor-browser_en-US / Browser / start-tor-browser, in which, after the comment
# Fix up .desktop Icon and Exec Paths, and update the .desktop file from the
# canonical version if it was changed by the updater.should comment out the lines
#cp start-tor-browser.desktop ../
#sed -i -e “s, ^ Name =. *, Name = Tor Browser, g” ../start-tor-browser.desktop
#sed -i -e “s, ^ Icon =. *, Icon = $ PWD / browser / chrome / icons / default / default128.png, g” ../start-tor-browser.desktop
#sed -i -e “s, ^ Exec =. *, Exec = sh -c ‘\” $ PWD / start-tor-browser \ “–detach || ([! -x \” $ PWD / start- tor-browser \ “] \ & \ & \” \ $ (dirname \ “\ $ * \”) \ “/ Browser / start-tor-browser –detach) ‘dummy% k, g” ../start- tor-browser.desktopotherwise, after the first launch of the tor-browser, the shortcut will be overwritten and the error will pop up again.
After saving the changes in both files, for convenience, you can take out the launch shortcut on your desktop by copying start-tor-browser.desktop to ROX Filer.March 28, 2019 at 11:39 am #19791Moderator
caprea
::It’s really great that you share your experiences here in the forum, I greatly appreciate this behavior and welcome to the forum.
but I’m afraid that the torbrowser-launcher depends on libsystemd0I don’t know if you’re aware that antiX is completely systemd free.
It is not necessary to install the launcher AFAIK anyway.
You can download the tor-browser here
https://www.torproject.org/download/and without installing it extract the tar.xz, and click on tor-browser_en-US (if you chose another language on the side above you will have tor-browser_fr and so on.)
Then don’t click on the start-tor-browser.icon
Open a terminal in this direction ( ~/Downloads/tor-browser_en-US )
and type
./start-tor-browser.desktopNo” Unsupported escape character” error will appear this way.
March 28, 2019 at 12:04 pm #19792Membertrdos
::Thank you.
Yes, I know that antiX is systemd free and this is also one of its merits! 🙂
Currently, a search on libsystemd0 gives$ sudo dpkg -s libsystemd0
dpkg-query: package ‘libsystemd0’ is not installedOpen a terminal in this direction and type
./start-tor-browser.desktopNo” Unsupported escape character” error will appear this way.
Unfortunately, in the method given by you the error will be the same.
March 28, 2019 at 12:14 pm #19793Moderator
caprea
::Weird, it works here without problems.
The debian package torbrowser-launcher from backports depends on libdbus-glib-1-2
https://packages.debian.org/stretch-backports/torbrowser-launcherwhich depends on libdbus-1-3
https://packages.debian.org/stretch/libdbus-glib-1-2which depends on libsystemd0
https://packages.debian.org/stretch/libdbus-1-3What does
apt-cache policy libsystemd0tell you ?
I didn’t try to install it, though.
March 28, 2019 at 12:19 pm #19794Membertrdos
::Seems everything to be fine too
$ sudo apt-cache policy libsystemd0
libsystemd0:
Installed: (none)
Candidate: 232-25+deb9u9
Version table:
232-25+deb9u9 500
500 http://security.debian.org stretch/updates/main amd64 Packages
232-25+deb9u8 500
500 http://ftp.md.debian.org/debian stretch/main amd64 PackagesMarch 28, 2019 at 12:23 pm #19795Moderator
caprea
March 28, 2019 at 12:29 pm #19798Membertrdos
March 28, 2019 at 12:45 pm #19801Moderator
caprea
::You are right, for all these depencies there are nosystemd -versions installed on antiX, of course.
So many thanks for the How To .
-
AuthorPosts
- You must be logged in to reply to this topic.