Problem setting shortcut for Tor Browser












1















I've installed Tor Browser and I can run it buy the command:



./start-tor-browser.desktop 


This command works as long as the Tor icon(the globe icon) is in : /home/user/tor-browser_de/ and I am also there in ~/tor-browser_de.



When I want to set the shortcut Super+T, I use the command ./start-tor-browser.desktop, but it does not work. I copied the Tor icon to /home/user, but the problem still persists. How can I fix this problem?










share|improve this question




















  • 1





    Provide the full path to the file, i.e. /home/user/tor-browser_de/start-tor-browser.desktop. I'm not sure if running a .desktop file works in the context of a shortcut though. If not, open the file in a text editor and use the command specified in the Exec=... line.

    – danzel
    Jan 11 at 10:56
















1















I've installed Tor Browser and I can run it buy the command:



./start-tor-browser.desktop 


This command works as long as the Tor icon(the globe icon) is in : /home/user/tor-browser_de/ and I am also there in ~/tor-browser_de.



When I want to set the shortcut Super+T, I use the command ./start-tor-browser.desktop, but it does not work. I copied the Tor icon to /home/user, but the problem still persists. How can I fix this problem?










share|improve this question




















  • 1





    Provide the full path to the file, i.e. /home/user/tor-browser_de/start-tor-browser.desktop. I'm not sure if running a .desktop file works in the context of a shortcut though. If not, open the file in a text editor and use the command specified in the Exec=... line.

    – danzel
    Jan 11 at 10:56














1












1








1








I've installed Tor Browser and I can run it buy the command:



./start-tor-browser.desktop 


This command works as long as the Tor icon(the globe icon) is in : /home/user/tor-browser_de/ and I am also there in ~/tor-browser_de.



When I want to set the shortcut Super+T, I use the command ./start-tor-browser.desktop, but it does not work. I copied the Tor icon to /home/user, but the problem still persists. How can I fix this problem?










share|improve this question
















I've installed Tor Browser and I can run it buy the command:



./start-tor-browser.desktop 


This command works as long as the Tor icon(the globe icon) is in : /home/user/tor-browser_de/ and I am also there in ~/tor-browser_de.



When I want to set the shortcut Super+T, I use the command ./start-tor-browser.desktop, but it does not work. I copied the Tor icon to /home/user, but the problem still persists. How can I fix this problem?







shortcut-keys tor






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 11 at 11:18







Codito ergo sum

















asked Jan 11 at 6:16









Codito ergo sumCodito ergo sum

1,4602725




1,4602725








  • 1





    Provide the full path to the file, i.e. /home/user/tor-browser_de/start-tor-browser.desktop. I'm not sure if running a .desktop file works in the context of a shortcut though. If not, open the file in a text editor and use the command specified in the Exec=... line.

    – danzel
    Jan 11 at 10:56














  • 1





    Provide the full path to the file, i.e. /home/user/tor-browser_de/start-tor-browser.desktop. I'm not sure if running a .desktop file works in the context of a shortcut though. If not, open the file in a text editor and use the command specified in the Exec=... line.

    – danzel
    Jan 11 at 10:56








1




1





Provide the full path to the file, i.e. /home/user/tor-browser_de/start-tor-browser.desktop. I'm not sure if running a .desktop file works in the context of a shortcut though. If not, open the file in a text editor and use the command specified in the Exec=... line.

– danzel
Jan 11 at 10:56





Provide the full path to the file, i.e. /home/user/tor-browser_de/start-tor-browser.desktop. I'm not sure if running a .desktop file works in the context of a shortcut though. If not, open the file in a text editor and use the command specified in the Exec=... line.

– danzel
Jan 11 at 10:56










3 Answers
3






active

oldest

votes


















1














The command needs the full path. I've tried it with a bash-script for now and ./Path/To/File/Script.sh does not work. But bash /Path/To/File/Script.sh does.



In: Running a .desktop file in the terminal i found it should be deskopen, so the command for your shortcut should be:



deskopen /home/user/tor-browser_de/start-tor-browser.desktop


I hope that helps!






share|improve this answer
























  • +1, but unfortunately the command does not work(it gives the error command not found), I am trying to solve it by the link that you've attached.

    – Codito ergo sum
    Jan 11 at 12:28






  • 1





    @Coditoergosum unrelated to this post: please don't suggest edits where the only change is gparted->GParted.

    – guntbert
    Jan 11 at 22:46











  • @ guntbert thanks for comment, I'll try to improve my edits. But I don't understand whats wrong with correcting GParted? You have rejected one of my posts in which I had corrected GParted 5 times. I see edits in which only one letter is capitalizad.

    – Codito ergo sum
    Jan 12 at 3:09








  • 1





    @Coditoergosum opinions about what is a valuable edit differ of course. In my opinion case alone isn't worth the effort. I got the feeling that you were starting to search for all occurrences of gparted...

    – guntbert
    Jan 13 at 11:41



















1














