LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Installing Flash into Firefox for exactly one user only (https://www.linuxquestions.org/questions/linux-desktop-74/installing-flash-into-firefox-for-exactly-one-user-only-821489/)

Skaperen 07-22-2010 08:21 AM

Installing Flash into Firefox for exactly one user only
 
I would like to install Flash (currently is not installed) strictly for one user only. Anyone know the steps and/or where the plug-in should be placed so only that one user can access it? Shell commands to do this are fine (and in fact, preferred). I did try to just let the plug-in install itself through Firefox while logged in to that one user, but it asked for the admin password so I cancelled at that point, suspecting it would do a global install. Googling for this only found posts regarding that commercial OS.

Ubuntu 9.10 x86_64, Firefox 3.5.9.

bathory 07-22-2010 09:08 AM

Hi,

You can download the binary from adobe.com and copy libflashplayer.so in ~/.mozilla/plugins (if the directory plugins doesn't exist, you have to create it)

Regards

Skaperen 07-22-2010 09:16 AM

By "binary" you mean the libflashplayer.so file itself?

N/M ... that file is all there is inside the tar.gz file for download.

craigevil 07-22-2010 09:22 AM

x86_64 you are out of luck, Adobe put amd64 flash development on hold.

You either need to use the 32bit flash with nspluginwrapper or a 32bit browser with 32bit flash in a chroot.

Skaperen 07-22-2010 09:37 AM

Firefox still says I need to upgrade Flash. This is for a Youtube video.

Skaperen 07-22-2010 09:38 AM

Quote:

Originally Posted by craigevil (Post 4041903)
x86_64 you are out of luck, Adobe put amd64 flash development on hold.

You either need to use the 32bit flash with nspluginwrapper or a 32bit browser with 32bit flash in a chroot.

Is this why it won't load? Do you know how to set that up for one user only?

bathory 07-22-2010 09:51 AM

Unfortunately adobe has stopped for the moment the development of 64 bit flash plugin. You can use the 32 bit plugin (the one you've downloaded) with nspluginwrapper
Take a look here for details

Regards

Skaperen 07-22-2010 02:27 PM

Those details look like installing it system-wide. Anyone know how to do the nspluginwrapper thing specific to one user only?

bathory 07-22-2010 03:46 PM

You install nspluginwrapper system-wide and use it to install the flash plugin that resides in the user ~/.mozilla/plugins directory

Skaperen 07-23-2010 11:41 AM

Quote:

Originally Posted by bathory (Post 4042321)
You install nspluginwrapper system-wide and use it to install the flash plugin that resides in the user ~/.mozilla/plugins directory

The linked directions in a previous post had:
Code:

sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/

I can translate the first 2 of those to:
Code:

sudo nspluginwrapper -i /home/flashy/.mozilla/plugins/libflashplayer.so
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /home/flashy/.mozilla/plugins/

How would I translate the 3rd command? E.g. what is the relevant path? There is no subdirectory named "firefox-addons" and in the subdirectory "firefox" there is no subdirectory named "plugins". Do I need these at all? Do I need to create "/home/flashy/.mozilla/firefox-addons/plugins" or "/home/flashy/.mozilla/firefox/plugins"?

Skaperen 07-23-2010 01:25 PM

N/M the previous post. I tried it with just the first 2 commands, and that works! Thanks!


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