How to Install JDownloader



A.  Download and Install JDownloader

        Open pi terminal & enter the following commands one by one.

            sudo mkdir ~/jdownloader2
            cd jdownloader2
            wget http://installer.jdownloader.org/JDownloader.jar

      The above steps helps you to make a directory for jdownloader2 and downloads the 
       JDownloader files.

B.  How to run JDownloader Manually.

          java -jar /home/pi/jdownloader2/JDownloader.jar

          /home/pi/jdownloader2/   is the directory path in which JDownloader jar file is downloaded.
        

C. How to Autostart JDownloader

       a. Type the following commands.
         
           nano /home/pi/jdownloader2/startjd2.sh

       b. A new window in the same terminal will be opened. Type these init.

           #!/bin/sh
           java -jar /home/pi/jdownloader2/JDownloader.jar

         Then write it out by pressing cntrl+o.
   
      c. Then we have to set the permissions.

          chmod 755 /home/pi/jdownloader2/startjd2.sh


      d.  Now edit the autostart file.

               nano ~/.configure/lxsession/LXDE/autostart



               ~/.configure/lxsession/LXDE/ is a path for the autostart file. In this file, which are the programs that should be started when raspberry pi is turned on/when pi is logined to lxde session. In some os, LXDE can be LXDE-pi, you should be check which is the folder that you have.

               And also some times autostart file will not be present there. If the file is not present we cannot do the next step. so you have to go to that location and create a file and rename it as autostart.

               And put these lines in that file.

              @/home/pi/jdownloader2/startjd2.sh

then Writeout   (ctrl+o) and confirm by entering 


      e. set pi to automatically login to Desktop session/ GUI

                   sudo raspi-config

                  select the 3rd option.
                Enable boot to Desktop/scratch


      f. if you want a desktop icon

               lxshortcut -o /home/pi/Desktop/JDownloader.desktop










1 comment: