Instead of displaying pdf files in Red Hat Linux, the SWT browser opens a save prompt. Is there any way to handle this?
NickName:Knight of the Vale Ask DateTime:2019-02-26T17:37:11

Instead of displaying pdf files in Red Hat Linux, the SWT browser opens a save prompt. Is there any way to handle this?

My application is based on eclipse 4.4.2 and has a preview pdf functionality which opens pdf files in a SWT browser. The pdf files open just fine in Windows in the SWT browser but in linux the save prompt opens instead which defeats the whole purpose of that particular functionality. Any suggestions are welcome.

Copyright Notice:Content Author:「Knight of the Vale」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/54882401/instead-of-displaying-pdf-files-in-red-hat-linux-the-swt-browser-opens-a-save-p

More about “Instead of displaying pdf files in Red Hat Linux, the SWT browser opens a save prompt. Is there any way to handle this?” related questions

Instead of displaying pdf files in Red Hat Linux, the SWT browser opens a save prompt. Is there any way to handle this?

My application is based on eclipse 4.4.2 and has a preview pdf functionality which opens pdf files in a SWT browser. The pdf files open just fine in Windows in the SWT browser but in linux the save

Show Detail

Java SWT Browser opens download dialog when viewing PDF on Linux

I have following code which works well on Windows: private void showSelectedPdf() { File selected = getSelectedPdf(); if(selected != null) { String path = selected.getAbsolutePath...

Show Detail

.htacess files are not visible in Red Hat Linux Server V6.1

.htacess files not visible in Red Hat Linux Server V6.1 Is there any option to make it visible. (Similar to "show hidden files" in windows) As I'm totally new to Linux any guidance/suggestions wi...

Show Detail

How can I open pdf files in SWT browser window while using XULRunner?

I am working on an eclipse based application wherein I need to preview pdf documents as part of a functionality. As of now clicking on preview button opens a prompt for saving the pdf but it does not

Show Detail

Git version built for Red Hat Linux

I have a Red Hat Linux server where I need to install Git. However, I can't use sudo or yum(I can only copy from my local machine). Therefore, I'm looking for a version of Git built for Red Hat L...

Show Detail

font indent and align and tab space for MS ttf different in Red Hat Linux

I am facing trouble with indent and align format of pdf generated in Red Hat Linux. I tested with Ubuntu 10.1; it is generating correct format. The font I am using is Trebuchet MS. I put the ttf ja...

Show Detail

swt browser diplays pdf in new window

I'm experiencing a strange issue with the SWT browser widget. I developed a multipage application using the "transition composite" widget from opal widgets. In my last window I need to display a p...

Show Detail

Using SASS on a Red Hat Linux box with PHP but not Ruby

I have been looking into SASS on and off for a while now. I think the benefits of such a system could be great, as it will allow the use of global variables and other such features. It will also a...

Show Detail

Red Hat Enterprise Linux 5 BAD EIP Error

I have installed red hat enterpirse linux 5 but after finishing installation i got kernel panic error with BAD EIP error and I also found that there are no files in /sys and /proc directories.can a...

Show Detail

How to convert accessdb files to csv on python in red hat enterprise linux?

How to convert access dB files to csv on python in red hat enterprise linux? Pyodbc is not working. Which alternative can be used in this case?

Show Detail