LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-22-2010, 08:21 AM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Rep: Reputation: 115Reputation: 115
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.
 
Old 07-22-2010, 09:08 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,908

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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
 
Old 07-22-2010, 09:16 AM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Original Poster
Rep: Reputation: 115Reputation: 115
By "binary" you mean the libflashplayer.so file itself?

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

Last edited by Skaperen; 07-22-2010 at 09:23 AM. Reason: update
 
Old 07-22-2010, 09:22 AM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
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.
 
Old 07-22-2010, 09:37 AM   #5
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Original Poster
Rep: Reputation: 115Reputation: 115
Firefox still says I need to upgrade Flash. This is for a Youtube video.
 
Old 07-22-2010, 09:38 AM   #6
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Original Poster
Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by craigevil View Post
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?
 
Old 07-22-2010, 09:51 AM   #7
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,908

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
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
 
Old 07-22-2010, 02:27 PM   #8
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Original Poster
Rep: Reputation: 115Reputation: 115
Those details look like installing it system-wide. Anyone know how to do the nspluginwrapper thing specific to one user only?
 
Old 07-22-2010, 03:46 PM   #9
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,908

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

Last edited by bathory; 07-22-2010 at 04:08 PM. Reason: typos
 
Old 07-23-2010, 11:41 AM   #10
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Original Poster
Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by bathory View Post
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"?
 
Old 07-23-2010, 01:25 PM   #11
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Original Poster
Rep: Reputation: 115Reputation: 115
N/M the previous post. I tried it with just the first 2 commands, and that works! Thanks!
 
  


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 flash in Seamonkey-- Already installed on firefox mohitdaksh Linux - Software 6 01-10-2010 02:59 PM
Installing Flash in KDE 3.4.2 for Firefox louisofengland Linux - Newbie 8 12-29-2009 12:53 PM
flash in Firefox on Kubuntu not working for 2nd user esteeven Linux - Software 6 03-05-2007 04:35 PM
Firefox won't load after installing Flash Linus VanPelt Linux - Software 4 02-04-2005 09:36 PM
help with Installing flash shockware on firefox amer_58 Linux - Software 3 06-17-2004 08:37 AM


All times are GMT -5. The time now is 09:09 AM.

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