I figured it out, thanks to the link attached by @Patient32Bit . There is an answer that says:




The answer should be



xdg-open program_name.desktop



But due to a bug this no longer works.




But the answer goes to 2010, and it seems that the bug is fixed. I set the shortcut by:



xdg-open start-tor-browser.desktop





share|improve this answer































    0














    Most correct way is to edit .desktop file. Open it with text editor, and change path to tor to correct one. Then everything should work fine, including keyboard shortcut.



    As I remember in tor bundle is relative path, so you can unpack it and run. Fix it.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1108767%2fproblem-setting-shortcut-for-tor-browser%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      The command needs the full path. I've tried it with a bash-script for now and ./Path/To/File/Script.sh does not work. But bash /Path/To/File/Script.sh does.



      In: Running a .desktop file in the terminal i found it should be deskopen, so the command for your shortcut should be:



      deskopen /home/user/tor-browser_de/start-tor-browser.desktop


      I hope that helps!






      share|improve this answer
























      • +1, but unfortunately the command does not work(it gives the error command not found), I am trying to solve it by the link that you've attached.

        – Codito ergo sum
        Jan 11 at 12:28






      • 1





        @Coditoergosum unrelated to this post: please don't suggest edits where the only change is gparted->GParted.

        – guntbert
        Jan 11 at 22:46











      • @ guntbert thanks for comment, I'll try to improve my edits. But I don't understand whats wrong with correcting GParted? You have rejected one of my posts in which I had corrected GParted 5 times. I see edits in which only one letter is capitalizad.

        – Codito ergo sum
        Jan 12 at 3:09








      • 1





        @Coditoergosum opinions about what is a valuable edit differ of course. In my opinion case alone isn't worth the effort. I got the feeling that you were starting to search for all occurrences of gparted...

        – guntbert
        Jan 13 at 11:41
















      1














      The command needs the full path. I've tried it with a bash-script for now and ./Path/To/File/Script.sh does not work. But bash /Path/To/File/Script.sh does.



      In: Running a .desktop file in the terminal i found it should be deskopen, so the command for your shortcut should be:



      deskopen /home/user/tor-browser_de/start-tor-browser.desktop


      I hope that helps!






      share|improve this answer
























      • +1, but unfortunately the command does not work(it gives the error command not found), I am trying to solve it by the link that you've attached.

        – Codito ergo sum
        Jan 11 at 12:28






      • 1





        @Coditoergosum unrelated to this post: please don't suggest edits where the only change is gparted->GParted.

        – guntbert
        Jan 11 at 22:46











      • @ guntbert thanks for comment, I'll try to improve my edits. But I don't understand whats wrong with correcting GParted? You have rejected one of my posts in which I had corrected GParted 5 times. I see edits in which only one letter is capitalizad.

        – Codito ergo sum
        Jan 12 at 3:09








      • 1





        @Coditoergosum opinions about what is a valuable edit differ of course. In my opinion case alone isn't worth the effort. I got the feeling that you were starting to search for all occurrences of gparted...

        – guntbert
        Jan 13 at 11:41














      1












      1








      1







      The command needs the full path. I've tried it with a bash-script for now and ./Path/To/File/Script.sh does not work. But bash /Path/To/File/Script.sh does.



      In: Running a .desktop file in the terminal i found it should be deskopen, so the command for your shortcut should be:



      deskopen /home/user/tor-browser_de/start-tor-browser.desktop


      I hope that helps!






      share|improve this answer













      The command needs the full path. I've tried it with a bash-script for now and ./Path/To/File/Script.sh does not work. But bash /Path/To/File/Script.sh does.



      In: Running a .desktop file in the terminal i found it should be deskopen, so the command for your shortcut should be:



      deskopen /home/user/tor-browser_de/start-tor-browser.desktop


      I hope that helps!







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jan 11 at 11:52









      Patient32BitPatient32Bit

      616




      616













      • +1, but unfortunately the command does not work(it gives the error command not found), I am trying to solve it by the link that you've attached.

        – Codito ergo sum
        Jan 11 at 12:28






      • 1





        @Coditoergosum unrelated to this post: please don't suggest edits where the only change is gparted->GParted.

        – guntbert
        Jan 11 at 22:46











      • @ guntbert thanks for comment, I'll try to improve my edits. But I don't understand whats wrong with correcting GParted? You have rejected one of my posts in which I had corrected GParted 5 times. I see edits in which only one letter is capitalizad.

        – Codito ergo sum
        Jan 12 at 3:09








      • 1





        @Coditoergosum opinions about what is a valuable edit differ of course. In my opinion case alone isn't worth the effort. I got the feeling that you were starting to search for all occurrences of gparted...

        – guntbert
        Jan 13 at 11:41



















      • +1, but unfortunately the command does not work(it gives the error command not found), I am trying to solve it by the link that you've attached.

        – Codito ergo sum
        Jan 11 at 12:28






      • 1





        @Coditoergosum unrelated to this post: please don't suggest edits where the only change is gparted->GParted.

        – guntbert
        Jan 11 at 22:46











      • @ guntbert thanks for comment, I'll try to improve my edits. But I don't understand whats wrong with correcting GParted? You have rejected one of my posts in which I had corrected GParted 5 times. I see edits in which only one letter is capitalizad.

        – Codito ergo sum
        Jan 12 at 3:09








      • 1





        @Coditoergosum opinions about what is a valuable edit differ of course. In my opinion case alone isn't worth the effort. I got the feeling that you were starting to search for all occurrences of gparted...

        – guntbert
        Jan 13 at 11:41

















      +1, but unfortunately the command does not work(it gives the error command not found), I am trying to solve it by the link that you've attached.

      – Codito ergo sum
      Jan 11 at 12:28





      +1, but unfortunately the command does not work(it gives the error command not found), I am trying to solve it by the link that you've attached.

      – Codito ergo sum
      Jan 11 at 12:28




      1




      1





      @Coditoergosum unrelated to this post: please don't suggest edits where the only change is gparted->GParted.

      – guntbert
      Jan 11 at 22:46





      @Coditoergosum unrelated to this post: please don't suggest edits where the only change is gparted->GParted.

      – guntbert
      Jan 11 at 22:46













      @ guntbert thanks for comment, I'll try to improve my edits. But I don't understand whats wrong with correcting GParted? You have rejected one of my posts in which I had corrected GParted 5 times. I see edits in which only one letter is capitalizad.

      – Codito ergo sum
      Jan 12 at 3:09







      @ guntbert thanks for comment, I'll try to improve my edits. But I don't understand whats wrong with correcting GParted? You have rejected one of my posts in which I had corrected GParted 5 times. I see edits in which only one letter is capitalizad.

      – Codito ergo sum
      Jan 12 at 3:09






      1




      1





      @Coditoergosum opinions about what is a valuable edit differ of course. In my opinion case alone isn't worth the effort. I got the feeling that you were starting to search for all occurrences of gparted...

      – guntbert
      Jan 13 at 11:41





      @Coditoergosum opinions about what is a valuable edit differ of course. In my opinion case alone isn't worth the effort. I got the feeling that you were starting to search for all occurrences of gparted...

      – guntbert
      Jan 13 at 11:41













      1














      I figured it out, thanks to the link attached by @Patient32Bit . There is an answer that says:




      The answer should be



      xdg-open program_name.desktop



      But due to a bug this no longer works.




      But the answer goes to 2010, and it seems that the bug is fixed. I set the shortcut by:



      xdg-open start-tor-browser.desktop





      share|improve this answer




























        1














        I figured it out, thanks to the link attached by @Patient32Bit . There is an answer that says:




        The answer should be



        xdg-open program_name.desktop



        But due to a bug this no longer works.




        But the answer goes to 2010, and it seems that the bug is fixed. I set the shortcut by:



        xdg-open start-tor-browser.desktop





        share|improve this answer


























          1












          1








          1







          I figured it out, thanks to the link attached by @Patient32Bit . There is an answer that says:




          The answer should be



          xdg-open program_name.desktop



          But due to a bug this no longer works.




          But the answer goes to 2010, and it seems that the bug is fixed. I set the shortcut by:



          xdg-open start-tor-browser.desktop





          share|improve this answer













          I figured it out, thanks to the link attached by @Patient32Bit . There is an answer that says:




          The answer should be



          xdg-open program_name.desktop



          But due to a bug this no longer works.




          But the answer goes to 2010, and it seems that the bug is fixed. I set the shortcut by:



          xdg-open start-tor-browser.desktop






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 11 at 12:46









          Codito ergo sumCodito ergo sum

          1,4602725




          1,4602725























              0














              Most correct way is to edit .desktop file. Open it with text editor, and change path to tor to correct one. Then everything should work fine, including keyboard shortcut.



              As I remember in tor bundle is relative path, so you can unpack it and run. Fix it.






              share|improve this answer




























                0














                Most correct way is to edit .desktop file. Open it with text editor, and change path to tor to correct one. Then everything should work fine, including keyboard shortcut.



                As I remember in tor bundle is relative path, so you can unpack it and run. Fix it.






                share|improve this answer


























                  0












                  0








                  0







                  Most correct way is to edit .desktop file. Open it with text editor, and change path to tor to correct one. Then everything should work fine, including keyboard shortcut.



                  As I remember in tor bundle is relative path, so you can unpack it and run. Fix it.






                  share|improve this answer













                  Most correct way is to edit .desktop file. Open it with text editor, and change path to tor to correct one. Then everything should work fine, including keyboard shortcut.



                  As I remember in tor bundle is relative path, so you can unpack it and run. Fix it.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 11 at 13:07









                  LeonidMewLeonidMew

                  459316




                  459316






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1108767%2fproblem-setting-shortcut-for-tor-browser%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

                      is 'sed' thread safe

                      How to make a Squid Proxy server?