LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing new version of Firefox problems- adding a runnable icon (http://www.linuxquestions.org/questions/slackware-14/installing-new-version-of-firefox-problems-adding-a-runnable-icon-4175493135/)

ayjazz 01-30-2014 10:41 AM

Installing new version of Firefox problems- adding a runnable icon
 
Slackware newbie here. Today, I removed the built in version of Firefox that came with Slack, and replaced it with the latest version from Mozilla.

I did this by removing the firefox folders from usr/lib/ and replacing it with the one I downloaded.

This is all well and good, but I don't understand how to add a Firefox icon to my panel, or anything like that. The old icon points to the original Firefox, so now I to go into usr/lib and run the Firefox executable to get it to run.

How do I add an icon so I can boot it from the KDE "Start Menu" ( I don't know for sure what it is called), and also, make Firefox runnable from the terminal?

cwizardone 01-30-2014 11:22 AM

You might want to start here,

http://docs.slackware.com/start


You should remove packages for Slackware with the removepkg command, as root, of course.

To change a icon... I'm not in KDE, but IIRC, right click on the start button, the K in the lower left hand corner. Pick edit programs (something like that).
Find the one you want and edit its properties. Again, IIRC, you right click on
the box for the icon and then browse around until you find the icon you want. The system will first show you some default icons, but if what you want is not among them, then you can browse to where the icon you want is stored on the hard drive.

Didier Spaier 01-30-2014 11:55 AM

Hi ayjazz and welcome to LQ.

Quote:

Originally Posted by ayjazz (Post 5108086)
I did this by removing the firefox folders from usr/lib/ and replacing it with the one I downloaded.

As already pointed by cwizardone please use the Slackware tools to manage packages, else you'll soon mess up your system.

If you want the latest firefox there is an easy way.

Download and run as root the script latest-firefox provided by RuarÝ ědegaard. This will make a Slackware pacakage that you can then easily install:
Code:

upgradepkg --install-new --reinstall <package name>

genss 01-30-2014 11:56 AM

you can also edit the .desktop file (firefox.desktop i think) in /usr/share/applications/
that should work

John VV 01-30-2014 07:52 PM

the .desktop file is all fine and dandy
but
depending on just HOW and where one installs the ff26 tarball
that folder" firefox" will need to be added to the system $PATH
and that folder will also need to be added to $LD_LIBRARY

or
that folder needs to be exported in a launcher script
like "run-mozilla.sh" that is included

but

using your package manager is the BEST option

genss 01-30-2014 08:54 PM

works fine started anyhow
i think mozzila made their own implementation of a loader
(not sure, anyway specific libraries are in the same folder as the executable)

i found the need for a properly installed firefox when compiling some packages (complaints about xul missing)
so ye, its good to have


All times are GMT -5. The time now is 06:10 PM.