LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-30-2014, 09:41 AM   #1
ayjazz
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Rep: Reputation: Disabled
Question 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?
 
Old 01-30-2014, 10:22 AM   #2
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,207

Rep: Reputation: 176Reputation: 176
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.
 
Old 01-30-2014, 10:55 AM   #3
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,950

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi ayjazz and welcome to LQ.

Quote:
Originally Posted by ayjazz View Post
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>

Last edited by Didier Spaier; 01-30-2014 at 11:08 AM.
 
Old 01-30-2014, 10:56 AM   #4
genss
Member
 
Registered: Nov 2013
Posts: 154

Rep: Reputation: Disabled
you can also edit the .desktop file (firefox.desktop i think) in /usr/share/applications/
that should work
 
Old 01-30-2014, 06:52 PM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 12,597

Rep: Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677Reputation: 1677
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
 
Old 01-30-2014, 07:54 PM   #6
genss
Member
 
Registered: Nov 2013
Posts: 154

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing firefox version 16.0.1 mutetikasikali Linux - Newbie 1 10-16-2012 06:51 PM
installing firefox version 16.0.1 mutetikasikali Linux - Software 3 10-16-2012 09:24 AM
Problems with adding Belgium eID PKCS#11 module in Firefox colinetsegers Linux - Newbie 0 07-24-2011 08:18 AM
Installing new version Firefox meltonpie Linux - Software 3 02-02-2010 05:06 PM
installing older version of gcc and and adding path variables jaind Linux - Desktop 3 11-26-2006 06:18 AM


All times are GMT -5. The time now is 04:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration