Find the answer to your Linux question:
Results 1 to 9 of 9
dumb question time.... I installed firefox in: /home/jut/Desktop/Downloads/firefox how do I create a link to it on the desktop? thank you....
  1. #1
    jut
    jut is offline
    Just Joined!
    Join Date
    Apr 2007
    Posts
    10

    how to create link on desktop

    dumb question time....

    I installed firefox in:

    /home/jut/Desktop/Downloads/firefox

    how do I create a link to it on the desktop? thank you.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Right click on Desktop and select Create Launcher. Type /home/jut/Desktop/Downloads/firefox in Command Box. Assign Icon from List.
    OR
    Execute this
    Code:
    ln -sf  /home/jut/Desktop/Downloads/firefox ~/Desktop/FireFox
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    jut
    jut is offline
    Just Joined!
    Join Date
    Apr 2007
    Posts
    10
    Unfortunately , that doesn't work.

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    The command for your desktop shortcut/launcher should be /home/jut/Desktop/Downloads/firefox/firefox. If you are using KDE, you would right click on an empty space on the desktop -> create new -> link to application. In the "application tab" enter the command /home/jut/Desktop/Downloads/firefox/firefox as the command to run firefox. You can also edit the name of the link and choose an icon. If using GNOME, the process is more or less the same.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I missed an extra firefox word.
    Code:
    ln -sf  /home/jut/Desktop/Downloads/firefox/firefox ~/Desktop/FireFox
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    jut
    jut is offline
    Just Joined!
    Join Date
    Apr 2007
    Posts
    10
    I got the process of creating a link down pat, but this appears to be the problem.... I can't execute firefox unless the pwd is actually in the firefox folder:

    Code:
    jut@jut:~/Desktop/Downloads/firefox$ cd ~
    jut@jut:~$ pwd
    /home/jut
    jut@jut:~$ /home/jut/Desktop/Downloads/firefox/firefox
    /home/jut/Desktop/Downloads/firefox/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directoryjut@jut:~$ cd /home/jut/Desktop/Downloads/firefox
    jut@jut:~/Desktop/Downloads/firefox$ firefox

    ... and does anyone know why firefox is called "ice weasel" ?

    thanks guys

  7. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    You need to install libstdc++5 in order for Firefox to work.
    Code:
    #aptitude upadate
    #aptitude install libstdc++5
    Once thats installed you should be able to run Firefox from the Fireofx working directory and any links or launchers you created.

  8. #8
    jut
    jut is offline
    Just Joined!
    Join Date
    Apr 2007
    Posts
    10
    Firefox works just fine. The program is able to run, it's just that I have to run firefox within the firefox directory... which is weird, I should beable to run it no matter what my present working directory is.

  9. #9
    jut
    jut is offline
    Just Joined!
    Join Date
    Apr 2007
    Posts
    10

    that worked

    Quote Originally Posted by daark.child View Post
    You need to install libstdc++5 in order for Firefox to work.
    Code:
    #aptitude upadate
    #aptitude install libstdc++5
    Once thats installed you should be able to run Firefox from the Fireofx working directory and any links or launchers you created.
    Thanks, that did the trick... it works now.

    Help me understand, why did I need that package to run firefox from outside it's directory (ie, I had to have my PWD as /home/jut/Desktop/Download/firefox or else I could not run firefox). So if I was in the firefox directory, firefox would run correctly. Before I installed that package, firefox would run correctly. Now, after installing that package, I can run firefox no matter my PWD. And now I can run firefox using a link on that desktop too.

    Thanks for the help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •