Firefox - signed pdf download and open in browser

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
vamp
White ninja
White ninja
Posts: 4
Joined: 09 Mar 2020, 08:17
Distribution: 5.0

Firefox - signed pdf download and open in browser

Post#1 by vamp » 10 Mar 2020, 16:40

Hello there,

We are use Porteus kiosk some place that need print signed pdf. two button avaliable print and download. But the printing is not work, because first need to download after open it. (the reason is the signing)

it possible any "run_command" thing that if i click to download it open it automatically a another tab?

I found a similar theme with chrome: Porteus Kiosk - download file

it working but some problem:

- major problem. It is sensitive datas, not so good that download it and after the next people to use the Kiosk able to open or print the previous people pdf... (try session reset, 2 min, but sometime 4-5 people use the terminal one by one)

- In chrome, not possible to fully disable zooming. Old problem that some people "like" to re-set the zoom... The firefox is better, it possible to deny zoom fully.

vamp
White ninja
White ninja
Posts: 4
Joined: 09 Mar 2020, 08:17
Distribution: 5.0

Firefox - signed pdf download and open in browser

Post#2 by vamp » 11 Mar 2020, 10:44

I try this, but not working... Miss something? Possible that change a wrong file or error in this command?

Code: Select all

run_command=sed -i 's/user_pref("browser.safebrowsing.downloads.enabled", false);/user_pref("browser.safebrowsing.downloads.enabled", true);/g' /home/guest/.mozilla/firefox/c3pp43bg.default/prefs.js; sed -i 's/user_pref("browser.safebrowsing.downloads.remote.enabled", false);/user_pref("browser.safebrowsing.downloads.remote.enabled", true);/g' /home/guest/.mozilla/firefox/c3pp43bg.default/prefs.js
and possible to set the download folder in config?

Locked