antiX 17.4 and tor-bundle

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.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #19790
    Member
    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.desktop

      otherwise, 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.

      #19791
      Moderator
      caprea
        Helpful
        Up
        0
        ::

        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 libsystemd0

        I 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.desktop

        No” Unsupported escape character” error will appear this way.

        #19792
        Member
        trdos
          Helpful
          Up
          0
          ::

          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 installed

          Open a terminal in this direction and type
          ./start-tor-browser.desktop

          No” Unsupported escape character” error will appear this way.

          Unfortunately, in the method given by you the error will be the same.

          #19793
          Moderator
          caprea
            Helpful
            Up
            0
            ::

            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-launcher

            which depends on libdbus-1-3
            https://packages.debian.org/stretch/libdbus-glib-1-2

            which depends on libsystemd0
            https://packages.debian.org/stretch/libdbus-1-3

            What does
            apt-cache policy libsystemd0

            tell you ?

            I didn’t try to install it, though.

            #19794
            Member
            trdos
              Helpful
              Up
              0
              ::

              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 Packages

              #19795
              Moderator
              caprea
                Helpful
                Up
                0
                ::

                Strange enough, maybe I’ll try your way the next days.

                #19798
                Member
                trdos
                  Helpful
                  Up
                  0
                  ::

                  I will be glad! 🙂

                  #19801
                  Moderator
                  caprea
                    Helpful
                    Up
                    0
                    ::

                    You are right, for all these depencies there are nosystemd -versions installed on antiX, of course.

                    So many thanks for the How To .

                  Viewing 8 posts - 1 through 8 (of 8 total)
                  • You must be logged in to reply to this topic.