Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 14:34
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Google Chrome and latest version of flash player
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
stowpirate


Joined: 18 Mar 2007
Posts: 63

PostPosted: Sun 05 May 2013, 02:50    Post_subject:  Google Chrome and latest version of flash player  

Just located the plugin for flash on the working Chrome v24, it getting complicated as it appears you cannot just copy the files over into the firefox/mozilla plugin directory. Flash is now on v11.7... and chrome v26 on my system will not let me run it as root so won't work in Puppy.

/opt/google/chrome/PepperFlash

and files involved are

libpepflashplayer.so
manifest.json

{
"description": "Pepper Flash Player",
"name": "Flapper",
"version": "11.5.31.137",
"x-flapper-revision": "1150867",
"x-ppapi-arch": "ia32",
"x-ppapi-os": "linux",
"x-ppapi-required-interfaces": [
"PPB_AudioConfig;1.1|PPB_AudioConfig;1.0",
"PPB_AudioInput(Dev);0.3|PPB_AudioInput(Dev);0.2",
"PPB_Audio;1.0",
"PPB_BrowserFont_Trusted;1.0",
"PPB_Buffer(Dev);0.4",
"PPB_CharSet(Dev);0.4",
"PPB_Core;1.0",
"PPB_Crypto(Dev);0.1",
"PPB_CursorControl(Dev);0.4",
"PPB_FileChooser(Dev);0.6|PPB_FileChooser(Dev);0.5",
"PPB_FileChooserTrusted;0.6|PPB_FileChooserTrusted;0.5",
"PPB_FileRef;1.0",
"PPB_Flash_Clipboard;5.0|PPB_Flash_Clipboard;4.0",
"PPB_Flash_File_FileRef;2",
"PPB_Flash_File_ModuleLocal;3",
"PPB_Flash_FontFile;0.1|PPB_PDF;1",
"PPB_FlashFullscreen;1.0|PPB_FlashFullscreen;0.1",
"PPB_Flash;13.0|PPB_Flash;12.6|PPB_Flash;12.5|PPB_Flash;12.4",
"PPB_Flash_Menu;0.2",
"PPB_Graphics2D;1.0",
"PPB_Graphics3D;1.0",
"PPB_ImageData;1.0",
"PPB_IMEInputEvent(Dev);0.2|PPB_IMEInputEvent(Dev);0.1",
"PPB_InputEvent;1.0",
"PPB_Instance;1.0",
"PPB_Memory(Dev);0.1",
"PPB_NetAddress_Private;1.1|PPB_NetAddress_Private;1.0|PPB_NetAddress_Private;0.1",
"PPB_OpenGLES2ChromiumMapSub;1.0|PPB_OpenGLES2ChromiumMapSub(Dev);1.0|PPB_GLESChromiumTextureMapping(Dev);0.1",
"PPB_OpenGLES2;1.0",
"PPB_TCPSocket_Private;0.4|PPB_TCPSocket_Private;0.3",
"PPB_TextInput(Dev);0.2|PPB_TextInput(Dev);0.1",
"PPB_UDPSocket_Private;0.4|PPB_UDPSocket_Private;0.3",
"PPB_URLLoader;1.0",
"PPB_URLLoaderTrusted;0.3",
"PPB_URLRequestInfo;1.0",
"PPB_URLResponseInfo;1.0",
"PPB_URLUtil(Dev);0.6",
"PPB_Var;1.1|PPB_Var;1.0",
"PPB_VideoCapture(Dev);0.3|PPB_VideoCapture(Dev);0.2",
"PPB_View;1.0"
]
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Sun 05 May 2013, 04:50    Post_subject:  

Just checking: do you want help with something, or are you just describing your observations?

Yes, the newfangled "salt and pepper" plugin system is unique to Chrome (Google doing its bit for standardisation/compatibility/interoperability Smile ).
But you should be able to run Chrome as root if you really want. I've seen mention of a special command line option, and there is also a binary hack that you can do. I don't remember doing the binary hack for a while, so maybe I am using the command line option these days.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
stowpirate


Joined: 18 Mar 2007
Posts: 63

PostPosted: Sun 05 May 2013, 05:27    Post_subject:  

disciple wrote:
Just checking: do you want help with something, or are you just describing your observations?

Yes, the newfangled "salt and pepper" plugin system is unique to Chrome (Google doing its bit for standardisation/compatibility/interoperability Smile ).
But you should be able to run Chrome as root if you really want. I've seen mention of a special command line option, and there is also a binary hack that you can do. I don't remember doing the binary hack for a while, so maybe I am using the command line option these days.


Bit of both really. They are observations which some might find interesting. Also how do I run Chrome v26. as it refuses to run as root?

The one on this thread works albeit old version of flash

http://www.murga-linux.com/puppy/viewtopic.php?t=84155
Back to top
View user's profile Send_private_message 
666philb


Joined: 07 Feb 2010
Posts: 1776
Location: wales

PostPosted: Sun 05 May 2013, 06:54    Post_subject:  

What puppy are you using?
_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=93998
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send_private_message 
stowpirate


Joined: 18 Mar 2007
Posts: 63

PostPosted: Sun 05 May 2013, 08:16    Post_subject:  

666philb wrote:
What puppy are you using?


528
Back to top
View user's profile Send_private_message 
OscarTalks

Joined: 05 Feb 2012
Posts: 901
Location: London, England

PostPosted: Sun 05 May 2013, 08:26    Post_subject:  

I was taking a look at Google Chrome for the first time yesterday. I have version 26.0.1410.63 and was testing in Lucid Plus and Wheezy.

I don't have any trouble getting it to run as root because I just insert the --user-data-dir switch into the wrapper script along with the --allow-outdated-plugins switch.

The Pepper Flash plugin doesn't work properly though. Playback of Flash content is jerky and stuttery. It is a version of Flash (11.7.x.x) which is not supported in Linux so maybe not surprising. Chromium and Iron do not have this plugin and load the normal Flash Player from /usr/lib/mozilla/plugins if it is installed.

With Google Chrome, make sure you have a suitable Flash Player installed and then go to the plugins page via settings or chrome://plugins. Click on "+ details" on the right to expand the page and you will see that the 2 Flash Players are listed separately so you can disable the Pepper Flash one and use only the good one in /usr/lib/mozilla/plugins.

_________________
Oscar in England

Back to top
View user's profile Send_private_message 
stowpirate


Joined: 18 Mar 2007
Posts: 63

PostPosted: Sun 05 May 2013, 08:50    Post_subject:  

OscarTalks wrote:
I was taking a look at Google Chrome for the first time yesterday. I have version 26.0.1410.63 and was testing in Lucid Plus and Wheezy.

I don't have any trouble getting it to run as root because I just insert the --user-data-dir switch into the wrapper script along with the --allow-outdated-plugins switch.

The Pepper Flash plugin doesn't work properly though. Playback of Flash content is jerky and stuttery. It is a version of Flash (11.7.x.x) which is not supported in Linux so maybe not surprising. Chromium and Iron do not have this plugin and load the normal Flash Player from /usr/lib/mozilla/plugins if it is installed.

With Google Chrome, make sure you have a suitable Flash Player installed and then go to the plugins page via settings or chrome://plugins. Click on "+ details" on the right to expand the page and you will see that the 2 Flash Players are listed separately so you can disable the Pepper Flash one and use only the good one in /usr/lib/mozilla/plugins.


Can you give the info about the Pepper Plugin in a tad more simple English as I do not fully understand:

--user-data-dir
--allow-outdated-plugins switch
Back to top
View user's profile Send_private_message 
OscarTalks

Joined: 05 Feb 2012
Posts: 901
Location: London, England

PostPosted: Sun 05 May 2013, 10:51    Post_subject:  

Assuming you are launching Google Chrome via the script /opt/google/chrome/google-chrome open that file as text and look for the bottom line. Mine reads:-

Code:
exec -a "$0" "$HERE/chrome" "$@"


Add those two items --user-data-dir and --allow-outdated-plugins to that line before the "$@" (with spaces) so it looks like this:-

Code:
exec -a "$0" "$HERE/chrome" --user-data-dir --allow-outdated-plugins "$@"


Be sure to have a carriage return at the end so you have started a new blank line below. Save and close.

(Note: You can specify another location with --user-data-dir=/root/some/other/directory but just --user-data-dir on its own allows Google Chrome to run as root and uses the default location of /root/.config/chromium for the user profile data. Inserting --allow-outdated-plugins prevents the browser from complaining if, out of choice or neccessity, we are using an older version of Flash Player.)

As for Pepper Flash, what I am saying is that I think we can't use it. If the Puppy you are running doesn't have a Flash Player installed then use GetFlash or install a .PET ( http://www.murga-linux.com/puppy/viewtopic.php?t=84267 ) and then use the plugins settings to disable Pepper Flash and make sure the browser only loads and uses the one that works.

I am no expert, so anyone with more experience or other ideas is welcome to chime in.

_________________
Oscar in England

Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Sun 05 May 2013, 15:47    Post_subject:  

OscarTalks wrote:
The Pepper Flash plugin doesn't work properly though. Playback of Flash content is jerky and stuttery. It is a version of Flash (11.7.x.x) which is not supported in Linux so maybe not surprising.

If it was truly not supported then you wouldn't have it at all.
Perhaps it is supported by Google instead of Adobe.
Re the jerkiness, it would be interesting to run top and see if the pepper plugin is maxing out your cpu and the old plugin isn't.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
OscarTalks

Joined: 05 Feb 2012
Posts: 901
Location: London, England

PostPosted: Sun 12 May 2013, 10:51    Post_subject:  

A bit of an update on this. Having seen some information in the Dpup Wheezy thread I have added --audio-buffer-size=2048 to the script and now YouTube and other Flash content is playing perfectly with the pepperflash plugin. I'm using Google Chrome 26.0.1410.63 in Wheezy with no other Flash Player installed.

Uploaded in case people want to test and report:-

Google Chrome 26.0.1410.63 .sfs
download = http://www1.datafilehost.com/d/624e595e
md5sum = 29405b9ebda5c93dd8c87cce3bd854a5

Google Chrome 26.0.1410.63 .pet
download = http://www1.datafilehost.com/d/8cc84e15
md5sum = 004f35cacb52220974bba14693d7f7ae

_________________
Oscar in England

Back to top
View user's profile Send_private_message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 12 May 2013, 11:38    Post_subject:  

Here is generic google-chrome fixator.

Download google-chrome .deb. Install it. Then install this pet. It has the bbe binary editor included with pinstall.sh script. Together they fix the installed google-chrome otherwise so that run-as-root restriction has been removed and also the audio problem will be fixed. There is cache limitation to 10 Mb.

Cheers.
google-chrome-fixator-0.0.1.pet
Description 
pet

 Download 
Filename  google-chrome-fixator-0.0.1.pet 
Filesize  14.16 KB 
Downloaded  513 Time(s) 
Back to top
View user's profile Send_private_message 
stowpirate


Joined: 18 Mar 2007
Posts: 63

PostPosted: Mon 27 May 2013, 03:00    Post_subject:  

pemasu wrote:
Here is generic google-chrome fixator.

Download google-chrome .deb. Install it. Then install this pet. It has the bbe binary editor included with pinstall.sh script. Together they fix the installed google-chrome otherwise so that run-as-root restriction has been removed and also the audio problem will be fixed. There is cache limitation to 10 Mb.

Cheers.


Thank you for the fixator, works as described Smile
Back to top
View user's profile Send_private_message 
trueriver

Joined: 07 Feb 2013
Posts: 30
Location: Manchester, England

PostPosted: Sat 08 Jun 2013, 13:50    Post_subject:  

OscarTalks wrote:
Assuming you are launching Google Chrome via the script /opt/google/chrome/google-chrome open that file as text and look for the bottom line. Mine reads:-

Code:
exec -a "$0" "$HERE/chrome" "$@"


Add those two items --user-data-dir and --allow-outdated-plugins to that line before the "$@" ...


On chromium v 25.0.1364.160 the file to edit is called /usr/bin/chromium-browser and the line to edit looks like this

Code:
 exec $LIBDIR/$APPNAME $CHROMIUM_FLAGS  "$@"


but please note it is NOT the last line in the file, it is the line just before the last "else" line, a few lines up from the bottom.

Having found the correct line I edited it to look like this

Code:
exec $LIBDIR/$APPNAME $CHROMIUM_FLAGS  --user-data-dir "$@"


and as soon as I saved, it instantly worked Smile

I am not needing the other flag as I am not using flash nor any other "outdated" flag, but I imagine that will work too if you also include the --allow-outdated-plugins switch as Oscar suggests.

hope this helps somebody
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0917s ][ Queries: 12 (0.0041s) ][ GZIP on ]