Linux – Portable Firefox Linux

adobe-flashfirefoxlinux

I've installed latest firefox linux-x86_64 from ftp.mozilla.com on a usb device and created a new profile file with the -P command. Unfortunately, the application does not recognize the flash plugin that is already installed on the operating system.

How can I enable the flash plugin on the portable version?

enter image description here

Best Answer

How to Use Mozilla Firefox, Portable with flash plugin

Make your portable for Linux (all versions):

  1. Download the latest release of Firefox and unpack it on your usb device: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/

  2. Go to unpack_directory/firefox/browser/plugins ( 22+).

  3. Add a short link to your installed flash-plugin binary (libflasplayer.so). It's usually in /usr/lib64/flash-plugin/.

Optionally: Download the UNIX version of the flash-plugin binary from adobe.com and copy it from the archive. Please remember: the flash-plugin is a binary file, no compilation process is needed!


1. Copy the firefox directory to your portable device


2. Create a simple shortcut:

Here's my startup.sh that I have placed on my usb device ($PWD is the current directory (example: USB_DEVICE/firefox_x64).

#!/bin/sh
"$PWD/firefox_x64/firefox" -no-remote -profile
"$PWD/../.mozilla/firefox/YOUR_PROFILE_ID"

3. Run firefox with command line to create a new profile:

You can create a new profile with the -P command as shown below. I've created my profile inside USB_DEVICE/.mozilla/firefox. You can set this path later. This is Mozilla's default folder skeletton for application settings (like seamonkey, thunderbird or B2G). To create a new profile run:

[user@home]# cd /USB_DEVICE/firefox_x64
[user@home firefox_x64]# ./firefox -no-remote -P

Mozilla Firefox Profile Manager (-P)


FAQ: How to use the new USB profile with :

For Windows just use the Portable Firefox from portableapps.com and run the same commands (step no. 3, simply add the -profile command to the executable .exe).

Related Question