This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Nov 7, 2014, 3:41 PM
2 Posts

Default viewer for PDF documents on Linux

  • Category: Notes Client
  • Platform: Linux
  • Release: 9.0.1
  • Role:
  • Tags:
  • Replies: 1

I am experiencing a strange problem with Notes 9.0.1 FP2 on openSUSE Linux 13.2

 

Whenever I try to open a PDF file attachment, my Notes client will launch Gimp, which is the default image editing application. All other applications seem to pick up on my OS setting to use Okular as my PDF reader.

Is there a way to change it for the Notes client as well?

 

Thanks
 

May 26, 2016, 11:54 AM
5 Posts
Default viewer for PDF documents on Linux

It is related to the default settings of the operating system rather than those of Notes.
I had the same problem With Fedora 22 and IBM Notes 9.0.1FP5.

If you want to use Okular as default program then you only need to run the following commands:

ln -s /usr/share/applications/kde4/okularApplication_pdf.desktop ~/.local/share/applications

xdg-mime default /usr/share/applications/kde4/okularApplication_pdf.desktop application/pdf

You can create a symbolic link in ~/.local/share/applications for every application you want to use as default for the specified Mime type. As you can see the .desktop file for Okular contains:

application/pdf;application/x-gzpdf;application/x-bzpdf;application/x-wwf;

You can also test it using xdg-open. For example:

xdg-open ~/Documents/MyDoc.pdf


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal