I prefer the symbolic link because when Chrome updates the plugin, Chromium automatically gets the updated version. If you don't like that or if you don't install Chrome, just copy the libpdf.so file into Chromium. Go to chrome://plugins/ to enable the plugin or to see if Chromium actually finds it.
Hello all, just wondering if someone could help me out here. I have just installed Chromium browser version 20.0.1132.47. As it does not have a pdf viewer, I decided to do what I have done before and copy the libpdf.so file from /opt/google/chrome to /usr/lib/chromium-browser. This has worked for me in the past, but now all I am getting is the 'Aw Snap' message that the plugin is not working. I have tried it with the libpdf.so files from google-chrome-stable (23.0.1271.64), google-chrome-beta (24.0.1312.14) and google-chrome-unstable (25.0.1323.1) but to no avail. Also, the reason why I'd like to use Chromium instead of Chrome is because Channel 4 On-Demand is working in Chromium and not in Chrome; so incidentally, if anyone knows how to solve that as well, then please let me know.
There are various odds and sods in Google Chrome which are exempt from inclusion in the fully open-source development version Chromium.
Integrated Flash is one and Chrome’s new native PDF reader is another.
The reasons for this are, as Linux users you can probably guess, down to licensing issues.
If you desperately want to use it there is, what we like to call, a hack around, courtesy of an awesome dude going by the moniker of f.Zweig*
How to use Google Chrome’s Native PDF reader in Chromium
1. Download the latest Google Chrome dev build (yes Google Chrome) choosing to save it.
2. Having saved the correct package above proceed to right click > extract
3. Enter the extracted folder and proceed to right click > Extract the ‘data.tar.gz’
4. Navigate to data/opt/google/chrome and locate ‘libpdf.so’
5. Copy the above file to /usr/lib/chromium-browser/ (You may need to run a root nautilus window for this. Press ALT+F2 and type ‘gksu nautilus /usr/lib/chromium-browser/’ minus the apostrophes.)
6. Start Chromium and type ‘about:plugins’ into the address bar
7. Search for”Chrome PDF Viewer (2 files)” and click the ‘Enable’ option.
Updated MethodIf the above method looks a little complicated then don’t worry – there’s a quicker way to get up and running. First follow step 1 but install Google Chrome rather than extract it. Then run the following command (assuming you also have Chromium installed) in a new Terminal window:
Finally, open Chromium and follow steps 6 & 7 to enable the PDF reader.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |