SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am curious I was going through the other plugins and then I find that in KDE parts plugin there is also a reference to pdf extensions. Is this not generating any kind of clash?
When I first installed SuSE, I had the plugin working, then a couple days ago my wife called to ask why she couldn't open a pdf. Her default setting was to have the pdf open in Reader, outside the browser.
When I sat down to troubleshoot, I found that the plugin wasn't working on my account. I scoured the web, but was unable to find anything helpful (even trying to re-install the plugin multiple times). I did manage to get an error message if I tried opening a file locally, something about Acrobat not being in the PATH.
Checking my system logs, it showed SUBDOMAIN (aka AppArmor) was preventing execute access to acroread for firefox.
The solution was to use the yast wizards and give execute permission to the ruleset for firefox to acroread. This immediately solved my problem.
To me it appears that there is a clash between KDE parts and Adobe pdf. They both have pdf under the plugins. I quick fix, prior to the mention of this script, I simply went into edit, preferences, downloads, plugins and unchecked the Adobe PDF. It basically forced me to choose to open it, but not inside a browser. It's nice because it opens it in a larger and separate window.
I used a Firefox extension "PDF download" to give me better control over pdf files. Note that Firefox often leaves an unused blank tab or window when downloading. Extension "Disable Targets for Downloads" provides a solution for file associations you configure it for.
None of the above worked for me, I used Konqueror's Configure, Plugins, Netscape plugins section to show me where all of the plugin folders were on my system, and copied nppdf.so to each location.
Last edited by BinFarteen; 02-21-2006 at 11:57 AM.
Password:
linux:/usr/X11R6/lib/Acrobat7/Browser # install_browser_plugin
bash: install_browser_plugin: command not found
linux:/usr/X11R6/lib/Acrobat7/Browser # ./install_browser_plugin
This will install the browser plugin for acroread.
Enter the install directory for Adobe Reader 7.0 [/usr/X11R6/lib/Acrobat7]
1. Perform global installation
2. Perform user-specific installation (Mozilla/Firefox/Netscape)
Enter your choice [1/2] 1
Enter the browser install directory - /opt/MozillaFirefox
Could not find the browser plugins folder /opt/MozillaFirefox/plugins
Do you want to install another browser ? [y/n] n
linux:/usr/X11R6/lib/Acrobat7/Browser #
linux:/usr/X11R6/lib/Acrobat7/Browser # ./install_browser_plugin
This will install the browser plugin for acroread.
Enter the install directory for Adobe Reader 7.0 [/usr/X11R6/lib/Acrobat7]
1. Perform global installation
2. Perform user-specific installation (Mozilla/Firefox/Netscape)
Enter your choice [1/2] 1
Enter the browser install directory - /usr/lib/firefox/plugins
Could not find the browser plugins folder /usr/lib/firefox/plugins/plugins
Do you want to install another browser ? [y/n] n
linux:/usr/X11R6/lib/Acrobat7/Browser #
I have the same issue. I am convinced it has something to do with the KDE parts thing in about: plugins. I have not been able to find anyone else with this issue - it seems to be an issue after upgrading from 1.0.7 to 1.5.0.1. This is running on KDE 3.5.1. Interestingly enough, the upgrade to 1.5 fixed my problems with Flash - go figure.
After doing research for about an hour I figured out the problem.
Problem: cannot open pdf in Firefox. When FF opened in console, you receive:
NPP_SetWindow
original_x_errhandler: (nil)
NPP_SetWindow
Cause:
KDE 3.5 installed w/ Firefox 1.5.01 installed with Acroread 7.01 installed.
Root cause: nppdf.so is not updated to work w/ Firefox 1.5.01.
Solution:
Install Acroread 7.05 RPM (used in Suse 10.1 Beta) and since 10.1 beta uses FF 1.5 the newer version of nppdf.so is installed in /usr/X11R6/lib/Acrobat7/Browser/intellilinux/nppdf.so
FF should pick up this plugin w/o you having to have it in your .mozilla folder or /opt/MozillaFirefox folder.
Great thread very informative. Got Mozilla to open PDFs based on your directions, but I primarily use Firefox. I used: /opt/MozillaFirefox/lib/plug for my plugin and tried opt/Firefox/lib/plugin with no luck. Any suggestions?
I had some trouble with this as well and solved it by installing the plugin to ~/.mozilla/plugins and then adding this path in KDE Control Center -> Internet & Network -> Web Browser -> Plugins -> Netscape Plugins. After this was done I hit "Scan for New Plugins" and it worked.
P.S.: Sorry if this was suggested previously, I didn't read the whole thread.
May be stupid question but where is the ~ as in ~/.firefox. I can't find that sign, and it apparently is necessary because I couldn't get the command line to execute
~ stands for your home directory /home/{user-name} which is where the hidden directories that start with period are. In my SuSE system there is no ~/.firefox directory, ~/.mozilla/firefox is used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.